# CVE-2026-22590: Fast-DDS Discovery Server: Out-of-Bounds Read & Heap Memory Disclosure via DATA_FRAG sampleSize / fragmentsInSubmessage

- Severity: Critical 9.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.31%, higher than 25% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-09-09T15:43:28.589Z
- Modified: 2026-09-09T20:16:54.383Z
- Weaknesses: CWE-125, CWE-131
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

eprosima Fast DDS is a C++ implementation of the DDS (Data Distribution Service) standard of the OMG (Object Management Group). Versions prior to 2.6.12, 2.14.6, 3.2.4, 3.3.1, and 3.4.2 have a remotely triggerable Out-of-Bounds Read while processing RTPS `DATA_FRAG` submessages. An attacker can craft a `DATA_FRAG` with a large `sampleSize` but a small actual payload, and set `fragmentsInSubmessage` such that the receiver treats the packet as the LAST fragment**. In this LAST-fragment path, Fast-DDS computes `incoming_length` based on `sampleSize` and calls `memcpy()` without validating `incoming_data.length >= incoming_length`. As a result, `CacheChange_t::add_fragments()` reads past the received UDP datagram buffer and into adjacent heap memory, copying those bytes into the reassembly buffer. In a Discovery Server deployment, the resulting `CacheChange_t` can be relayed to other participants, meaning that a newly joining participant may receive leaked heap memory (e.g., pointer values that could aid ASLR bypass). Versions 2.6.12, 2.14.6, 3.2.4, 3.3.1, and 3.4.2 fix the issue.

(As written by CVE List.)

## Affected

- eProsima Fast-DDS: < 2.6.12; >= 2.7.0, < 2.14.6; >= 3.0.0, < 3.2.4; >= 3.3.0, < 3.3.1; >= 3.4.0, < 3.4.2

## References

- <https://github.com/eProsima/Fast-DDS/security/advisories/GHSA-7r7h-hwfj-q626> (exploit)

## Sources

- CVE List: [CVE-2026-22590](https://www.cve.org/CVERecord?id=CVE-2026-22590), CVE Terms of Use, modified 2026-09-09
- NVD: [CVE-2026-22590](https://nvd.nist.gov/vuln/detail/CVE-2026-22590), Public domain, modified 2026-09-09

---

Page: https://cve.day/CVE-2026-22590 · Whole record: https://cve.day/CVE-2026-22590.json · Rebuilt by cve.day 2026-11-25T22:59:37.761Z
