Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft malformed HDF5 file
-
DeliveryDeliver file to victim user/application
-
ExploitVictim opens and traverses file
-
ExecutionCache destroys corrupted local heap entry
-
PersistH5HL_unprotect passes NULL to H5AC_unpin_entry
-
ImpactApplication crashes (denial of service)
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Null pointer safety, defensive checks
MITRE ATT&CK
1 technique across 1 tactic: Impact The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires the attacker to craft a malicious HDF5 file with a corrupted local heap and get a user or application to open AND traverse it (UI:P - passive interaction, merely processing the file). The crash specifically requires the metadata cache to destroy the corrupted local heap entry (unlinking heap->prfx or heap->dblk), which the vendor's own test provokes by using a metadata cache small enough that entries are evicted during traversal; the fix PR also forces the data block into its own cache entry via heap growth. Limiting factors: exploitation is local only (no network vector), depends entirely on file delivery and victim action, requires no authentication or privileges, and the impact ceiling is a process crash - no code execution, data disclosure, or integrity loss. Debug builds hit an assertion failure; release builds suffer the NULL pointer dereference and crash. |
| Impact | This is a genuine but low-urgency issue - a NULL pointer dereference (CWE-476) leading only to a denial of service. The CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H) is internally consistent with the description: exploitation is local, requires a user to passively open and traverse a crafted file, needs no privileges, and impacts only availability (VA:H) with no confidentiality or integrity effect. The vuln.today decision label is 'this_month', not act_now or emergency, which aligns with a crash-only bug. No EPSS score and no CISA KEV entry are provided, so there is no signal of active or widespread exploitation; absence of these is expected for a newly-disclosed library DoS. The CVSS exploit-maturity flag E:P (proof-of-concept) is corroborated by the fix PR, which ships a reproduction file (heap_corrupt_prfx.h5) and a regression test that deliberately triggers the crash. Bottom line: a real, confirmed defect worth patching on a normal cadence, but not an emergency - impact ceilings at application crash, and exploitation depends on convincing a victim to open a malicious file. |
| Exploit ScenarioDerived | An attacker crafts a malformed HDF5 file whose local heap is corrupted and distributes it (e.g., as a dataset, model file, or scientific data artifact). When a victim user or application opens and traverses the file - and the metadata cache evicts/destroys the corrupted local heap entry - H5HL_unprotect() is reached with no cached object to unpin and passes a NULL pointer to H5AC_unpin_entry(), crashing the process. A public PoC reference exists in the form of the fix PR's regression test, though it is not packaged as a standalone weaponized exploit. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 03, 2026
Opening and traversing a crafted HDF5 file can crash the application because H5HL_unprotect() in HDF5 through 2.2.0 may pass a NULL local-heap pointer to H5AC_unpin_entry(). The bug is a CWE-476 NULL pointer dereference: if the metadata cache destroys a corrupted local heap entry and H5HL__prfx_dest() clears heap->prfx or heap->dblk, the final unprotect has nothing to unpin, causing an assertion failure in debug builds and a crash in release builds. Impact is limited to local denial of service with user interaction and no confidentiality or integrity loss; the supplied CVSS 4.0 vector has E:P (proof-of-concept maturity), but no CISA KEV listing or confirmed working exploit code was provided.
RemediationAI
Apply the upstream fix from HDFGroup/hdf5 PR #6377 (https://github.com/HDFGroup/hdf5/pull/6377) or upgrade to a release that contains it; no exact patched release version was provided in the available data, so the patch status is best described as an upstream fix available via PR/commit, with a released patched version not independently confirmed. The fix makes H5HL_unprotect() report an error before decrementing the heap protect count when the expected prefix or data block is absent, leaving the heap unchanged rather than half-unprotected. Until that fix is deployed, do not open or traverse HDF5 files from untrusted sources, and isolate HDF5 parsing in a separate low-privilege process or container with crash isolation so a malformed file can only terminate the parser; these reduce exposure but do not remove the NULL dereference.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
HDF5 is a hierarchical data format and library used for scientific and other large datasets; local heaps are metadata structures that store variable-length heap data referenced by objects. In the affected code, H5HL_protect() pins exactly one metadata cache entry for a local heap, either the heap prefix when the heap is a single cache object or the separate data block otherwise, and H5HL_unprotect() is expected to unpin that same entry when the protect count reaches zero. A malformed file can cause the metadata cache to destroy the corrupted local heap entry, and H5HL__prfx_dest() unlinks it by setting heap->prfx or heap->dblk to NULL; a later H5HL_unprotect() then passes that NULL pointer to H5AC_unpin_entry(). The issue is CWE-476 (NULL pointer dereference). The supplied CPE cpe:2.3:a:the_hdf_group:hdf5:*:*:*:*:*:*:*:* is a wildcard that does not itself constrain versions, while the description states HDF5 through 2.2.0 is affected. The trigger requires a crafted file to be opened and traversed and the corrupted heap entry to be evicted or destroyed by the metadata cache; the sources do not describe any path to code execution or data disclosure.
Know when Hdf5 gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Triggered by opening a local crafted file (AV:L, UI:R), needs no privileges (PR:N), and causes only an application crash, so C:N/I:N/A:H.
Primary rating from Vendor (HDFG).
CVSS VectorVendor: HDFG
Lifecycle Timeline
1DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A null pointer dereference occurs when a program attempts to access memory through a pointer that has been set to NULL (address 0x0).
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
An issue was discovered in the HDF HDF5 1.8.20 library. Rated critical severity (CVSS 9.8), this vulnerability is remote
An issue was discovered in the HDF HDF5 1.8.20 library. Rated critical severity (CVSS 9.8), this vulnerability is remote
An issue was discovered in the HDF HDF5 1.8.20 library. Rated critical severity (CVSS 9.8), this vulnerability is remote
An issue was discovered in the HDF HDF5 1.8.20 library. Rated critical severity (CVSS 9.8), this vulnerability is remote
An issue was discovered in the HDF HDF5 1.8.20 library. Rated critical severity (CVSS 9.8), this vulnerability is remote
An issue was discovered in the HDF HDF5 1.8.20 library. Rated critical severity (CVSS 9.8), this vulnerability is remote
An issue was discovered in the HDF HDF5 1.8.20 library. Rated critical severity (CVSS 9.8), this vulnerability is remote
An issue was discovered in the HDF HDF5 1.8.20 library. Rated critical severity (CVSS 9.8), this vulnerability is remote
An issue was discovered in the HDF HDF5 1.8.20 library. Rated critical severity (CVSS 9.8), this vulnerability is remote
An issue was discovered in the HDF HDF5 1.8.20 library. Rated critical severity (CVSS 9.8), this vulnerability is remote
In HDF5 1.10.1, there is an out of bounds write vulnerability in the function H5G__ent_decode_vec in H5Gcache.c in libhd
hdf5 v1.14.6 was discovered to contain a heap buffer overflow via the H5VM_memcpyvv function. Rated high severity (CVSS
EUVD-2026-116017
GHSA-49fv-ggjg-jcjc
NVD
CVE.org
Vulnrichment
Exploit-DB