CVE-2026-120758
Last modified
CVE-2026-120758 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. 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.
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.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Hdfgroup | Hdf5 | <= 2.2.0 |
References
- https://github.com/HDFGroup/hdf5/pull/6377Issue Tracking, Patch
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-120758?
How severe is CVE-2026-120758?
How do I fix CVE-2026-120758?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-120740A flaw was found in hivex. By supplying a specially crafted …2
- CVE-2026-120752PyMuPDF 1.25.3 before 2.0 contains a stack-based buffer over…7.5
- CVE-2026-120754HDF5 through 2.2.0 contains an uninitialized memory read vul…3.3
- CVE-2026-120755HDF5 through 2.2.0 contains an out-of-bounds read vulnerabil…5.5
- CVE-2026-120756HDF5 through 2.2.0 contains a heap buffer over-read vulnerab…6.1
- CVE-2026-120757HDF5 through 2.2.0 contains a heap buffer over-read vulnerab…7.1
- CVE-2026-12076Raytha CMS is vulnerable to SQL Injection within the OData f…9.3
- CVE-2026-12077The Dokan Pro plugin for WordPress is vulnerable to time-bas…7.5
- CVE-2026-120775Tanium addressed a heap-based buffer overflow vulnerability …7.2
- CVE-2026-12079The Dokan Pro plugin for WordPress is vulnerable to time-bas…6.5
- CVE-2026-1208The Friendly Functions for Welcart plugin for WordPress is v…4.3
- CVE-2026-12080A flaw was found in the QEMU Guest Agent (qga). A local unpr…7.3
Are you affected by CVE-2026-120758?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
