CVE-2026-49862
NVD
Vulnerability Summary
Summary A crafted SPDP participant discovery message can crash any Fast-DDS participant by triggering a stack overflow in `IPLocator::isIPv4()`. The `PID_WIREPROTOCOL_CONFIG` parameter contains an `easy_mode` string field that is passed to `std::regex_match()` without length validation. A long string (~50KB) causes the libstdc++ regex DFS engine to recurse ~218,000 times, overflowing the stack. SPDP uses a StatelessReader, so no prior discovery or authentication is needed. A single UDP packet to multicast 239.255.0.1:7400 crashes the target Details When `ParticipantProxyData::read_from_cdr_message()` processes `PID_WIREPROTOCOL_CONFIG`, the deserialization calls `CDRMessage::read_string()` to read the `easy_mode` field from the CDR payload (`QosPoliciesSerializer.hpp:2431-2434`). This string is then passed to `WireProtocolConfigQos::easy_mode()` (`QosPolicies.hpp:2749`) which calls `IPLocator::isIPv4()`: ```cpp // IPLocator.cpp:41-42 static const std::regex IPv4_REGEX( "^(?:(?:0*25[0-5]|0*2[0-4][0-9]|0*[01]?[0-9][0-9]?)\\.){3}" "(?:0*25[0-5]|0*2[0-4][0-9]|0*[01]?[0-9][0-9]?)$"); // IPLocator.cpp:1315 bool IPLocator::isIPv4(const std::string& address) { return std::regex_match(address, IPv4_REGEX); } ``` The `0*` quantifiers in the regex, combined with alternation, cause catastrophic backtracking on long non-matching inputs. libstdc++ uses a recursive DFS-based regex engine, so a ~50KB string produces ~218,000 stack frames and crashes with SIGSEGV. There is no length check on the `easy_mode` string before it reaches `std::regex_match()`. PoC Byte 0 is a test harness selector (0x01 = ParticipantProxyData). Bytes 1+ are the PL_CDR payload passed to `read_from_cdr_message()`. Two crash inputs were found by AFL++ (both sig:11 SIGSEGV, same root cause): - `id:000000` β 54,538 bytes - `id:000001` β 52,946 bytes Both contain a `PID_WIREPROTOCOL_CONFIG` parameter with a long `easy_mode` string that triggers the regex stack overflow. Binary files can be provided upon request. GDB stack trace: ``` 218279 IPLocator::isIPv4() at IPLocator.cpp:1315 218280 QosPoliciesSerializer<WireProtocolConfigQos>::read_from_cdr_message() at QosPoliciesSerializer.hpp:80 218281 ParticipantProxyData::read_from_cdr_message() at ParticipantProxyData.cpp:912 218282 ParameterList::readParameterListfromCDRMsg() at ParameterList.hpp:142 ``` (Frames #0 through #218278 are recursive `std::__detail::_Executor::_M_dfs()` calls.) Impact A remote unauthenticated attacker can crash any DDS participant by sending a single crafted SPDP packet. SPDP traffic is unauthenticated and uses a StatelessReader, so no prior discovery handshake is needed.
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-49862. 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