High severity · published Mar 14, 2025
CVE-2025-2310
HDF5 Metadata Attribute Decoder H5MM_strndup heap-based overflow
7.8
CVSS
0.4%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
Local
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.4% · higher than 35% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
HD
HDF5 ·
1.14.6 · source: vendor, NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2025-2310
CVE.org
https://www.cve.org/CVERecord?id=CVE-2025-2310
Exploit
https://github.com/madao123123/crash_report/blob/main/hdf5_poc/hdf5_poc4.md
Permissions Required
https://vuldb.com/?ctiid.299723
Third Party Advisory
https://vuldb.com/?id.299723
Third Party Advisory
https://vuldb.com/?submit.514533
More from HDF5
8.1
CVE-2025-2153
HDF5 h5 File H5SM.c H5SM_delete heap-based overflow
7.8
CVE-2025-6857
HDF5 H5Gnode.c H5G__node_cmp3 stack-based overflow
7.8
CVE-2025-6856
HDF5 H5FL.c H5FL__reg_gc_list use after free
7.8
CVE-2025-6818
HDF5 H5Ochunk.c H5O__chunk_protect heap-based overflow
7.8
CVE-2025-6516
HDF5 H5Fint.c H5F_addr_decode_len heap-based overflow
