Heap-based Buffer Overflow Affecting fast-dds package, versions [2.3.2,2.10.1)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.02% (6th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CONAN-FASTDDS-15202460
  • published4 Feb 2026
  • disclosed3 Feb 2026
  • creditUnknown

Introduced: 3 Feb 2026

CVE-2025-62602  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

Upgrade fast-dds to version 2.10.1 or higher.

Overview

Affected versions of this package are vulnerable to Heap-based Buffer Overflow via the readData function when handling a manipulated DATA Submessage with DDS Security enabled. An attacker can cause remote process termination or denial of service by sending a specially crafted SPDP packet that manipulates the PID_IDENTITY_TOKEN or PID_PERMISSIONS_TOKEN fields, leading to unchecked allocation and heap buffer overflow.

Note: This is only exploitable if DDS Security mode is enabled.

CVSS Base Scores

version 4.0
version 3.1