Live › vulnerability › CVE-2026-120754
A truncated chunk in a crafted HDF5 file makes the scale-offset filter decompress bytes from an uninitialized buffer, so the reader gets unrelated heap contents as dataset data. An attacker who gets a program to read a malicious HDF5 file can leak process memory.
Summary written from the sources below. Check the originals before acting.
First seen by InfraStack 2026-11-03 16:21 UTC. All times on this page are UTC.
Programs that read HDF5 files supplied by someone else and use the scale-offset filter on datasets are the exposed case; the flaw is in the library's decode path. Teams that only read their own trusted HDF5 files, or do not use scale-offset compression, are unlikely to be exposed. The sources do not name a fixed version.
No product ranges from the sources yet.
h5dump --version or the installed package version, and compare it against the fixed release.No fix yet, per the sources.
Each row is the first time that source carried this signal. The analyst’s rows are its own findings.
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.
This page as .md · .json · in your agent: get_signal("CVE-2026-120754")
NVD data is provided by NIST and is public domain. Posts quoted belong to their authors.