Description
H5Z__filter_nbit in H5Znbit.c in HDF5 prior to 2.3.0 dereferences cd_values[0] through cd_values[4] without validating that cd_values is non-NULL or that cd_nelmts is at least 5, the fixed size of the filter's header. This allows attackers to cause a denial of service via a crafted HDF5 file that stores the N-Bit filter pipeline message with zero client-data values, opened and read via H5Dread, e.g. by the h5ls or h5repack tools.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| The HDF Group | HDF5 | <=2.3.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 | No fix yet | — |
| Ubuntu 26.04 LTS | hdf5 | No fix yet | — |
| Ubuntu 24.04 LTS | hdf5 | No fix yet | — |
| Ubuntu 22.04 LTS | hdf5 | 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 | 1.14.6-6 | — |
Advisories 1
- RHSA-2026:73539 Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update Red Hat Security Advisories (RHSA) · Oct 20, 2026