CVEfocus › CVE database › CVE-2026-26197

CVE-2026-26197Array full size, element count, and element size are not checked to make sure they match…

CVSS 5.9 MediumEPSS 0.4% (higher than 23% of CVEs)Published 2026-07-20Updated 2026-07-20Assigner: GitHub_M

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.

CWE-125

What to do

Fixed builds are available from Debian: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

1Fixed
5Fix pending
3Under investigation
2Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10hdf5Fix pendingUBUNTU-CVE-2026-26197
Ubuntu 26.04hdf5Under investigationUBUNTU-CVE-2026-26197
Ubuntu 24.04hdf5Under investigationUBUNTU-CVE-2026-26197
Ubuntu 22.04hdf5Under investigationUBUNTU-CVE-2026-26197
Ubuntu 20.04hdf5Fix pendingUBUNTU-CVE-2026-26197
Ubuntu 18.04hdf5Fix pendingUBUNTU-CVE-2026-26197
Ubuntu 16.04hdf5Fix pendingUBUNTU-CVE-2026-26197
Ubuntu 14.04hdf5Fix pendingUBUNTU-CVE-2026-26197
Debian 14hdf5Fixed2.1.0+repack-1DEBIAN-CVE-2026-26197
Debian 13hdf5Will not fix
Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned.
DEBIAN-CVE-2026-26197
Debian 12hdf5Will not fix
Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned.
DEBIAN-CVE-2026-26197

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.