Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft HDF5 file with mismatched chunk/dataspace ranks
-
DeliveryDeliver file to target via shared repository or upload
-
ExploitTarget calls H5Dopen2 skipping rank re-validation
-
ExecutionTarget calls H5Dread entering H5S__hyper_iter_get_seq_list
-
ImpactDivide-by-zero crashes application process
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Division safety checks
|
| Exploitation Conditions | Exploitation requires three specific conditions to align: (1) the target application must call H5Dopen2 on an existing chunked dataset - the vulnerability does not trigger at dataset-creation time because the rank check runs there; (2) the application must subsequently call H5Dread on that dataset, driving execution into the hyperslab iterator; and (3) a user or automated process must explicitly open the attacker-controlled HDF5 file (UI:P in the CVSS 4.0 vector). The vulnerability is not triggerable remotely without a file-delivery mechanism. Exploitation is bounded to a denial-of-service crash - the CVSS vector confirms no confidentiality (VC:N) or integrity (VI:N) impact is possible. Processing pipelines that only consume internally generated or cryptographically verified HDF5 files are not realistically exposed. |
| Impact | The CVSS 4.0 score of 6.8 with vector AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H reflects local file delivery with mandatory user or process interaction, and impact limited entirely to availability - no confidentiality or integrity compromise is possible. This is consistent with the vulnerability mechanism: the attacker can only crash the consuming application, not execute code or read data. This CVE is not listed in CISA KEV, no EPSS data was provided, and no POC exploit code has been referenced beyond the GitHub issue report, all consistent with a low active-exploitation probability. Real-world risk is concentrated in automated data-processing pipelines - such as bioinformatics or climate-science workflows - that ingest untrusted HDF5 files without sandboxing, where a crash could disrupt computation. For environments processing only internally-generated or cryptographically verified HDF5 files, exploitability is effectively nil. No conflicting signals were identified; CVSS vector and description are mutually consistent. |
| Exploit ScenarioDerived | An attacker crafts an HDF5 file in which the stored chunk-layout dimensionality for a dataset does not match the dataset's dataspace rank, a condition the library does not re-validate on open. When a downstream user or automated data pipeline invokes h5repack (or any application calling H5Dopen2 then H5Dread) against this file - for example, by placing it in a shared research data repository - the mismatched rank propagates to the hyperslab iterator, the divide-by-zero fires, and the processing application crashes. No code beyond the malformed file is required. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 05, 2026
HDF5 library through version 2.3.0 crashes with a divide-by-zero when a process opens a crafted file containing mismatched chunk-layout and dataspace dimensionality. The missing rank validation in H5O__layout_decode allows the corrupt metadata to propagate unchecked to H5S__hyper_iter_get_seq_list, where the invalid value causes integer division by zero and application termination. Tools that automatically consume externally-supplied HDF5 files - such as the bundled h5repack utility - are the primary exposure surface; no public exploit code or confirmed active exploitation has been identified at time of analysis.
RemediationAI
No vendor-released patch version has been confirmed from the available data - the sole reference is a GitHub issue report rather than a tagged release or formal security advisory. Monitor https://github.com/HDFGroup/hdf5/issues/6491 and the HDF Group release page for a patched version and upgrade as soon as one is available. As a compensating control in the interim, restrict h5repack and other HDF5-consuming tools from processing untrusted or externally-sourced HDF5 files; implement allow-listing of trusted data sources in automated pipelines. Where file-processing cannot be restricted, sandbox the consuming process (e.g., via seccomp, containers, or a dedicated low-privilege user) so that a crash terminates only the sandboxed worker rather than a broader service. Note that sandboxing does not prevent the crash - it limits its downstream impact. Validating HDF5 file provenance via checksums or signatures before processing is the most effective compensating control prior to patch availability.
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 (Hierarchical Data Format version 5) is a binary scientific data format and supporting C library developed by The HDF Group, widely used in research computing for storing large multidimensional arrays. The library stores dataset layout metadata - including chunked storage geometry - in the file's object header. The function H5O__layout_decode in H5Olayout.c deserializes this layout metadata when an existing dataset is opened. At dataset-creation time, the library validates that the chunk-layout dimensionality matches the dataspace rank, but this check is not repeated when reopening an existing dataset via H5Dopen2. CWE-369 (Divide By Zero) is the root cause class: when H5Dread is subsequently called, the corrupted rank value propagates to the hyperslab iterator H5S__hyper_iter_get_seq_list in src/H5Shyper.c, where a rank-dependent divisor is zero, causing an arithmetic fault and process crash. The affected CPE is cpe:2.3:a:the_hdf_group:hdf5:*:*:*:*:*:*:*:*.
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
File must be locally opened by user or process (AV:L/UI:R); no privileges required to open a file; impact is crash-only with no scope change (A:H, C:N/I:N).
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
Primary rating from Vendor (HDFG).
CVSS VectorVendor: HDFG
DescriptionCVE.org
H5O__layout_decode in H5Olayout.c in HDF5 through 2.3.0 does not validate that a chunked dataset's stored chunk-layout dimensionality matches its dataspace rank when an existing dataset is opened, whereas this check is performed only at dataset-creation time. This allows attackers to cause a denial of service (divide-by-zero and application crash in H5S__hyper_iter_get_seq_list in src/H5Shyper.c) via a crafted HDF5 file with mismatched chunk/dataspace ranks that is opened and read via H5Dopen2 and H5Dread, e.g. by the h5repack tool.
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
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
Same weakness CWE-369 – Divide By Zero
View allSame technique Denial Of Service
View allVendor StatusVendor
SUSE
Severity: Low| Product | Status |
|---|---|
| SUSE Linux Enterprise Module for Package Hub 15 SP7 | Affected |
| SUSE Linux Enterprise High Performance Computing 12 SP5 | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS | Affected |
| SUSE Linux Enterprise Module for HPC 12 | Affected |
| SUSE Linux Enterprise Server 12 SP5 | Affected |
| SUSE Linux Enterprise Server 15 SP6-LTSS | Affected |
| SUSE Linux Enterprise Server for SAP Applications 12 SP5 | Affected |
| SUSE Linux Enterprise High Performance Computing 12 SP2 | Affected |
| SUSE Linux Enterprise High Performance Computing 12 SP3 | Affected |
| SUSE Linux Enterprise High Performance Computing 12 SP4 | Affected |
| SUSE Linux Enterprise Server 12 SP2 | Affected |
| SUSE Linux Enterprise Server 12 SP3 | Affected |
| SUSE Linux Enterprise Server 12 SP4 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 12 SP2 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 12 SP3 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 12 SP4 | Affected |
EUVD-2026-53686
GHSA-546v-jw2p-gc8p
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB