Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessDeliver crafted HDF5 file to victim
-
ExploitVictim application reads unallocated chunks
-
ExecutionFill-value write overflows heap buffer
-
ImpactExecute 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
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 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
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
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.'
Primary rating from Vendor (HDFG).
CVSS VectorVendor: HDFG
Lifecycle Timeline
2DescriptionCVE.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
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.
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
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 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.
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-93991
GHSA-p24g-8x6r-2v93
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB