CVE-2026-120758: NULL Pointer Dereference in H5HL_unprotect via Corrupted File

Published Nov 3, 2026
·
Updated

HDF5 through 2.2.0 contains a NULL pointer dereference vulnerability in H5HLunprotect() in src/H5HL.c. H5HLprotect() pins a single metadata cache entry for a local heap, either the heap prefix or the separate data block, and H5HLunprotect() unpins it on the final unprotect. When the metadata cache destroys a corrupted local heap entry, H5HLprfxdest() unlinks it from the heap by setting heap->prfx or heap->dblk to NULL. A crafted HDF5 file can therefore reach H5HLunprotect() with no cached object to unpin, and the function passes the NULL pointer to H5ACunpinentry(). 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 Software

1 affected component
HDFGroup hdf5<=2.2.0

Event History

Nov 3, 2026
CVE Published
via MITRE·03:38 PM
Data Sourced
via MITRE·03:38 PM
DescriptionWeakness
Data Sourced
via OSV·03:38 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:17 PM
RemedyDescriptionSeverityWeaknessAffected Software

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203