CVE-2026-120756
Heap Buffer Over-read via Malformed Message Size in HDF5's H5O__chunk_deserialize
Mitigation
- Upgrade HDF5 to 2.3.0 or later.
Who should check
- Anyone running The HDF Group HDF5 < 2.3.0
Vulnerability facts
- Affected
- The HDF Group HDF5 < 2.3.0
- Fixed in
- The HDF Group HDF5 2.3.0
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- Yes: see the exploit references below
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 1.9 (v4.0, CNA)CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N/E:POpen in CVSS calculator
Show all 12 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Attack requirements: None
- Privileges required: None
- User interaction: Passive
- Confidentiality impact: Low
- Integrity impact: None
- Availability impact: Low
- Confidentiality impact on other systems: None
- Integrity impact on other systems: None
- Availability impact on other systems: None
- Exploit maturity: Proof of concept
- EPSS
- 0.16% chance of exploitation in 30 days (percentile 3, 2026-11-26)
- CWE
- CWE-125
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| The HDF Group HDF5 | < 2.3.0 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-120756. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-120756.md Affected: The HDF Group HDF5 < 2.3.0 Fixed in: The HDF Group HDF5 2.3.0 Steps: 1. Search this machine and project for The HDF Group HDF5: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Exploits and PoCs
FAQ
Is CVE-2026-120756 being exploited?
There is no confirmed exploitation: CVE-2026-120756 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 0.16% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-120756?
Low: CVSS 1.9 (v4.0, scored by CNA). Not remotely exploitable (local or adjacent access needed). A user has to take an action, such as opening a link, for the attack to work.
Which versions are affected by CVE-2026-120756?
The HDF Group HDF5 < 2.3.0.
Is there a fix for CVE-2026-120756?
Yes. Fixed in The HDF Group HDF5 2.3.0. Upgrade HDF5 to 2.3.0 or later.
How do I check if I'm affected by CVE-2026-120756?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.