Skip to main content

HDF5 EUVDEUVD-2026-116008

| CVE-2026-120756 LOW
Out-of-bounds Read (CWE-125)
2026-11-03 HDFG
1.9
CVSS 4.0 · Vendor: HDFG
View

Attack ChainAIDerived

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

  1. Access
    Deliver crafted HDF5 file to victim
  2. Exploit
    Victim application calls H5Fopen() to parse it
  3. Execution
    Oversized object-header message decoded past chunk image
  4. Impact
    Heap over-read crashes process or discloses memory

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, read limits
MITRE ATT&CK

1 technique across 1 tactic: Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires an attacker to supply a crafted HDF5 file and have a user or application open it via H5Fopen(); the file must contain an object-header message whose declared size passes the pre-header bounds check yet whose body begins up to four bytes further into the chunk (after the message header flags, and for version 2 object headers the optional creation index) so that it runs past the end of the chunk image, reaching a decode callback such as H5O__mtime_new_decode(). Limiting factors that reduce realistic risk: the vector is local (AV:L) and demands user interaction (UI:P - the victim must choose to open the malicious file); no special non-default configuration is required since any default H5Fopen() parse path is reachable; and impact is bounded to a crash or limited disclosure of process memory, with no code-execution or integrity impact established in the available sources.

Impact

All signals point to a genuinely low-priority issue. The supplied CVSS 4.0 base score is 1.9 (Low) with vector AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N: the attack is local and requires passive user interaction (the victim must open a crafted file), and the only impacts are low confidentiality (limited process-memory disclosure) and low availability (a crash/DoS) - there is no integrity impact and no scope change to other systems. The vuln.today Decision label is 'monitor', the lowest urgency tier, and no CISA KEV listing or EPSS score was provided in the input, so there is no evidence of active or widespread exploitation. The one signal above baseline is the threat/exploit-maturity metric E:P (Proof-of-Concept) in the CVSS 4.0 vector, which is consistent with the upstream fix shipping a regression test that reproduces the over-read; this indicates the bug is demonstrable, not that it is being exploited. In short, this is a low-CVSS, low-real-risk file-parsing defect rather than an emergency. Note that no EPSS value and no KEV status were supplied - their absence is expected for a newly-fixed low-severity library bug and is not treated as exploitation evidence.

Exploit ScenarioDerived

An attacker crafts a malicious HDF5 file that declares an object-header message size which passes the initial bounds check but whose body extends past the end of the chunk image, then delivers it to a victim (shared dataset, download, or email attachment). When the victim's application calls H5Fopen() on the file, a decode callback such as H5O__mtime_new_decode() reads beyond the heap allocation, crashing the process or leaking a small amount of adjacent process memory. No standalone weaponized exploit is identified; the upstream fix includes a regression test that reproduces the over-read under a sanitizer.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available

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

Alert me

AnalysisAIv1 – Nov 03, 2026

Heap buffer over-read in the HDF5 library through 2.2.0 lets a crafted HDF5 file push an object-header message body past the end of its decoded chunk, so opening the file through H5Fopen() can terminate the process or disclose a small amount of process memory through a decode callback such as H5O__mtime_new_decode(). The flaw is in H5O__chunk_deserialize(), which validates the declared message size before the remainder of the message header (flags and, for version 2 object headers, the optional creation index) has been consumed, leaving up to four bytes of unchecked slack. Impact is bounded by the assessed CVSS:3.1 vector AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:L - exploitation is local and requires a victim to open a malicious file, with only low confidentiality and availability consequences and no integrity or code-execution impact; there is no CISA KEV entry, the CVSS 4.0 vector carries an exploit-maturity value of proof-of-concept only, and the priority decision is monitor. The vendor fix is an upstream pull request (HDFGroup/hdf5#6589) that closes issue #6401.

RemediationAI

The upstream fix is pull request https://github.com/HDFGroup/hdf5/pull/6589 (referenced from issue https://github.com/HDFGroup/hdf5/issues/6401), which moves the H5_IS_BUFFER_OVERFLOW message-size check in H5O__chunk_deserialize() to after the entire message header has been decoded, so the body is validated against the correct post-header position; a patched release version is not independently confirmed in the supplied data, so consumers should track the PR and the CHANGELOG entry "Fixed a heap buffer overflow when decoding object header messages" to identify the first fixed build rather than assuming 2.2.0 is remediated. Where upgrading is not immediately possible, the only reliable compensation is to prevent untrusted HDF5 input from reaching H5Fopen(): restrict file intake to trusted, provenance-checked datasets, and parse untrusted files inside a short-lived, memory-limited subprocess so a crash or memory disclosure is contained at the cost of additional process-management overhead and slower throughput. Building the affected parsing path with AddressSanitizer or Valgrind detects the over-read during testing but does not prevent it in production, and there is no configuration switch documented in the sources that disables object header message decoding.

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 self-describing binary data format and library whose files are composed of object headers, each stored as one or more chunks containing serialized messages (dataspace, datatype, attributes, modification time, and so on). When a chunk is loaded, H5O__chunk_deserialize() in src/H5Ocache.c walks the messages, decoding each message header and then handing the message body to a type-specific decode callback. Version 1 object headers use an 8-byte message header (message type, message size, flags and reserved bytes), and version 2 object headers can additionally carry an optional creation index, so the body begins up to four bytes further into the chunk than the start of the header. The original bounds check (H5_IS_BUFFER_OVERFLOW against p_end) ran against the pre-header cursor position rather than the post-header body position, so a message whose declared size passed the check could still extend past the end of the heap-allocated chunk image; the callback then received a buffer end outside the allocation and read past it. This is CWE-125 (out-of-bounds read), reachable on any default H5Fopen() parse path with no special configuration; the upstream patch simply relocates the size check to after the full message header has been decoded, and the accompanying regression test in test/ohdr.c rewrites a version 1 root-group header so an mtime message declares an 8-byte body in a chunk with only 4 bytes remaining, confirming the file is rejected.

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 1.9 LOW
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N/E:P
vuln.today AI 4.4 MEDIUM

Triggered only by opening a crafted file, so AV:L and UI:R with no privileges (PR:N); impact is limited memory disclosure (C:L) and a crash (A:L) with no integrity effect.

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:L
4.0 AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:L/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
Low
Vulnerable system: Integrity
None
Vulnerable system: Availability
Low
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 heap buffer over-read vulnerability in H5O__chunk_deserialize() in src/H5Ocache.c. When decoding object header messages, the declared message size is checked against the end of the chunk image before the remainder of the message header (flags, and for version 2 object headers, the optional creation index) has been decoded. Because the message body begins after these fields, a message can start up to four bytes further into the chunk than the size check accounts for. A crafted HDF5 file can declare a message size that passes the check but extends past the end of the chunk image, causing the message’s decode callback, for example H5O__mtime_new_decode() in src/H5Omtime.c, to read beyond the heap allocation. The flaw is reachable during H5Fopen() on a crafted file. An attacker who can get a user or application to open a malicious file can cause a denial of service or limited disclosure of process memory.

Threat Intelligence Overview

Prevalence
Medium
common scientific-data library (h5py, MATLAB, HPC) but not ubiquitous general-purpose software
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 LOW
CISA KEV No
Public POC No
EPSS N/A
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.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
Low
Technical Impact
Partial

Priority Score

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

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

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