CVE-2026-26197: CWE-125: Out-of-bounds Read in HDFGroup hdf5
HDF5 is a high-performance library and a file format specification that implements the HDF5 data model. If a file is corrupted such that an array datatype's size, the number of elements, and the element size are not in agreement it can trigger an out of bounds read. The array datatype stores the full size of the datatype (`dt->shared->size`) separately from the number of elements (`dt->shared->u.array.nelem`) and the element size (`dt->shared->parent->shared->size`). If any one of these are corrupted so that they don't align with the others (element size * nelem = full size), it can lead to an out of bounds read. Depending on what is corrupted, it can alter the type of out of bounds read triggered. The vulnerability is present only in files that have been maliciously altered, as its generally not possible to independently alter the full size of the datatype, the element count and the element size. As such, this is only present if a malicious actor is altering files, and won't appear in regular usage.
AI Analysis
Technical Summary
The vulnerability in HDF5 occurs due to inconsistent metadata in array datatypes where the full size, element count, and element size fields do not match (element size * number of elements ≠ full size). This inconsistency can lead to an out-of-bounds read (CWE-125) when processing such corrupted files. The flaw is only exploitable if an attacker can supply or alter HDF5 files to have these corrupted values. The vulnerability has a CVSS 4.0 base score of 5.9, indicating medium severity, with network attack vector, high attack complexity, and requires user interaction and partial attack complexity. There is no known exploit in the wild and no vendor patch or fix has been documented at this time.
Potential Impact
An attacker who can supply a maliciously crafted HDF5 file with inconsistent array datatype metadata can trigger an out-of-bounds read in the hdf5 library. This may lead to information disclosure or application instability depending on how the out-of-bounds read is handled. The vulnerability does not affect normal files and requires crafted input. There is no indication of remote code execution or privilege escalation from the provided data.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should avoid processing untrusted or potentially maliciously altered HDF5 files. No official remediation or temporary fix has been provided by the vendor at this time.
CVE-2026-26197: CWE-125: Out-of-bounds Read in HDFGroup hdf5
Description
HDF5 is a high-performance library and a file format specification that implements the HDF5 data model. If a file is corrupted such that an array datatype's size, the number of elements, and the element size are not in agreement it can trigger an out of bounds read. The array datatype stores the full size of the datatype (`dt->shared->size`) separately from the number of elements (`dt->shared->u.array.nelem`) and the element size (`dt->shared->parent->shared->size`). If any one of these are corrupted so that they don't align with the others (element size * nelem = full size), it can lead to an out of bounds read. Depending on what is corrupted, it can alter the type of out of bounds read triggered. The vulnerability is present only in files that have been maliciously altered, as its generally not possible to independently alter the full size of the datatype, the element count and the element size. As such, this is only present if a malicious actor is altering files, and won't appear in regular usage.
CVSS v4.0
Score 5.9medium
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in HDF5 occurs due to inconsistent metadata in array datatypes where the full size, element count, and element size fields do not match (element size * number of elements ≠ full size). This inconsistency can lead to an out-of-bounds read (CWE-125) when processing such corrupted files. The flaw is only exploitable if an attacker can supply or alter HDF5 files to have these corrupted values. The vulnerability has a CVSS 4.0 base score of 5.9, indicating medium severity, with network attack vector, high attack complexity, and requires user interaction and partial attack complexity. There is no known exploit in the wild and no vendor patch or fix has been documented at this time.
Potential Impact
An attacker who can supply a maliciously crafted HDF5 file with inconsistent array datatype metadata can trigger an out-of-bounds read in the hdf5 library. This may lead to information disclosure or application instability depending on how the out-of-bounds read is handled. The vulnerability does not affect normal files and requires crafted input. There is no indication of remote code execution or privilege escalation from the provided data.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should avoid processing untrusted or potentially maliciously altered HDF5 files. No official remediation or temporary fix has been provided by the vendor at this time.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-02-11T19:56:24.813Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a5e3e5d2a4a8d5989464d90
Added to database: 07/20/2026, 15:27:25 UTC
Last enriched: 07/20/2026, 15:43:23 UTC
Last updated: 07/21/2026, 05:45:44 UTC
Views: 13
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.