# CVE-2025-6516: HDF5 H5Fint.c H5F_addr_decode_len heap-based overflow

- Severity: Medium 4.8 (CVSS:4.0, scored by VulDB) `CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.41%, higher than 37% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2025-06-23T17:00:17.189Z
- Modified: 2026-06-17T10:02:03.487Z
- Weaknesses: CWE-119, CWE-122, CWE-787
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulDB

## Description

A vulnerability has been found in HDF5 up to 1.14.6 and classified as critical. This vulnerability affects the function H5F_addr_decode_len of the file /hdf5/src/H5Fint.c. 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.

(As written by CVE List.)

## Affected

- HDF5: 1.14.0; 1.14.1; 1.14.2; 1.14.3; 1.14.4; 1.14.5; 1.14.6
- hdfgroup hdf5: up to 1.14.6

## Every score

- VulDB: CVSS:4.0 4.8 Medium `CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P`
- VulDB: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R`
- VulDB: CVSS:3.0 5.3 Medium `CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R`
- VulDB: CVSS:2.0 4.3 Medium `AV:L/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:ND/RC:UR`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/HDFGroup/hdf5/issues/5581> (exploit, issue-tracking, third-party-advisory)
- <https://github.com/user-attachments/files/20626851/reproduce.tar.gz> (exploit)
- <https://vuldb.com/?id.313636> (technical-description, third-party-advisory, vdb-entry)
- <https://vuldb.com/?ctiid.313636> (permissions-required, signature, vdb-entry)
- <https://vuldb.com/?submit.592589> (third-party-advisory, vdb-entry)

## Sources

- CVE List: [CVE-2025-6516](https://www.cve.org/CVERecord?id=CVE-2025-6516), CVE Terms of Use, modified 2025-06-23
- NVD: [CVE-2025-6516](https://nvd.nist.gov/vuln/detail/CVE-2025-6516), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-6516 · Whole record: https://cve.day/CVE-2025-6516.json · Rebuilt by cve.day 2026-11-25T22:58:59.532Z
