CVE-2026-120754

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.
References
Link Resource
https://github.com/HDFGroup/hdf5/pull/6585 Issue Tracking Patch
Configurations

Configuration 1 (hide)

cpe:2.3:a:hdfgroup:hdf5:*:*:*:*:*:*:*:*

History

03 Nov 2026, 21:10

Type Values Removed Values Added
First Time Hdfgroup
Hdfgroup hdf5
References () https://github.com/HDFGroup/hdf5/pull/6585 - () https://github.com/HDFGroup/hdf5/pull/6585 - Issue Tracking, Patch
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 3.3
CPE cpe:2.3:a:hdfgroup:hdf5:*:*:*:*:*:*:*:*

03 Nov 2026, 16:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-11-03 16:17

Updated : 2026-11-03 21:10


NVD link : CVE-2026-120754

Mitre link : CVE-2026-120754

CVE.ORG link : CVE-2026-120754


JSON object : View

Products Affected

hdfgroup

  • hdf5
CWE
CWE-908

Use of Uninitialized Resource