What’s Vulnerable › Vulnerabilities
CVE-2025-2912: HDF5 H5Omessage.c H5O_msg_flush heap-based overflow
- Severity: medium (CVSS 5.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2025-03-28 · updated 2026-06-17
- Weakness: CWE-119
Description
A vulnerability was found in HDF5 up to 1.14.6. It has been declared as problematic. Affected by this vulnerability is the function H5O_msg_flush of the file src/H5Omessage.c. The manipulation of the argument oh leads to heap-based buffer overflow. The attack needs to be approached locally. The exploit has been disclosed to the public and may be used.
Affected products
- HDF5: before 2.0.0 — fixed in 2.0.0
How to fix
Upgrade to a fixed version: HDF5 2.0.0. Check the vendor advisory for mitigations.
References
- https://github.com/HDFGroup/hdf5/issues/5370
- https://vuldb.com/?ctiid.301885
- https://vuldb.com/?id.301885
- https://vuldb.com/?submit.519966
Get alerted when CVE-2025-2912 or the next vulnerability affects your stack