Skip to main content

HDF5 EUVDEUVD-2026-53686

| CVE-2026-19025 MEDIUM
Divide By Zero (CWE-369)
2026-08-05 HDFG GHSA-546v-jw2p-gc8p
6.8
CVSS 4.0 · Vendor: HDFG
View

Attack ChainAIDerived

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

  1. Access
    Craft HDF5 file with mismatched chunk/dataspace ranks
  2. Delivery
    Deliver file to target via shared repository or upload
  3. Exploit
    Target calls H5Dopen2 skipping rank re-validation
  4. Execution
    Target calls H5Dread entering H5S__hyper_iter_get_seq_list
  5. Impact
    Divide-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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.1% exploitation probability (EPSS)

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

Alert me

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

HDF5 ≤ 2.3.0

Affected Packages

euvd hdf5 no fix

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

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

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

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
SUSE 3.3 LOW
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
Red Hat 5.0 MEDIUM

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

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

EPSS Score
0.1%
Top 98% exploitable
Prevalence
Medium
widely used across scientific and research computing workflows
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment MSRC Vendor GitHub VulDB

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 0.1%
Patch available No
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
Scheduled
Exploitation
Poc
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

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

Attack Technique

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

Vendor 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

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