CVE-2026-26197

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

Configuration 1 (hide)

cpe:2.3:a:hdfgroup:hdf5:*:*:*:*:*:*:*:*

History

29 Jul 2026, 15:42

Type Values Removed Values Added
References () https://github.com/HDFGroup/hdf5/security/advisories/GHSA-gh44-7wpq-622f - () https://github.com/HDFGroup/hdf5/security/advisories/GHSA-gh44-7wpq-622f - Exploit, Vendor Advisory
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.5
First Time Hdfgroup hdf5
Hdfgroup
CPE cpe:2.3:a:hdfgroup:hdf5:*:*:*:*:*:*:*:*

20 Jul 2026, 16:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-07-20 16:16

Updated : 2026-07-29 15:42


NVD link : CVE-2026-26197

Mitre link : CVE-2026-26197

CVE.ORG link : CVE-2026-26197


JSON object : View

Products Affected

hdfgroup

  • hdf5
CWE
CWE-125

Out-of-bounds Read