CVE-2026-120754Uninitialized Heap Memory Disclosure via Truncated Chunk in HDF5 Scale-Offset Filter
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.
What to do
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | hdf5 | Fix pending | UBUNTU-CVE-2026-120754 | |
| Ubuntu 26.04 | hdf5 | Under investigation | UBUNTU-CVE-2026-120754 | |
| Ubuntu 24.04 | hdf5 | Under investigation | UBUNTU-CVE-2026-120754 | |
| Ubuntu 22.04 | hdf5 | Under investigation | UBUNTU-CVE-2026-120754 | |
| Ubuntu 20.04 | hdf5 | Fix pending | UBUNTU-CVE-2026-120754 | |
| Ubuntu 18.04 | hdf5 | Fix pending | UBUNTU-CVE-2026-120754 | |
| Ubuntu 16.04 | hdf5 | Fix pending | UBUNTU-CVE-2026-120754 | |
| Ubuntu 14.04 | hdf5 | Fix pending | UBUNTU-CVE-2026-120754 | |
| Debian 14 | hdf5 | Will not fix Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned. | DEBIAN-CVE-2026-120754 | |
| Debian 13 | hdf5 | Will not fix Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned. | DEBIAN-CVE-2026-120754 | |
| Debian 12 | hdf5 | Will not fix Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned. | DEBIAN-CVE-2026-120754 |
What the vendor says
As published in the CVE record by HDFG, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- The HDF Group Scale-Offset Filter: affected: < 2.3.0
References
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.