HDF5 through 2.2.0 contains an uninitialized memory read vulnerability in H5Z__filter_scaleoffset() in src/H5Zscaleoffset.c. The decode path validates...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Ubuntu:Pro:14.04:LTShdf5 |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:16.04:LTShdf5 |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:18.04:LTShdf5 |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:20.04:LTShdf5 |
All versions→ Not listed |
Not listed |
| Ubuntu:22.04:LTShdf5 |
All versions→ Not listed |
Not listed |
| Ubuntu:24.04:LTShdf5 |
All versions→ Not listed |
Not listed |
| Ubuntu:26.10hdf5 |
All versions→ Not listed |
Not listed |
| Ubuntu:26.04:LTShdf5 |
All versions→ Not listed |
Not listed |
This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.
Original description The description as published by the source.
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.
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- report ubuntu.com
- report cve.org
- report github.com
- report github.com