CVE-2026-120757 Heap Buffer Over-read via Non-Terminated Link Data in H5L__extern_traverse
- Exploited in the wild
- Not known
- Fix
- Available
What is CVE-2026-120757?
CVE-2026-120757 is a medium-severity vulnerability in HDF Group HDF5, published on 3 Nov 2026.
Official description
HDF5 through 2.2.0 contains a heap buffer over-read vulnerability in H5L__extern_traverse() in src/H5Lexternal.c, the default traversal callback for external links. The callback locates the target file name and object path within the link’s user data using strlen() without validating the buffer against its stored size (udata_size, which was marked unused). A crafted HDF5 file containing an external link whose data is not NULL-terminated, or is too short to hold both strings, causes strlen() to read past the end of the udata heap buffer, and the derived object path pointer may also point outside the buffer. The overrun is unbounded and continues until a zero byte is found. The flaw is triggered when the malicious link is traversed, for example when opening an object through it. An attacker who can get a user or application to access a crafted file can cause a denial of service, and adjacent heap contents may be incorporated into the external file name or object path the library attempts to open.
Weakness: CWE-125
Which versions are affected by CVE-2026-120757?
It affects 1 product.
Status by vendor (4)
| Who | Release | Status | Packages |
|---|---|---|---|
| Upstream | affected | hdfgroup:hdf5 | |
| Red Hat | enterprise_linux_ai:3 | deferred | hdf5 |
| Red Hat | hummingbird:1 | fixed | hdf5 (2.2.0-0.1.5.hum1), hdf5-devel (2.2.0-0.1.5.hum1), hdf5-mpich (2.2.0-0.1.5.hum1) and 7 more |
| Red Hat | openstack:13 | deferred | hdf5 |
Products include HDF Group HDF5.
How do I fix CVE-2026-120757?
Upgrade to a fixed version.
Is CVE-2026-120757 being exploited?
There is no known exploitation of CVE-2026-120757 in the wild and no public exploit code.
Other vulnerabilities in HDF Group HDF5
- CVE-2024-32608 HDF5 library through 1.14.3 has memory corruption in H5A__close resulting in the corruption of the instruction pointer and causing denial of
- CVE-2024-29157 HDF5 through 1.14.3 contains a heap buffer overflow in H5HG_read, resulting in the corruption of the instruction pointer and causing denial
- CVE-2024-29159 HDF5 through 1.14.3 contains a buffer overflow in H5Z__filter_scaleoffset, resulting in the corruption of the instruction pointer and causin
- CVE-2024-29164 HDF5 through 1.14.3 contains a stack buffer overflow in H5R__decode_heap, resulting in the corruption of the instruction pointer and causing
- CVE-2024-32611 HDF5 Library through 1.14.3 may use an uninitialized value in H5A__attr_release_table in H5Aint.c.
Sources
Also known as AZL-112637, DEBIAN-CVE-2026-120757, ECHO-d4e8-cece-226b, GHSA-2qgq-73w8-3hrx, UBUNTU-CVE-2026-120757.