Skip to main content

HDF5 CVE-2026-26199

| EUVDEUVD-2026-45970 MEDIUM
Buffer Underwrite ('Buffer Underflow') (CWE-124)
2026-07-20 GitHub_M
5.9
CVSS 4.0 · Vendor: GitHub_M
View

Attack ChainAIDerived

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

  1. Access
    Craft malicious HDF5 file inducing size=0 group name query
  2. Delivery
    Deliver file to victim via email or file share
  3. Exploit
    Victim opens file in HDF5-dependent application
  4. Execution
    Application calls H5Iget_name with size=0 on group identifier
  5. Persist
    Null terminator written before name buffer boundary
  6. Impact
    Application crash or adjacent heap memory corruption

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Buffer boundary checks
Exploitation Conditions

Exploitation requires that an application calls H5Iget_name on a valid group identifier while passing size equal to zero - a condition that a crafted HDF5 file's group name structure can induce in applications that derive the size argument from file-supplied data without prior validation. The CVSS 4.0 AT:P metric confirms specific attack requirements must be present: the library is not universally exploitable on default invocations; the vulnerable code path must be reached through the attacker's file triggering the size=0 scenario. Active user interaction is mandatory (UI:A): a human must open or submit the malicious file for processing. High attack complexity (AC:H) further limits exploitation to scenarios where heap layout satisfies the underflow impact condition. Exploitation is therefore restricted to applications that (1) run HDF5 ≤ 1.14.6, (2) call H5Iget_name on group IDs with a size value influenced by file content, and (3) process files from untrusted external sources. Applications that validate size before calling H5Iget_name, or that only process fully trusted files, are not at realistic risk.

Impact

The CVSS 4.0 score of 5.9 (AV:N/AC:H/AT:P/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N) reflects moderate, constrained real-world risk. The AT:P metric confirms specific attack requirements must be satisfied - arbitrary HDF5 files do not universally trigger the flaw; a crafted file structure must induce the size=0 code path. AC:H further indicates that even when the conditions exist, heap layout or memory context must align for meaningful impact beyond a clean crash. The mandatory active user interaction (UI:A) rules out fully automated, wormable exploitation. The primary confirmed impact is availability (VA:H, application crash); confidentiality and integrity impacts are not confirmed by the CVSS vector, though the 'Information Disclosure' tag is a residual uncertainty. EPSS data is absent from the supplied intelligence and cannot be cited. The vulnerability is not in CISA KEV and no public exploit code has been identified, reinforcing that this is not an actively weaponized issue at time of analysis. Real-world priority should be moderate: organizations that process HDF5 files from untrusted or external sources should patch promptly; those with fully trusted, air-gapped data pipelines face materially lower urgency.

Exploit ScenarioDerived

An attacker crafts a malicious HDF5 file whose internal group structure induces a downstream call to H5Iget_name with size set to zero, then delivers that file to a target researcher, data engineer, or scientific application user via email, file share, or web download. When the victim opens the file in any application built on HDF5 ≤ 1.14.6, the buffer underflow writes a null byte before the name buffer boundary, crashing the application or corrupting adjacent heap memory. No public exploit code has been identified at time of analysis, meaning successful exploitation currently requires an attacker capable of constructing the precise triggering HDF5 file structure.

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

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

Alert me

AnalysisAIv1 – Jul 20, 2026

Buffer underflow in HDF5 library versions through 1.14.6 corrupts memory when H5Iget_name is called with a size parameter of zero on a group identifier, writing a null terminator before the intended buffer boundary and potentially crashing the host application. Applications that ingest attacker-supplied HDF5 files and expose user-controlled size values to H5Iget_name face availability disruption and, under specific heap layouts, possible disclosure of adjacent memory contents. No public exploit has been identified at time of analysis and the vulnerability is absent from CISA KEV; the CVSS 4.0 score of 5.9 reflects the high attack complexity and required active user interaction that meaningfully constrain real-world exploitation.

RemediationAI

The primary fix is to upgrade HDF5 beyond version 1.14.6 once a patched release is published by The HDF Group. At time of analysis, a specific patched release version is not independently confirmed from the supplied data - the upstream fix is visible in the develop branch at https://github.com/HDFGroup/hdf5/blob/develop/src/H5Gname.c#L474, but a formally tagged release has not been confirmed in the available intelligence; the vendor advisory at https://github.com/HDFGroup/hdf5/security/advisories/GHSA-5c6x-jmgf-f5vc should be consulted directly to obtain the confirmed fix version before upgrading. As a compensating control prior to patching, any application calling H5Iget_name should guard that the size argument is never zero before the function is invoked - a single conditional check prevents the underflow entirely with no functional side effects. Additionally, restrict HDF5 file ingestion strictly to verified, trusted sources and reject or sandbox externally supplied files; this eliminates the delivery vector without requiring a library change.

Affected VersionsENISA

HDF5 ≤ 1.14.6

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 high-performance scientific data library and file format maintained by The HDF Group (CPE: cpe:2.3:a:hdfgroup:hdf5:*:*:*:*:*:*:*:*). The affected function H5Iget_name retrieves the string name of an HDF5 object given its identifier; the size parameter is intended to bound the destination buffer. The defect manifests in H5Gname.c at line 474: when size equals zero, the arithmetic computing the null terminator's write offset underflows, producing a write position before the start of the name buffer. CWE-124 (Buffer Underwrite / 'Buffer Underflow') precisely classifies this root cause - a computed write index falls below the buffer's base address, corrupting adjacent heap metadata or live application data. The vendor-supplied 'Information Disclosure' tag suggests that under specific heap layouts the underflowing write or subsequent misread could expose memory contents preceding the name buffer, though the CVSS 4.0 vector records VC:N indicating no confirmed confidentiality impact in the primary exploit scenario - this is a minor conflicting signal that warrants verification against the full advisory.

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 (GitHub_M) PRIMARY 5.9 MEDIUM
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
vuln.today AI 5.3 MEDIUM

File delivered over network (AV:N), specific size=0 trigger condition required (AC:H), no privileges needed (PR:N), victim must open crafted file (UI:R), confirmed impact is crash only (A:H, C/I:N).

3.1 AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H
4.0 AV:N/AC:H/AT:P/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
SUSE 5.3 MEDIUM
AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H
Red Hat 5.3 MEDIUM

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
High
Attack Requirements
Present
Privileges Required
None
User Interaction
Active
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

HDF5 is a high-performance library and a file format specification that implements the HDF5 data model. If H5Iget_name is invoked on a group id with 0 for the size parameter, it will underflow when trying to place a null terminator in the buffer. This can occur if H5Iget_name is invoked in a way where size can be forced to zero, and there is important data before the name buffer.

Threat Intelligence Overview

EPSS Score
0.3%
Top 80% exploitable
Prevalence
Medium
widely used in scientific computing, research institutions, and big data pipelines
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment MSRC Vendor GitHub

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.3%
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
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

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

Attack Technique

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

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