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 Learn

Learn about Heap-based Buffer Overflow vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-CONAN-FASTDDS-15202458
  • published4 Feb 2026
  • disclosed3 Feb 2026
  • creditUnknown

Introduced: 3 Feb 2026

CVE-2025-62601  (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 readString function when processing a manipulated DATA Submessage with DDS Security enabled. An attacker can cause remote process termination by sending a specially crafted SPDP packet that tampers with the str_size value, leading to a heap buffer overflow via an attacker-controlled size in std::vector::resize.

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

CVSS Base Scores

version 4.0
version 3.1