CVEfocus › CVE database › CVE-2023-39946

CVE-2023-39946Heap overflow in push_back_helper due to a CDR message

CVSS 8.2 HighEPSS 1.1% (higher than 66% of CVEs)Published 2023-08-11Updated 2025-02-13Assigner: GitHub_M

eprosima Fast DDS is a C++ implementation of the Data Distribution Service standard of the Object Management Group. Prior to versions 2.11.1, 2.10.2, 2.9.2, and 2.6.6, heap can be overflowed by providing a PID_PROPERTY_LIST parameter that contains a CDR string with length larger than the size of actual content. In `eprosima::fastdds::dds::ParameterPropertyList_t::push_back_helper`, `memcpy` is called to first copy the octet'ized length and then to copy the data into `properties_.data`. At the second memcpy, both `data` and `size` can be controlled by anyone that sends the CDR string to the discovery multicast port. This can remotely crash any Fast-DDS process. Versions 2.11.1, 2.10.2, 2.9.2, and 2.6.6 contain a patch for this issue.

CWE-122

What to do

Fixed builds are available from Debian: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

2Fixed
1Fix pending
3Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04fastddsNot affected
vulnerable_code_not_present
Ubuntu 25.10fastddsNot affected
vulnerable_code_not_present
Ubuntu 24.04fastddsNot affected
vulnerable_code_not_present
Ubuntu 22.04fastddsFix pending2.5.0+ds-3ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2023-39946
Debian 13fastddsFixed2.10.1+ds-3DEBIAN-CVE-2023-39946
Debian 12fastddsFixed2.9.1+ds-1+deb12u1DEBIAN-CVE-2023-39946

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.