# CVE-2025-2310: HDF5 Metadata Attribute Decoder H5MM_strndup 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`
- 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.46%, higher than 31% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-03-14T21:00:09.852Z
- Modified: 2026-06-17T09:06:44.080Z
- Weaknesses: CWE-119, CWE-122, CWE-787
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulDB

## 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.

(As written by CVE List.)

## Affected

- HDF5: 1.14.6
- hdfgroup hdf5: 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`
- 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`
- 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`
- VulDB: CVSS:2.0 4.3 Medium `AV:L/AC:L/Au:S/C:P/I:P/A:P`
- 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/madao123123/crash_report/blob/main/hdf5_poc/hdf5_poc4.md> (exploit, third-party-advisory)
- <https://vuldb.com/?id.299723> (technical-description, third-party-advisory, vdb-entry)
- <https://vuldb.com/?ctiid.299723> (permissions-required, signature, vdb-entry)
- <https://vuldb.com/?submit.514533> (third-party-advisory, vdb-entry)

## Sources

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

---

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