Skip to content
OpenAdvisories
Medium · 6.9 CVE-2026-19027 EUVD-2026-53678GHSA-2pvh-qgr3-wp2r

HDF5 out-of-bounds heap read in N-Bit filter decompression

Published Aug 5, 2026 · Updated Oct 6, 2026 · Assigned by HDFG

Description

The H5Z__nbit_decompress_one_byte, H5Z__nbit_decompress_one_nooptype, and H5Z__nbit_decompress_one_atomic functions in H5Znbit.c in HDF5
prior to 2.3.0 advance a read index into the compressed chunk buffer without bounding it against the buffer's actual size. This allows attackers to cause an out-of-bounds heap read, and in constrained cases disclosure of adjacent heap memory into decompressed dataset values, via a crafted HDF5 file whose N-Bit filter parameters describe more decompressed data than the stored compressed chunk actually contains, triggered via H5Dread, e.g. by the h5ls or h5repack tools.

Affected products

VendorProductAffectedFixed
The HDF Group HDF5 <=2.3.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 hdf5 No fix yet —
Debian 13 hdf5 No fix yet —
Debian 12 hdf5 No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 hdf5 No fix yet —
Ubuntu 26.04 LTS hdf5 No fix yet —
Ubuntu 24.04 LTS hdf5 No fix yet —
Ubuntu 22.04 LTS hdf5 No fix yet —
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 20.04 LTS hdf5 No fix yet —
Ubuntu Pro 18.04 LTS hdf5 No fix yet —
Ubuntu Pro 16.04 LTS hdf5 No fix yet —
Ubuntu Pro 14.04 LTS hdf5 No fix yet —
ReleasePackageFixed inAdvisory
Red Hat Hardened Images 1 hdf5 +9 2.2.0-0.1.2.hum1 RHSA-2026:73539

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 hdf5 1.14.6-6 —

Advisories 1

References