CVE-2026-120758

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
Link Resource
https://github.com/HDFGroup/hdf5/pull/6377 Issue Tracking Patch
Configurations

Configuration 1 (hide)

cpe:2.3:a:hdfgroup:hdf5:*:*:*:*:*:*:*:*

History

03 Nov 2026, 21:08

Type Values Removed Values Added
First Time Hdfgroup
Hdfgroup hdf5
References () https://github.com/HDFGroup/hdf5/pull/6377 - () https://github.com/HDFGroup/hdf5/pull/6377 - Issue Tracking, Patch
CPE cpe:2.3:a:hdfgroup:hdf5:*:*:*:*:*:*:*:*
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.5

03 Nov 2026, 16:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-11-03 16:17

Updated : 2026-11-03 21:08


NVD link : CVE-2026-120758

Mitre link : CVE-2026-120758

CVE.ORG link : CVE-2026-120758


JSON object : View

Products Affected

hdfgroup

  • hdf5
CWE
CWE-476

NULL Pointer Dereference