Skip to main content

HDF5 EUVDEUVD-2026-116017

| CVE-2026-120758 MEDIUM
NULL Pointer Dereference (CWE-476)
2026-11-03 HDFG GHSA-49fv-ggjg-jcjc
5.4
CVSS 4.0 · Vendor: HDFG
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft malformed HDF5 file
  2. Delivery
    Deliver file to victim user/application
  3. Exploit
    Victim opens and traverses file
  4. Execution
    Cache destroys corrupted local heap entry
  5. Persist
    H5HL_unprotect passes NULL to H5AC_unpin_entry
  6. Impact
    Application 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

HDF5 < 2.3.0

Affected Packages

euvd hdf5 fix: 2.3.0

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

Vendor (HDFG) PRIMARY 5.4 MEDIUM
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
vuln.today AI 5.5 MEDIUM

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.

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
4.0 AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (HDFG).

CVSS VectorVendor: HDFG

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
Patch available
Nov 03, 2026 - 17:18 EUVD

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

Prevalence
Medium
widely-used scientific data library, common but not in every environment
Data Quality
4 sources
Confidence: Medium
EUVD NVD CVE.org Vulnrichment GitHub

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS N/A
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

27
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +27
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

More in Hdf5

View all
CVE-2018-13876 CRITICAL POC
9.8 Jul 10

An issue was discovered in the HDF HDF5 1.8.20 library. Rated critical severity (CVSS 9.8), this vulnerability is remote

CVE-2018-13874 CRITICAL POC
9.8 Jul 10

An issue was discovered in the HDF HDF5 1.8.20 library. Rated critical severity (CVSS 9.8), this vulnerability is remote

CVE-2018-13873 CRITICAL POC
9.8 Jul 10

An issue was discovered in the HDF HDF5 1.8.20 library. Rated critical severity (CVSS 9.8), this vulnerability is remote

CVE-2018-13872 CRITICAL POC
9.8 Jul 10

An issue was discovered in the HDF HDF5 1.8.20 library. Rated critical severity (CVSS 9.8), this vulnerability is remote

CVE-2018-13871 CRITICAL POC
9.8 Jul 10

An issue was discovered in the HDF HDF5 1.8.20 library. Rated critical severity (CVSS 9.8), this vulnerability is remote

CVE-2018-13870 CRITICAL POC
9.8 Jul 10

An issue was discovered in the HDF HDF5 1.8.20 library. Rated critical severity (CVSS 9.8), this vulnerability is remote

CVE-2018-13869 CRITICAL POC
9.8 Jul 10

An issue was discovered in the HDF HDF5 1.8.20 library. Rated critical severity (CVSS 9.8), this vulnerability is remote

CVE-2018-13868 CRITICAL POC
9.8 Jul 10

An issue was discovered in the HDF HDF5 1.8.20 library. Rated critical severity (CVSS 9.8), this vulnerability is remote

CVE-2018-13867 CRITICAL POC
9.8 Jul 10

An issue was discovered in the HDF HDF5 1.8.20 library. Rated critical severity (CVSS 9.8), this vulnerability is remote

CVE-2018-13866 CRITICAL POC
9.8 Jul 10

An issue was discovered in the HDF HDF5 1.8.20 library. Rated critical severity (CVSS 9.8), this vulnerability is remote

CVE-2017-17509 HIGH POC
8.8 Dec 11

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

CVE-2025-44904 HIGH POC
8.8 May 30

hdf5 v1.14.6 was discovered to contain a heap buffer overflow via the H5VM_memcpyvv function. Rated high severity (CVSS

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy