# CVE-2026-26199: Buffer underflow in `H5Iget_name `/`H5G_get_name` if size is zero

- Severity: Medium 5.9 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:A/VC:N/VI:N/VA:H/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.26%, higher than 18% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2026-07-20T14:59:35.038Z
- Modified: 2026-10-24T20:10:00.137Z
- Weaknesses: CWE-124
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

HDF5 is a high-performance library and a file format specification that implements the HDF5 data model. If `H5Iget_name` is invoked on a group id with `0` for the size parameter, it will underflow when trying to place a null terminator in the buffer. This can occur if `H5Iget_name` is invoked in a way where `size` can be forced to zero, and there is important data before the `name` buffer.

(As written by CVE List.)

## Affected

- HDFGroup hdf5: <= 1.14.6; before 2.1.0

## Every score

- GitHub_M: CVSS:4.0 5.9 Medium `CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L`

## References

- <https://github.com/HDFGroup/hdf5/security/advisories/GHSA-5c6x-jmgf-f5vc> (exploit, vendor-advisory)
- <https://github.com/HDFGroup/hdf5/blob/develop/src/H5Gname.c#L474> (exploit)

## Sources

- CVE List: [CVE-2026-26199](https://www.cve.org/CVERecord?id=CVE-2026-26199), CVE Terms of Use, modified 2026-07-20
- NVD: [CVE-2026-26199](https://nvd.nist.gov/vuln/detail/CVE-2026-26199), Public domain, modified 2026-10-24

---

Page: https://cve.day/CVE-2026-26199 · Whole record: https://cve.day/CVE-2026-26199.json · Rebuilt by cve.day 2026-11-25T22:59:29.232Z
