Skip to main content

HDF5 CVE-2026-19028

| EUVDEUVD-2026-53676 MEDIUM
Integer Overflow or Wraparound (CWE-190)
2026-08-05 HDFG GHSA-2hg9-348w-39gj
6.8
CVSS 4.0 · Vendor: HDFG
View

Attack ChainAIDerived

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

  1. Recon
    Craft HDF5 file with sub-4-byte Fletcher32 chunk
  2. Delivery
    Deliver file to victim filesystem or pipeline
  3. Exploit
    Victim opens file via h5ls/h5dump/application
  4. Install
    H5Dread triggers Fletcher32 filter decode
  5. C2
    size_t underflows to near SIZE_MAX
  6. Execute
    Massively out-of-bounds read in H5_checksum_fletcher32
  7. Impact
    Process crash (DoS)

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Integer overflow checks
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: (1) the target system runs HDF5 through version 2.3.0 with the Fletcher32 filter compiled in (default build); (2) the victim application or user calls H5Dread - directly or via tools such as h5ls or h5dump - on a dataset configured with the Fletcher32 filter; and (3) the attacker can supply or place a crafted HDF5 file containing a Fletcher32-filtered chunk smaller than 4 bytes in a location the victim processes. UI:P (per CVSS 4.0 vector) confirms that a user or process must actively open the file, ruling out entirely passive exploitation. Exploitation is strictly limited to denial of service (crash) - the CVSS vector explicitly sets VC:N/VI:N, so no confidentiality or integrity compromise is achievable. Limiting factors: the attacker requires a delivery path to the victim's filesystem or input pipeline; automated pipelines processing untrusted HDF5 files without pre-validation face the highest realistic exposure.

Impact

The CVSS 4.0 vector AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N scores 6.8, accurately reflecting a local, user-interaction-dependent, availability-only impact with no confidentiality or integrity consequences. The attack complexity is low once a crafted file exists, but delivery depends on the attacker placing the file in a path the victim processes. The vulnerability is not listed in CISA KEV and no EPSS data was provided; real exploitation probability is expected to be low outside of targeted attacks on scientific computing pipelines. The primary elevated-risk scenario is automated HDF5 ingestion pipelines that process untrusted or externally-sourced files without pre-validation, where a crash could disrupt data workflows. The gap between the high-severity A:H impact and the constrained delivery model (AV:L, UI:P) means this is a genuine but contextually limited risk - not a network-exploitable, zero-interaction threat.

Exploit ScenarioDerived

An attacker crafts an HDF5 file containing a dataset with a Fletcher32-filtered chunk of 1-3 bytes - well below the minimum 4-byte checksum boundary - and delivers it to a target via a shared research dataset repository, email attachment, or malicious download. When a scientist or automated pipeline opens the file with h5dump or an HDF5-consuming application, H5Dread invokes the Fletcher32 decode path, the size_t underflow passes a near-SIZE_MAX length to the checksum routine, and the process crashes immediately with an out-of-bounds read. No public proof-of-concept file has been identified, but GitHub issues #6489 and #6490 and the PR #6497 diff contain sufficient technical detail to reconstruct the triggering condition trivially.

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

Integer underflow in HDF5 through 2.3.0 allows denial of service when processing Fletcher32-filtered datasets with chunk sizes smaller than 4 bytes. The H5Z__filter_fletcher32 function in H5Zfletcher32.c subtracts the 4-byte checksum length from the input buffer size using an unsigned size_t without first verifying the buffer meets the minimum size, causing the result to wrap near SIZE_MAX and triggering a massively out-of-bounds read inside H5_checksum_fletcher32. Any application or pipeline calling H5Dread on a crafted HDF5 file - including the standard h5ls and h5dump utilities - can be crashed; no public exploit code has been identified and this vulnerability is not in CISA KEV.

RemediationAI

Monitor The HDF Group's releases for a tagged version incorporating the fix from PR #6497 (https://github.com/HDFGroup/hdf5/pull/6497) and upgrade HDF5 as soon as that version is published; the exact fix version is not yet confirmed from available data. Until a patched release is available, compensating controls include: (1) rejecting HDF5 files that declare the Fletcher32 filter in dataset creation properties before passing them to H5Dread, which eliminates the vulnerable code path but requires upstream filter inspection logic; (2) sandboxing processes that read untrusted HDF5 files using OS-level isolation (e.g., seccomp, containers, or unprivileged namespaces) to contain crash impact and prevent escalation, noting that this prevents lateral damage but does not prevent the crash itself; (3) restricting ingestion pipelines to HDF5 files from trusted, integrity-verified sources only. No official vendor security advisory URL beyond the GitHub PR and issues is available in the provided data.

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 5) is a scientific data format and library maintained by The HDF Group, used extensively in high-performance computing, research, and data science workflows. The Fletcher32 filter is a checksum filter optionally applied to HDF5 dataset chunks; on decode, the filter strips the 4-byte trailing checksum by subtracting FLETCHER_LEN (4) from nbytes before passing the payload length to H5_checksum_fletcher32. Because nbytes is of type size_t (unsigned), performing this subtraction when nbytes < 4 does not produce a negative number but instead wraps to a value near SIZE_MAX, which is then used as the byte count for a memory read far beyond the actual buffer boundary. CWE-190 (Integer Overflow or Wraparound) is the precise root cause: the assumption that nbytes >= FLETCHER_LEN is never validated. Affected product is identified by CPE cpe:2.3:a:the_hdf_group:hdf5:*:*:*:*:*:*:*:*. The source diff in PR #6497 confirms the fix is a single guard: if (nbytes < FLETCHER_LEN) HGOTO_ERROR(...) inserted before the subtraction.

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

AV:L because a crafted file must be placed locally for processing; UI:R since a user or process must open the file; A:H for crash; no confidentiality or integrity impact.

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

H5Z__filter_fletcher32 in H5Zfletcher32.c in HDF5 through 2.3.0 computes the data length to checksum by subtracting the 4-byte trailing checksum size from the input buffer size without checking that the buffer is at least 4 bytes, allowing a size_t underflow. This allows attackers to cause a denial of service (massively out-of-bounds read and application crash in H5_checksum_fletcher32) via a crafted HDF5 file with a Fletcher32-filtered chunk smaller than 4 bytes, triggered via H5Dread, e.g. by the h5ls or h5dump tools.

Threat Intelligence Overview

EPSS Score
0.1%
Top 97% exploitable
Prevalence
Medium
widely used in scientific and HPC computing, not general enterprise
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

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.

Integer overflow occurs when an arithmetic operation produces a result that exceeds the maximum value a given integer type can store.

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