CVE-2026-49863
NVD
Vulnerability Summary
Summary Deserializing a malformed `TypeInformation` parameter inside a `DATA(w)` or `DATA(r)` announcement drives `deserialize<TypeIdentifierWithDependencies>` (`src/cpp/fastdds/xtypes/type_representation/dds_xtypes_typeobjectCdrAux.ipp:11510`) into many small allocations whose aggregate size is bounded only by the wire-attacker-controlled nested sequence counts. A 151-byte trigger consumes about 1.5 GB cumulatively before the receiver process is killed. `PID_TYPE_INFORMATION` (PID 0x0075) is announced on every `DATA(w)/(r)` from any peer with TypePropagation enabled, the default. Confirmed against `master @ 621f6d826`. Distinct from the four `QosPoliciesSerializer.hpp` OOMs (separate advisories): those are single-shot oversized `reserve` / `push_back` driven by one wire-controlled count; this is a tree of nested CDR sequences whose individual counts may each be small but whose product is not. The defensive guard belongs at the outer `TypeInformation` boundary, not at any individual `deserialize<...>` template. Details `QosPoliciesSerializer<TypeInformationParameter>::read_content_from_cdr_message` (`src/cpp/fastdds/core/policy/QosPoliciesSerializer.hpp:1242`) hands the wire payload to `Cdr::xcdr2_deserialize_type` which walks the auto-generated `deserialize<TypeInformation>` (`dds_xtypes_typeobjectCdrAux.ipp:11618`). `TypeInformation` contains a `TypeIdentifierWithDependencies` sequence; the per-sequence count is read straight from the wire and used to drive nested allocations (each entry contains another sequence of `TypeIdentifierWithSize`). No upper bound on cumulative allocation; the receiver only stops when malloc fails. ``` deserialize<TypeIdentifierWithDependencies> dds_xtypes_typeobjectCdrAux.ipp:11510 ↑ (lambda dispatch in TypeInformation deserialize) dds_xtypes_typeobjectCdrAux.ipp ↑ Cdr::xcdr2_deserialize_type Cdr.cpp:3300 ↑ deserialize<TypeInformation> dds_xtypes_typeobjectCdrAux.ipp:11618 ↑ QosPoliciesSerializer<TypeInformationParameter>::read_content_from_cdr_message QosPoliciesSerializer.hpp:1271 ↑ (lambda for PID_TYPE_INFORMATION) ReaderProxyData.cpp:1092 ↑ ReaderProxyData::read_from_cdr_message ReaderProxyData.cpp:1376 ``` Reach is the standard SEDP discovery path (UDP → `MessageReceiver::processCDRMsg` → DATA dispatch → `EDPBaseSUBListener::add_reader_from_change` → `ReaderProxyData::read_from_cdr_message` → this site). Same chain via `EDPBasePUBListener` for `DATA(w)`. EDPSimple default; SECURITY default off. The fix surface differs from the QoS-policy OOMs in the related advisories: a guard in `dds_xtypes_typeobjectCdrAux.ipp` would be regenerated away by Fast-DDS-Gen on each rebuild, so the durable place is the outer `QosPoliciesSerializer<TypeInformationParameter>` wrapper. Affected versions: `master @ 621f6d826` verified. `dds_xtypes_typeobjectCdrAux.ipp` and the `QosPoliciesSerializer<TypeInformationParameter>` wrapper are present in `v3.0.0` and `v2.14.0` with the same lack of an outer bound. PoC Trigger payload (151 bytes; sha256 `b42b441b09c777e5da95a21242aa55fb2f7273787c94ba08513fcf72cf6dcf83`): ``` 1f 3f 03 00 50 75 00 29 00 11 00 00 00 00 00 00 00 00 00 05 00 01 10 00 50 00 01 00 cf 00 00 00 00 1f 3f ff ff ff ff ff 03 00 50 75 00 29 00 11 00 00 00 00 00 00 00 00 00 00 00 01 10 00 50 00 08 01 00 cf 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 02 1a f6 f6 f6 00 11 00 00 1d 00 0c 0c 0c 0c 0c 0c 0c 00 00 03 00 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 77 00 fc ff ff ff 00 00 00 00 f6 f6 01 00 03 22 00 00 00 00 00 00 00 00 00 ``` Byte 0 (`0x1f`) is the per-driver selector (`% 3 == 1` → `ReaderProxyData` branch). The remaining 150 bytes reach `ReaderProxyData::read_from_cdr_message`. Reproduces in 1 input via a libFuzzer harness wrapping that function; driver source available on request. Note: F7 was originally found by running the harness as a campaign with local guards on the four QoS-path OOMs so the fuzzer could explore past them into `PID_TYPE_INFORMATION`. Without those local guards a campaign run reliably hits the QoS-path OOMs first. To reproduce on an unmodified build, run the trigger above directly via `-runs=1`, not as a campaign. 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 -malloc_limit_mb=200 /testcase ``` With `-malloc_limit_mb=200` libFuzzer trips on the largest single malloc inside the nested deserialization (~1.4 GiB on this trigger) and prints a usable stack. Without `-malloc_limit_mb`, the cumulative per-iteration RSS exceeds `-rss_limit_mb=1500` and libFuzzer reports `used: 1653Mb; limit: 1500Mb` with no frames, because no single allocation crosses the OOM threshold. ASan top frames against `master @ 621f6d826`, run today with `-malloc_limit_mb=200`: ``` ==1== ERROR: libFuzzer: out-of-memory (malloc(1476132864)) ... #23 Cdr::xcdr2_deserialize_type Cdr.cpp:3331:65 #24 Cdr::deserialize_type Cdr.cpp:2167:12 #25 deserialize<TypeIdentifierWithDependencies> dds_xtypes_typeobjectCdrAux.ipp:11510:9 #28 Cdr::operator>><TypeIdentifierWithDependencies> fastcdr/Cdr.h:365:13 #29 (lambda dispatch in TypeInformation deserialize) dds_xtypes_typeobjectCdrAux.ipp ``` Allocation pattern: a tree of nested CDR sequences inside `TypeInformation`, each `vector::push_back` per element of `TypeIdentifierWithDependencies`. The single 1.4 GB malloc that trips the detector is one of those reallocs near the top of the cumulative growth curve; the same trigger without `-malloc_limit_mb` consumes the full 1.5 GiB+ across many smaller reallocs. Impact Pre-auth single-message DoS on default Fast-DDS configuration. One 151-byte writer or reader announcement crashes any default-config peer. Suggested fix: bound the aggregate sequence-count budget inside `QosPoliciesSerializer<TypeInformationParameter>::read_content_from_cdr_message` (`QosPoliciesSerializer.hpp:1242`). Compute a payload-size ceiling as a small multiple of `parameter_length` (XCDR2 expansion factor, maybe 8x to be generous) and fail if cumulative allocation exceeds it. Cheap, local, doesn't depend on regenerated code surviving Fast-DDS-Gen.
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-49863. 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