CVE-2023-39946

Heap overflow in push_back_helper due to a CDR message

Description

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.

Categories

8.2
CVSS
Severity: High
CVSS 3.1 •
EPSS 0.09%
Third-Party Advisory github.com Third-Party Advisory github.com Third-Party Advisory debian.org
Affected: eProsima Fast-DDS
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2023-39946?
CVE-2023-39946 has been scored as a high severity vulnerability.
How to fix CVE-2023-39946?
To fix CVE-2023-39946, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2023-39946 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2023-39946 is being actively exploited. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2023-39946?
CVE-2023-39946 affects eProsima Fast-DDS.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.