CVE-2026-120758

published 3 Nov 2026 · updated 16 Nov 2026

NULL Pointer Dereference in H5HL_unprotect via Corrupted File

5.4MediumCVSS 5.4EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. No fixed version is recorded.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
The HDF Group<2.3.0
hdfgrouphdf5<=2.2.0

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-120758 severity on Zeptric[![CVE-2026-120758](https://zeptric.io/badge/cve/CVE-2026-120758.svg)](https://zeptric.io/cve/CVE-2026-120758)