Description
A heap-use-after-free vulnerability exists in H5T__conv_f_f() in src/H5Tconv.c in HDF5 before 1.14.2. When converting a compound datatype containing floating-point members during a dataset read, a temporary buffer allocated with calloc() is freed and subsequently read from within the same conversion routine. An attacker who can supply a crafted HDF5 file containing a specially constructed compound datatype can trigger the use-after-free when the file is parsed by an application that reads the affected dataset, such as h5dump. This can result in a crash and, depending on heap layout and allocator behavior, may be exploitable for further memory corruption up to remote code execution.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| The HDF Group | HDF5 | < 1.14.2 | — |
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.1.hum1 | RHSA-2026:61630 |
Advisories 1
- RHSA-2026:61630 Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update Red Hat Security Advisories (RHSA) · Sep 22, 2026