Vulnerability · Published Mar 14, 2025 · Assigned by VulDB
CVE-2025-2308HDF5 Scale-Offset Filter H5Z__scaleoffset_decompress_one_byte 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).
Official description
A vulnerability, which was classified as critical, was found in HDF5 1.14.6. This affects the function H5Z__scaleoffset_decompress_one_byte of the component Scale-Offset Filter. The manipulation leads to heap-based buffer overflow. An attack has to be approached locally. 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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | hdf5 | no fix listed | DEBIAN-CVE-2025-2308 |
| Debian:13 | hdf5 | no fix listed | DEBIAN-CVE-2025-2308 |
| Debian:14 | hdf5 | no fix listed | DEBIAN-CVE-2025-2308 |
| Ubuntu:22.04:LTS | hdf5 | no fix listed | UBUNTU-CVE-2025-2308 |
| Ubuntu:24.04:LTS | hdf5 | no fix listed | UBUNTU-CVE-2025-2308 |
| Ubuntu:25.10 | hdf5 | no fix listed | UBUNTU-CVE-2025-2308 |
| Ubuntu:26.04:LTS | hdf5 | no fix listed | UBUNTU-CVE-2025-2308 |
| Ubuntu:26.10 | hdf5 | no fix listed | UBUNTU-CVE-2025-2308 |
Affected products (as reported)
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
- VDB-299721 | HDF5 Scale-Offset Filter H5Z__scaleoffset_decompress_one_byte heap-based overflow vdb-entry, technical-description
- VDB-299721 | CTI Indicators (IOB, IOC, IOA) signature, permissions-required
- Submit #514531 | HDFGroup hdf5 v1.14.6 Buffer Overflow third-party-advisory
- https://github.com/madao123123/crash_report/blob/main/hdf5_poc/hdf5_poc2.md exploit