CVE-2026-120756 Heap Buffer Over-read via Malformed Message Size in HDF5's H5O__chunk_deserialize
- Exploited in the wild
- Not known
- Fix
- Available
What is CVE-2026-120756?
CVE-2026-120756 is a low-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 H5O__chunk_deserialize() in src/H5Ocache.c. When decoding object header messages, the declared message size is checked against the end of the chunk image before the remainder of the message header (flags, and for version 2 object headers, the optional creation index) has been decoded. Because the message body begins after these fields, a message can start up to four bytes further into the chunk than the size check accounts for. A crafted HDF5 file can declare a message size that passes the check but extends past the end of the chunk image, causing the message’s decode callback, for example H5O__mtime_new_decode() in src/H5Omtime.c, to read beyond the heap allocation. The flaw is reachable during H5Fopen() on a crafted file. An attacker who can get a user or application to open a malicious file can cause a denial of service or limited disclosure of process memory.
Weakness: CWE-125
Which versions are affected by CVE-2026-120756?
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-120756?
Upgrade to a fixed version.
Is CVE-2026-120756 being exploited?
There is no known exploitation of CVE-2026-120756 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-112634, DEBIAN-CVE-2026-120756, ECHO-c3e6-ed13-5210, GHSA-m9xj-6f2h-rx5r, UBUNTU-CVE-2026-120756.