CVE-2026-120758: HDF5 through 2.2.0 contains a NULL pointer dereference vulnerability in H5HL_unprotect() in src/H5HL.c
Affects hdf5Source GCVE Database
Public exploit available · CVSS 5.4 Medium.
Data as of 24 Nov 2026, 22:28 UTC
Thin evidence
One scorer or none| CNA (HDFG) | CVSS 4.0 | 5.4 |
|---|
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:PExploitation evidence
Disclosed: evidence found.
CVE published 3 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: evidence found.
CVSS exploit maturity: proof of concept public
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), CVSS vector, the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.10hdf5pkg:deb/ubuntu/hdf5?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.04 LTShdf5pkg:deb/ubuntu/hdf5?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTShdf5pkg:deb/ubuntu/hdf5?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTShdf5pkg:deb/ubuntu/hdf5?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu Pro 20.04 LTShdf5pkg:deb/ubuntu/hdf5?arch=source&distro=esm-apps/focalOther threats | Affected
| Fixed in– |
Ubuntu Pro 18.04 LTShdf5pkg:deb/ubuntu/hdf5?arch=source&distro=esm-apps/bionicOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
HDF5 through 2.2.0 contains a NULL pointer dereference vulnerability in H5HL_unprotect() in src/H5HL.c. H5HL_protect() pins a single metadata cache entry for a local heap, either the heap prefix or the separate data block, and H5HL_unprotect() unpins it on the final unprotect. When the metadata cache destroys a corrupted local heap entry, H5HL__prfx_dest() unlinks it from the heap by setting heap->prfx or heap->dblk to NULL. A crafted HDF5 file can therefore reach H5HL_unprotect() with no cached object to unpin, and the function passes the NULL pointer to H5AC_unpin_entry(). This causes an assertion failure in debug builds and a NULL pointer dereference and crash in release builds. An attacker who can get a user or application to open and traverse a malicious file can cause a denial of service.
References
- ubuntu.com/security/CVE-2026-120758 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-120758 (opens in a new tab)
- github.com/HDFGroup/hdf5/issues/6403 (opens in a new tab)
- github.com/HDFGroup/hdf5/pull/6377 (opens in a new tab)
- github.com/HDFGroup/hdf5/commit/91fc37c3325264e67699408e3a190fe4f329bf85 (opens in a new tab)