# CVE-2026-22590: Memory corruption in Fast-DDS

> Attackers can trigger an out-of-bounds read in Fast-DDS Discovery Server to leak heap memory, potentially aiding ASLR bypass.

- **Severity:** Critical 9.1 (`CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** No
- **Published:** 9 Sep 2026
- **Updated:** 9 Sep 2026
- **Also known as:** DEBIAN-CVE-2026-22590, GHSA-7r7h-hwfj-q626, UBUNTU-CVE-2026-22590

## What is CVE-2026-22590?

CVE-2026-22590 is a critical memory corruption vulnerability in eProsima Fast-DDS, published on 9 Sep 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

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

Weakness: CWE-131 (Incorrect Calculation of Buffer Size), CWE-125 (Out-of-bounds Read)

## Which versions are affected by CVE-2026-22590?


## How do I fix CVE-2026-22590?

No fix has been published for CVE-2026-22590 yet. Limit exposure of the affected software until one is available.

## Is CVE-2026-22590 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-22590 exists.

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2026-22590 and fix it if it is affected.

What it is: CVE-2026-22590 is a critical memory corruption vulnerability in eProsima Fast-DDS, published on 9 Sep 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Exploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-22590 exists.

Affected product: eProsima Fast-DDS. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2026-22590/ (Markdown: https://insights.sbomify.com/CVE-2026-22590/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2026-22590
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-22590
- OSV: https://osv.dev/vulnerability/CVE-2026-22590

---
From sbomify Insights: https://insights.sbomify.com/CVE-2026-22590/
Summaries are generated and may contain mistakes; the official description above is the record.
