Skip to main content

HDF5 EUVDEUVD-2026-93991

| CVE-2026-106547 HIGH
Heap-based Buffer Overflow (CWE-122)
2026-10-06 HDFG GHSA-p24g-8x6r-2v93
8.5
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 reads unallocated chunks
  3. Execution
    Fill-value write overflows heap buffer
  4. Impact
    Execute attacker-controlled bytes or crash

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Heap buffer bounds checking
MITRE ATT&CK

1 technique across 1 tactic: Execution

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

Exploitation Conditions

Exploitation requires a victim to open or process an attacker-crafted HDF5 file (AV:L, UI:P) in an application linked against HDF5 before 2.2.0. The crafted file must specifically contain a chunked dataset with unallocated/unwritten chunks and a non-default fill value, where the datatype and dataspace metadata are inconsistent with the fill-value buffer's allocated size, so that H5D__fill_init() writes attacker-controlled fill-value bytes past the buffer end. Limiting factors: no network-facing attack surface (local file processing only), the requirement for user/application interaction to read the malicious file, and the need for the application to actually read the unallocated chunks. Risk is materially higher where untrusted HDF5 files are processed automatically (data-ingest or ML pipelines), which effectively removes the interactive-user barrier.

Impact

The CVSS 4.0 base score of 8.5 (High) reflects full confidentiality, integrity, and availability impact (VC:H/VI:H/VA:H) from a heap-based buffer overflow (CWE-122), but the vector tells a more nuanced story: AV:L with UI:P means this is a FILE-PARSING flaw, not a remotely reachable network service - a victim must open or process an attacker-supplied HDF5 file in a vulnerable application. The description's phrase 'remote attacker' therefore describes attacker-supplied file delivery, not network exploitation; this is a notable tension worth flagging (CVSS vector is AV:L/UI:P, so treat 'remote' as 'attacker-controlled input file,' not a listening service). No EPSS score, no CISA KEV listing, and no public exploit code were provided in the intelligence, so exploitation status is 'no public exploit identified at time of analysis.' The only reference is the vendor patch (HDFGroup PR #6529), confirming a fix exists in 2.2.0. Realistically this is a genuine priority for environments that ingest untrusted or third-party HDF5 files (scientific data pipelines, ML model/data loaders, data-exchange services), where automated file processing removes much of the UI barrier; it is lower priority for systems that only process trusted, self-generated HDF5 files. Code execution is described as only 'possible' - the confirmed impact is attacker-controlled heap corruption and application crash - so RCE should be treated as plausible but unverified.

Exploit ScenarioDerived

An attacker crafts a malicious HDF5 file containing a chunked dataset with unallocated chunks, a non-default fill value, and datatype/dataspace metadata deliberately inconsistent with the fill-value buffer's allocated size, then delivers it to a victim (email, shared dataset, upload pipeline). When the victim's application reads the unallocated chunks, H5D__fill_init() writes the attacker-controlled fill value past the end of the heap buffer, crashing the application and potentially enabling arbitrary code execution. No public proof-of-concept was identified in the provided intelligence.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Oct 06, 2026

Heap-based buffer overflow in HDF5 (The HDF Group) before 2.2.0 lets an attacker who supplies a crafted HDF5 file corrupt heap memory in any application linked against the library, causing a crash and potentially achieving arbitrary code execution. The flaw lives in H5VM_array_fill() (src/H5VM.c) and is triggered when a dataset's unallocated/unwritten chunks are read: H5D__fill_init() derives the fill-value buffer from datatype and dataspace metadata stored in the file, and when that metadata is inconsistent with the buffer's allocated size the write overruns the buffer with attacker-controlled fill-value bytes. Exploitation is not network-reachable - it requires a victim to open or automatically process the malicious file (AV:L, UI:P per CVSS 4.0; UI:R in the 3.1 assessment), so risk is highest in data-ingest, HPC and ML pipelines that parse untrusted HDF5 inputs without an interactive user; no public exploit code has been identified at time of analysis and there is no KEV listing, though the CVSS 4.0 base score of 8.5 reflects high confidentiality, integrity and availability impact.

RemediationAI

