CVE Catalog

CVE-2026-120756

MediumCVSS 6.1
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.18%

7th percentile - higher than 7% of all known CVEs

Summary

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 has been decoded, so a crafted HDF5 file can cause reads beyond the heap allocation during H5Fopen(). 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.

Risk Assessment

Opening a crafted HDF5 file can crash the application (DoS) or leak fragments of process memory. The risk affects systems that process untrusted HDF5 files, such as analytics or scientific pipelines.

Recommendation

Upgrade HDF5 to a version containing the fix or restrict processing of untrusted HDF5 files. Where possible, process files in an isolated environment with limited privileges.

Other vulnerabilities in HDF5

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS