CVE-2025-62603: FastDDS has Out-of-memory while parsing GenericMessage when DDS Security is enabled
Fast DDS is a C++ implementation of the DDS (Data Distribution Service) standard of the OMG (Object Management Group ). ParticipantGenericMessage is the DDS Security control-message container that carries not only the handshake but also on going security-control traffic after the handshake, such as crypto-token exchange, rekeying, re-authentication, and token delivery for newly appearing endpoints. On receive, the CDR parser is invoked first and deserializes the messagedata (i .e., the DataHolderSeq) via the readParticipantGenericMessage → readDataHolderSeq path. The DataHolderSeq is parsed sequentially: a sequence count (uint32), and for each DataHolder the classid string (e.g. DDS:Auth:PKI-DH:1.0+Req), string properties (a sequence of key/value pairs), and binary properties (a name plus an octet-vector). The parser operat es at a stateless level and does not know higher-layer state (for example, whether the handshake has already completed), s o it fully unfolds the structure before distinguishing legitimate from malformed traffic. Because RTPS permits duplicates, delays, and retransmissions, a receiver must perform at least minimal structural parsing to check identity and sequence n umbers before discarding or processing a message; the current implementation, however, does not "peek" only at a minimal header and instead parses the entire DataHolderSeq. As a result, prior to versions 3.4.1, 3.3.1, and 2.6.11, this parsi ng behavior can trigger an out-of-memory condition and remotely terminate the process. Versions 3.4.1, 3.3.1, and 2.6.11 p atch the issue.
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2025-62603?
CVE-2025-62603 has a medium severity due to potential out-of-memory issues when parsing messages with DDS Security enabled.
How do I fix CVE-2025-62603?
To fix CVE-2025-62603, update Fast DDS to version 3.4.2 or later.
Which versions are affected by CVE-2025-62603?
CVE-2025-62603 affects eProsima Fast DDS versions up to and including 3.4.1, 3.3.1, and 2.6.11.
What is the nature of the vulnerability in CVE-2025-62603?
CVE-2025-62603 is an out-of-memory vulnerability that occurs when handling GenericMessage in Fast DDS.
Are there any workarounds for CVE-2025-62603?
There are currently no official workarounds for CVE-2025-62603; the best course of action is to apply the latest updates.