Upgrade to HDF5 2.2.0 or later, the first release containing the fix per the advisory; the underlying change is upstream PR #6529 (https://github.com/HDFGroup/hdf5/pull/6529), which replaces the "nonexistent" chunk-layout read path with a direct H5D__fill() call, so build or vendor the patched libhdf5 rather than only patching calling applications. Until every embedded copy is updated, treat untrusted HDF5 files as hostile: block or sandbox ingestion of externally sourced .h5 files in automated data/ML pipelines (these remove the interactive-user barrier and are the highest-risk path), process them inside a memory-safe sandbox or unprivileged container with a hardened allocator and ASLR enabled - accepting reduced throughput and possible incompatibility with legitimate files. Because full impact requires reading unallocated chunks of a chunked dataset with a non-default fill value, content validation and re-writing files through a trusted, patched tool before parsing can neutralize many malicious samples, but this is a detection-dependent mitigation and should not be relied on alone; disabling or restricting chunked-dataset read APIs is not a realistic workaround for most users. There is no vendor-released patch data indicating a channel-specific fix beyond the 2.2.0/PR #6529 change, and no public exploit code has been identified at time of analysis, so prioritization should follow the local, interaction-required exploitation profile rather than an active-exploitation signal.

Affected VersionsENISA

HDF5 1.10.0 <2.2.0

Affected Packages

euvd hdf5 fix: 2.2.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 binary data format and C library used widely in scientific computing, ML feature stores and HPC; the affected CPE cpe:2.3:a:the_hdf_group:hdf5:*:*:*:*:*:*:*:* covers all releases before 2.2.0, and any downstream product statically or dynamically linked to libhdf5 inherits the flaw. The root cause is CWE-122 (heap-based buffer overflow): H5D__fill_init() sizes the fill-value buffer from the dataset's datatype and dataspace metadata read out of the file and then calls H5VM_array_fill() in src/H5VM.c to populate it - a write that assumes the on-disk metadata is internally consistent. A crafted file can declare datatype/dataspace parameters that disagree with the allocated buffer length, so H5VM_array_fill() writes the file-supplied fill value past the end of the heap allocation. The trigger path is the reading of chunked datasets whose chunks are unallocated; the library must fill a memory buffer with the dataset's fill value, and the fill-value content is fully attacker-controlled because it is stored in the file. The upstream fix (GitHub PR #6529) removes the synthetic "nonexistent" storage-layout read path (H5D_LOPS_NONEXISTENT / H5D__nonexistent_readvv) and instead writes fill values directly into the destination memory buffer via H5D__fill() in H5D__chunk_read(), which also eliminates spurious writes when a file is open read-only. Note the assessed CVSS 3.1 vector (AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H) confirms this is a file-parsing issue with unauthenticated local/file access and user interaction, not a remotely reachable service flaw.

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 8.5 HIGH
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
vuln.today AI 7.8 HIGH

File must be opened/read by the victim application, so AV:L and UI:R; no privileges needed (PR:N); attacker-controlled heap corruption yields full C/I/A impact though code execution is only 'possible.'

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

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
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Oct 06, 2026 - 22:20 EUVD
CVE Published
Oct 06, 2026 - 20:14 cve.org
HIGH 8.5

DescriptionCVE.org

A heap-based buffer overflow in H5VM_array_fill() in src/H5VM.c in HDF5 before 2.2.0 lets a remote attacker cause an application crash and possibly execute arbitrary code with a crafted HDF5 file. When a dataset's unallocated chunks are read, H5D__fill_init() fills the fill-value buffer from datatype and dataspace metadata in the file. If that metadata is inconsistent with the buffer's allocated size, the write goes past the end of the buffer. The attacker can control the content written through the fill value stored in the file.

Executive ViewAI

Why It Matters

A heap-based buffer overflow in the HDF5 data library (CVE-2026-106547, CVSS 8.5) lets a crafted HDF5 file corrupt memory in any application that opens it, crashing the process and potentially handing an attacker code execution on the machine doing the parsing. The exposure is concentrated in teams that automatically ingest externally sourced datasets - data engineering, HPC, and machine-learning pipelines - where files are processed without a human reviewing them, and the risk is compounded because the advisory confirms no vendor-released patch at this time; no public exploit has been identified at time of analysis, so this is a preparedness issue rather than an active incident.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: treat all externally sourced HDF5 files as untrusted and parse them only inside a disposable, isolated sandbox or container with least-privilege permissions, no network egress, and no access to production data stores; disable automatic or headless processing of HDF5 inputs (attachments, drop folders, scheduled ingest jobs) until isolation is in place; re-encode or validate files in the isolated tier before they enter production pipelines; use seccomp/AppArmor-style confinement and separate service accounts to limit the blast radius of a successful overflow; monitor ingest workers for abnormal crashes and memory faults as a detection signal; and track The HDF Group advisory for a fixed release, targeting HDF5 2.2.0 or later as the remediation baseline where operationally feasible.

Threat Intelligence Overview

EPSS Score
0.2%
Top 95% exploitable
Prevalence
Medium
widely used scientific/data library, but not on every production host
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment MSRC Vendor 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 HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
Defer
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

42
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +42
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.

A heap overflow occurs when a program writes data beyond the bounds of a buffer allocated in the heap memory region.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

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

Vendor StatusVendor

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