Skip to content
OpenAdvisories
Low · 1.9 CVE-2026-120754 EUVD-2026-115912GHSA-j35h-4545-xh77

Uninitialized Heap Memory Disclosure via Truncated Chunk in HDF5 Scale-Offset Filter

Published Nov 3, 2026 · Updated Nov 3, 2026 · Assigned by HDFG

Description

HDF5 through 2.2.0 contains an uninitialized memory read vulnerability in H5Z__filter_scaleoffset() in src/H5Zscaleoffset.c. The decode path validates reads against the allocated size of the chunk buffer rather than the number of bytes actually read from the file. Because H5D__chunk_lock() deliberately sizes filtered chunk buffers to the larger of the stored and unfiltered chunk sizes and fills only the stored bytes, a truncated chunk passes these bounds checks and is decompressed from the uninitialized remainder of the allocation. Unrelated heap contents are then returned to the caller as dataset data. Because the reads remain within the allocation, the issue is not detected by AddressSanitizer. An attacker who can get a user or application to read a dataset from a crafted HDF5 file can cause disclosure of process memory. This issue exists because of an incomplete fix for CVE-2026-19029.

Affected products

VendorProductAffectedFixed
The HDF Group Scale-Offset Filter < 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 —

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 hdf5 No fix yet —

References