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.
Severity (CVSS)
| Base score | 5.9 |
|---|---|
| Severity | Medium |
| Version | CVSS 4.0 |
| Vector | 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 |
| Provided by | CNA |
Weaknesses
- CWE-124 — CWE-124: Buffer Underwrite ('Buffer Underflow')
Affected products
| Vendor | Product | Versions |
|---|---|---|
| HDFGroup | hdf5 | <= 1.14.6 |
References
- https://github.com/HDFGroup/hdf5/security/advisories/GHSA-5c6x-jmgf-f5vc (x_refsource_CONFIRM)
- https://github.com/HDFGroup/hdf5/blob/develop/src/H5Gname.c#L474 (x_refsource_MISC)
Generated from the official CVE List on 21 Jul 2026 07:01 UTC.