Vulnerability · Published Mar 14, 2025 · Assigned by VulDB

CVE-2025-2310HDF5 Metadata Attribute Decoder H5MM_strndup heap-based overflow

Medium 5.3

In plain English

A medium-severity heap buffer overflow in HDF5. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 35% of all known vulnerabilities).

Severity (CVSS 3.1)5.3Medium
Exploit odds (30 days)0.4%top 64.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

A vulnerability was found in HDF5 1.14.6 and classified as critical. This issue affects the function H5MM_strndup of the component Metadata Attribute Decoder. The manipulation leads to heap-based buffer overflow. Attacking locally is a requirement. The exploit has been disclosed to the public and may be used. The vendor plans to fix this issue in an upcoming release.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12hdf5no fix listedDEBIAN-CVE-2025-2310
Debian:13hdf5no fix listedDEBIAN-CVE-2025-2310
Debian:14hdf5no fix listedDEBIAN-CVE-2025-2310
Ubuntu:22.04:LTShdf5no fix listedUBUNTU-CVE-2025-2310
Ubuntu:24.04:LTShdf5no fix listedUBUNTU-CVE-2025-2310
Ubuntu:25.10hdf5no fix listedUBUNTU-CVE-2025-2310
Ubuntu:26.04:LTShdf5no fix listedUBUNTU-CVE-2025-2310
Ubuntu:26.10hdf5no fix listedUBUNTU-CVE-2025-2310

Affected products (as reported)

VendorProductVersions
n/a HDF5 1.14.6

Weakness: CWE-122, CWE-119 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L

References