CVE-2026-26197

MEDIUM CVSS 4.0: 5.9 EPSS 0.37%
Updated Oct 24, 2026
Hdfgroup
Parameter Value
CVSS 5.9 (MEDIUM)
Affected Versions before 2.1.0
Fixed In 2.1.0
Type CWE-125 (Out-of-bounds Read)
Vendor Hdfgroup
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
High
Difficult to exploit
Attack Requirements
Present
Additional conditions required
Privileges Required
None
No privileges needed
User Interaction
Active
User action required

Impact Assessment

Confidentiality
None
No data leak
Integrity
None
No data modification
Availability
High
Complete denial of service

CVSS Vector v4.0

Weakness Type (CWE)

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Hdfgroup Hdf5
cpe:2.3:a:hdfgroup:hdf5:*:*:*:*:*:*:*:*
— 2.1.0