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

Low 1.9 Published Updated
Exploited in the wild
Not known
Fix
Available

What is CVE-2026-120754?

CVE-2026-120754 is a low-severity vulnerability in HDF Group HDF5, published on 3 Nov 2026.

Official 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.

Weakness: CWE-908

Which versions are affected by CVE-2026-120754?

It affects 1 product.

Status by vendor (4)
WhoReleaseStatusPackages
Upstreamaffectedhdfgroup:hdf5
Red Hatenterprise_linux_ai:3deferredhdf5
Red Hathummingbird:1not affectedhdf5
Red Hatopenstack:13deferredhdf5

Products include HDF Group HDF5.

How do I fix CVE-2026-120754?

Upgrade to a fixed version.

Is CVE-2026-120754 being exploited?

There is no known exploitation of CVE-2026-120754 in the wild and no public exploit code.

All HDF Group HDF5 vulnerabilities

Sources

Also known as AZL-112658, DEBIAN-CVE-2026-120754, ECHO-c79f-49da-8413, GHSA-j35h-4545-xh77, UBUNTU-CVE-2026-120754.

Is CVE-2026-120754 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free