CVE-2026-120754
published low CVSS 4.0 · 1.9Uninitialized Heap Memory Disclosure via Truncated Chunk in HDF5 Scale-Offset Filter
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| The HDF Group | — | Scale-Offset Filter< 2.3.0 · Other versions: unaffected | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 1.9 / 10
- Severity
- low
- Provider
- HDFG · cna
- Vector string
- CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:P
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| The HDF Group | Scale-Offset Filter | < 2.3.0 (affected)Default: unaffected | HDFG · cna |
Weaknesses
1- CWE-908 CWE-908 Use of uninitialized resource
References
1Provider assertions
2HDFG · cna
Uninitialized Heap Memory Disclosure via Truncated Chunk in HDF5 Scale-Offset Filter
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- d5e1a3242fc5242e66c32af9e3c283dbf1e3eb45efc2d4f29fb7d1085592b810
- Ingested
- 03 Nov 2026, 18:00:39 UTC
- Source record
- Official CVE record