Description
A heap-based buffer over-read in H5Z__filter_scaleoffset() in src/H5Zscaleoffset.c in HDF5 through 2.2.0 lets an attacker cause a denial of service (application crash) with a crafted HDF5 file. When the stored minimum bits equal the full precision of the datatype, the decoder copies d_nelmts * size bytes from the compressed chunk without checking that the chunk holds that many bytes. Both values come from attacker-controlled scale-offset filter parameters in the dataset's filter pipeline message.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| The HDF Group | HDF5 | < 2.2.0 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | hdf5 | No fix yet | — |
| Debian 13 | hdf5 | No fix yet | — |
| Debian 12 | hdf5 | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | hdf5 +1 | No fix yet | — |
| Ubuntu 26.04 LTS | hdf5 +1 | No fix yet | — |
| Ubuntu 24.04 LTS | hdf5 +1 | No fix yet | — |
| Ubuntu 22.04 LTS | hdf5 +1 | No fix yet | — |
| Ubuntu 20.04 LTS | r-bioc-rhdf5lib | No fix yet | — |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 20.04 LTS | hdf5 | No fix yet | — |
| Ubuntu Pro 18.04 LTS | hdf5 | No fix yet | — |
| Ubuntu Pro 16.04 LTS | hdf5 | No fix yet | — |
| Ubuntu Pro 14.04 LTS | hdf5 | No fix yet | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat Hardened Images 1 | hdf5 +9 | 2.2.0-0.1.2.hum1 | RHSA-2026:73539 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | hdf5 | No fix yet | — |
Advisories 1
- RHSA-2026:73539 Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update Red Hat Security Advisories (RHSA) · Oct 20, 2026