CVE-2026-26197 Details
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.
A vulnerability in HDF5 versions 2.0.0 prior to 2.1.0 allows for out-of-bounds read operations triggered by corrupted array datatype metadata. The issue arises when the full size of the datatype, the number of elements, and the element size are inconsistent, leading to misaligned data interpretations. This vulnerability is only present in files that have been maliciously altered, as normal usage does not typically allow for such discrepancies.
Users can upgrade to HDF5 version 2.1.0 or later to address this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jul 20, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/HDFGroup/hdf5/security/advisories/GHSA-gh44-7wpq-622f | CISA-ADP | ExploitVendor Advisory |
| https://github.com/HDFGroup/hdf5/security/advisories/GHSA-gh44-7wpq-622f | [email protected] | ExploitVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-125 | Out-of-bounds Read | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| hdfgroup hdf5 | < 2.1.0 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 24, 2026 | CVE Translated | [email protected] |
| Jul 29, 2026 | Initial Analysis | [email protected] |
| Jul 20, 2026 | New CVE Received | [email protected] |
| Jul 20, 2026 | CVE Modified | CISA-ADP |