CVE-2025-62602: FastDDS has heap buffer overflow in readData via Manipulated DATA Submessage when DDS Security is enabled
Fast DDS is a C++ implementation of the DDS (Data Distribution Service) standard of the OMG (Object Management Group ). Prior to versions 3.4.1, 3.3.1, and 2.6.11, when the security mode is enabled, modifying the DATA Submessage within an SPDP packet sent by a publisher causes a heap buffer overflow, resulting in remote termination of Fast-DDS. If the fields of PIDIDENTITYTOKEN or PIDPERMISSIONSTOKEN in the DATA Submessage are tampered with — specially readOctetVector reads an unchecked vecsize that is propagated unchanged into readData as the length parameter — the attacker-contro lled vecsize can trigger a 32-bit integer overflow during the length calculation. That overflow can cause large alloca tion attempt that quickly leads to OOM, enabling a remotely-triggerable denial-of-service and remote process termination. Versions 3.4.1, 3.3.1, and 2.6.11 patch the issue.
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2025-62602?
CVE-2025-62602 has a high severity level due to the potential for a heap buffer overflow that can be exploited.
How do I fix CVE-2025-62602?
To mitigate CVE-2025-62602, upgrade to Fast DDS versions 3.4.1, 3.3.1, or 2.6.11 and ensure DDS Security is properly configured.
What versions of Fast DDS are affected by CVE-2025-62602?
CVE-2025-62602 affects eProsima Fast DDS versions prior to 3.4.1, 3.3.1, and 2.6.11.
Does CVE-2025-62602 affect Debian packages?
Yes, CVE-2025-62602 affects Debian packages of Fast DDS, including versions up to 2.1.0+ds-9+deb11u1, 2.9.1+ds-1+deb12u2, 3.1.2+ds-1, and 3.3.0+ds-3.
What type of vulnerability is CVE-2025-62602?
CVE-2025-62602 is categorized as a heap buffer overflow vulnerability that occurs in the readData function when security modes are enabled.