Buffer overflow in Hdfgroup Hdf5
CVE-2025-2310
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L.
EPSS exploit prediction
EPSS 0.004, 35.5th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Hdfgroup Hdf5 — versions 1.14.6
- Hdf5 — versions 1.14.6
Weakness classification (CWE)
References
- VDB-299723 | HDF5 Metadata Attribute Decoder H5MM_strndup heap-based overflow (technical-description, Third Party Advisory, VDB Entry, vdb-entry)
- VDB-299723 | CTI Indicators (IOB, IOC, IOA) (signature, Permissions Required, permissions-required, VDB Entry)
- Submit #514533 | HDFGroup hdf5 v1.14.6 Buffer Overflow (Third Party Advisory, VDB Entry, third-party-advisory)
- github.com/madao123123/crash_report/blob/main/hdf5_poc/hdf5_poc4.md (Exploit, Third Party Advisory, exploit)