Skip to main content

HDF5 CVE-2026-19029

| EUVDEUVD-2026-93981 MEDIUM
Out-of-bounds Read (CWE-125)
2026-10-06 HDFG GHSA-52jg-q5cg-3x56
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 malicious HDF5 file with abusive scale-offset params
  2. Delivery
    Deliver file to victim (share/download)
  3. Exploit
    Victim application parses filter pipeline
  4. Execution
    Decoder over-reads heap past chunk bounds
  5. Impact
    Application crash (denial of service)

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, read limits
MITRE ATT&CK

1 technique across 1 tactic: Collection

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-controlled HDF5 file whose dataset filter pipeline includes a scale-offset filter; the specific trigger is a stored minimum-bits value equal to the full precision of the datatype combined with a d_nelmts * size product that exceeds the actual compressed chunk length, causing the decoder to copy past the end of the chunk buffer. Limiting factors: the vector is local (AV:L) and demands passive user interaction (UI:P) to load the crafted file - there is no remote/network trigger and no authentication involved; realized impact is confined to availability (process crash), with no code execution or confirmed data read, so a successful attack yields only denial of service against the parsing application.

Impact

The vendor-supplied CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H, base 6.8 Medium) scopes this to an availability-only impact: a crash, with no confidentiality (VC:N) or integrity (VI:N) effect. The attack vector is Local with Passive user interaction (UI:P), meaning a victim must open or process an attacker-crafted HDF5 file - this is file-parsing exposure, not a remotely reachable service, which materially lowers real-world urgency versus a network-facing flaw of the same score. No EPSS probability was provided, the CVE is not in CISA KEV, and no public exploit code was supplied (the only referenced artifact, PR #6718, is the vendor fix, not a PoC). The one tension in the data: this is CWE-125 (out-of-bounds read) and the input Tags include 'Information Disclosure', yet both the description ('denial of service (application crash)') and the CVSS metrics (VC:N) scope the realized impact to DoS only - a heap over-read is a classic information-disclosure primitive, but no evidence here confirms attacker-readable data is actually returned, so treat info-disclosure as theoretical, not confirmed. Overall this is a genuine but modest-priority bug: a patchable DoS in a file parser requiring user-driven file processing, best handled through normal patch cycles rather than emergency response.

Exploit ScenarioDerived

An attacker distributes a malicious HDF5 file (e.g., a shared dataset, model file, or email/download) whose scale-offset filter parameters set the stored minimum bits equal to the datatype's full precision and specify a large element count. When a victim opens the file in an HDF5-linked application or tool, the decoder copies d_nelmts * size bytes from a chunk that is too small, triggering a heap buffer over-read and crashing the process. No public exploit code was identified at time of analysis.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.1% 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 over-read in the HDF5 library's scale-offset filter decoder (H5Z__filter_scaleoffset) allows a local, unauthenticated attacker to cause a denial of service by supplying a crafted HDF5 file that a victim opens. The flaw occurs when the filter's stored minimum-bits parameter equals the datatype's full precision and the decoder attempts to copy d_nelmts * size bytes from a compressed chunk that is too short, triggering an out-of-bounds read and application crash. The vendor CVSS 4.0 vector (6.8 Medium) rates this as an availability-only impact with no confidentiality or integrity effect; no public exploit code has been identified, and the fix is available as an upstream pull request but not yet confirmed in a tagged release.

RemediationAI

Apply the upstream fix from pull request #6718 (https://github.com/HDFGroup/hdf5/pull/6718), which adds bounds checks to H5Z__filter_scaleoffset() to prevent the over-read. As no tagged release incorporating this fix has been independently confirmed, users should either patch their HDF5 source with the PR diff or upgrade to a release that includes it once available. Until a patched version is deployed, avoid opening or processing untrusted HDF5 files; this may be enforced via application sandboxing, process isolation, or file-origin policy, though sandboxing may limit legitimate functionality. If the scale-offset filter is not required for the data being processed, removing it from dataset filter pipelines would avoid the vulnerable code path, but this is not generally configurable and changes the file format. Monitoring for application crashes and restarting affected processes can limit the availability impact. No other vendor-specific workarounds are provided in the available data.

Affected VersionsENISA

HDF5 < 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 data model, library, and file format for storing and managing scientific data, developed by The HDF Group. The scale-offset filter is a lossy compression filter that uses a minimum-bits parameter to reduce the precision of stored values. The filter's configuration is stored in the dataset's filter pipeline message as client data (cd_values), which directly controls parameters like the stored minimum bits and the number of data elements (d_nelmts). In H5Z__filter_scaleoffset(), when the stored minimum bits equal the full precision of the datatype, the decoder computes the output size as d_nelmts * size and copies that many bytes from the compressed chunk buffer without verifying that the chunk actually contains that many bytes. Both d_nelmts and size originate from attacker-controlled filter parameters, making the over-read reliably triggerable with a crafted file. This is classified as CWE-125 (Out-of-bounds Read) and can crash the parsing application. The fix in pull request #6718 adds three checks: ensuring the compressed buffer is at least as large as the parameter header (buf_offset), guarding against integer overflow when computing d_nelmts * p.size, and verifying that the computed output size does not exceed the remaining buffer (*buf_size - buf_offset). The CPE wildcard cpe:2.3:a:the_hdf_group:hdf5:*:*:*:*:*:*:*:* indicates all versions of the HDF Group's HDF5 are potentially affected, while the CVE description specifies HDF5 through 2.2.0 as vulnerable. Exploitation is local (AV:L) and requires passive user interaction (UI:P) to open the file; no authentication is needed (PR:N). The assessed impact is availability only (A:H), with no confirmed data disclosure despite the out-of-bounds read class.

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

Triggered by parsing a local crafted file so AV:L and UI:R; no privileges needed (PR:N); impact is a crash only, hence A:H with C:N/I:N and unchanged scope.

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

Lifecycle Timeline

2
Patch available
Oct 06, 2026 - 22:20 EUVD
CVE Published
Oct 06, 2026 - 20:01 cve.org
MEDIUM 6.8

DescriptionCVE.org

A heap-based buffer over-read in H5Z__filter_scaleoffset() in src/H5Zscaleoffset.c in HDF5 through 2.2.0 lets an attacker cause a denial of service (application crash) with a crafted HDF5 file. When the stored minimum bits equal the full precision of the datatype, the decoder copies d_nelmts * size bytes from the compressed chunk without checking that the chunk holds that many bytes. Both values come from attacker-controlled scale-offset filter parameters in the dataset's filter pipeline message.

Threat Intelligence Overview

EPSS Score
0.1%
Top 98% exploitable
Prevalence
High
foundational scientific/data library embedded across HPC, ML and analytics pipelines
Data Quality
7 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 Yes
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
Defer
Exploitation
None
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.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

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

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