Vulnerability · Published Jun 28, 2025 · Assigned by VulDB
CVE-2025-6816HDF5 H5Ofsinfo.c H5O__fsinfo_encode heap-based overflow
Low 3.3
In plain English
A low-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.3% (higher than 18% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
A vulnerability classified as problematic was found in HDF5 1.14.6. This vulnerability affects the function H5O__fsinfo_encode of the file /src/H5Ofsinfo.c. The manipulation leads to heap-based buffer overflow. It is possible to launch the attack on the local host. The exploit has been disclosed to the public and may be used.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | hdf5 | no fix listed | DEBIAN-CVE-2025-6816 |
| Debian:13 | hdf5 | no fix listed | DEBIAN-CVE-2025-6816 |
| Debian:14 | hdf5 | 2.1.0+repack-1 | DEBIAN-CVE-2025-6816 |
| Ubuntu:22.04:LTS | hdf5 | no fix listed | UBUNTU-CVE-2025-6816 |
| Ubuntu:24.04:LTS | hdf5 | no fix listed | UBUNTU-CVE-2025-6816 |
| Ubuntu:25.10 | hdf5 | no fix listed | UBUNTU-CVE-2025-6816 |
| Ubuntu:26.04:LTS | hdf5 | no fix listed | UBUNTU-CVE-2025-6816 |
| Ubuntu:26.10 | hdf5 | no fix listed | UBUNTU-CVE-2025-6816 |
Affected products (as reported)
Weakness: CWE-122, CWE-119 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:P/RL:X/RC:R
References
- VDB-314254 | HDF5 H5Ofsinfo.c H5O__fsinfo_encode heap-based overflow vdb-entry, technical-description
- VDB-314254 | CTI Indicators (IOB, IOC, IOA) signature, permissions-required
- Submit #602291 | HDFGroup HDF5 hdf5 1.14.6 (commit 17c16b6) Heap-based Buffer Overflow third-party-advisory
- https://github.com/HDFGroup/hdf5/issues/5571 issue-tracking
- https://github.com/user-attachments/files/20623354/hdf5_crash_3.txt exploit