CVE-2026-120757
Heap Buffer Over-read via Non-Terminated Link Data in H5L__extern_traverse
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
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 6.9 (v4.0, CNA)CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:H/SC:N/SI:N/SA:NOpen in CVSS calculator
Show all 11 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: High
- Confidentiality impact on other systems: None
- Integrity impact on other systems: None
- Availability impact on other systems: None
- EPSS
- 0.15% chance of exploitation in 30 days (percentile 2, 2026-11-26)
- CWE
- CWE-125
- Modified
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.
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-120757. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-120757.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
FAQ
Is CVE-2026-120757 being exploited?
There is no confirmed exploitation: CVE-2026-120757 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.15% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-120757?
Medium: CVSS 6.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-120757?
The HDF Group HDF5 < 2.3.0.
Is there a fix for CVE-2026-120757?
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-120757?
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.