Heap-based Buffer Overflow Affecting hdf5 package, versions [0,]


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.05% (16th 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-HDF5-10076078
  • published8 May 2025
  • disclosed14 Mar 2025
  • creditTeng Zhang, Mingxuan Liu, Chengsiyuan Yang, Heng Zhang, Hao Liu, Yaoliang Zhang, Dawei Guo, Hang Liu

Introduced: 14 Mar 2025

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

How to fix?

A fix was pushed into the master branch but not yet published.

Overview

Affected versions of this package are vulnerable to Heap-based Buffer Overflow due to the H5MM_strndup function. An attacker can corrupt memory and potentially execute arbitrary code by manipulating the input to this function.

CVSS Base Scores

version 4.0
version 3.1