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.
References
| Link | Resource |
|---|---|
| https://github.com/HDFGroup/hdf5/issues/6401 | Exploit Vendor Advisory Issue Tracking |
| https://github.com/HDFGroup/hdf5/pull/6589 | Issue Tracking Patch |
Configurations
History
03 Nov 2026, 21:09
| Type | Values Removed | Values Added |
|---|---|---|
| First Time |
Hdfgroup
Hdfgroup hdf5 |
|
| CPE | cpe:2.3:a:hdfgroup:hdf5:*:*:*:*:*:*:*:* | |
| References | () https://github.com/HDFGroup/hdf5/issues/6401 - Exploit, Vendor Advisory, Issue Tracking | |
| References | () https://github.com/HDFGroup/hdf5/pull/6589 - Issue Tracking, Patch | |
| CVSS |
v2 : v3 : |
v2 : unknown
v3 : 6.1 |
03 Nov 2026, 16:17
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-11-03 16:17
Updated : 2026-11-03 21:09
NVD link : CVE-2026-120756
Mitre link : CVE-2026-120756
CVE.ORG link : CVE-2026-120756
JSON object : View
Products Affected
hdfgroup
- hdf5
CWE
CWE-125
Out-of-bounds Read
