Skip to content
OpenAdvisories
Medium · 6.8 CVE-2026-19025 EUVD-2026-53686GHSA-546v-jw2p-gc8p

HDF5 divide-by-zero (SIGFPE) via mismatched chunk-layout dimensionality and dataspace rank on dataset open

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

Description

H5O__layout_decode in H5Olayout.c in HDF5 through 2.3.0 does not validate that a chunked dataset's stored chunk-layout dimensionality matches its dataspace rank when an existing dataset is opened, whereas this check is performed only at dataset-creation time. This allows attackers to cause a denial of service (divide-by-zero and application crash in H5S__hyper_iter_get_seq_list in src/H5Shyper.c) via a crafted HDF5 file with mismatched chunk/dataspace ranks that is opened and read via H5Dopen2 and H5Dread, e.g. by the h5repack tool.

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.1.hum1 RHSA-2026:61630

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 hdf5 1.14.6-6 —

Advisories 1

References