Description
A buffer overflow in H5O__layout_encode in H5Olayout.c in the HDF HDF5 through 1.10.4 library allows attackers to cause a denial of service via a crafted HDF5 file. This issue was triggered while repacking an HDF5 file, aka "Invalid write of size 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 | 1.14.5+repack-1 | — |
| Debian 13 | hdf5 | 1.14.5+repack-1 | — |
| Debian 12 | hdf5 | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP5 | hdf5_1_10_11-gnu-hpc +4 | 1.10.11-150400.3.12.1 | SUSE-SU-2024:0538-1 |
| SLES 15 SP4 | hdf5_1_10_8-gnu-hpc +4 | 1.10.8-150400.3.3.1 | SUSE-SU-2022:3825-1 |
| SLES 15 SP3 | hdf5_1_10_8-gnu-hpc +4 | 1.10.8-150300.4.6.1 | SUSE-SU-2022:3829-1 |
| SLES 12 | hdf5_1_10_11-gnu-hpc +2 | 1.10.11-3.21.1 | SUSE-SU-2024:0882-1 |
| SLES 12 | hdf5_1_10_8-gnu-hpc +2 | 1.10.8-3.15.1 | SUSE-SU-2022:3824-1 |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLE HPC 15 SP3 | adios_1_13_1-gnu-mpich-hpc +3 | 1.13.1-150300.12.4.2 | SUSE-SU-2024:3144-1 |
| SLE HPC 15 SP3 | hdf5_1_10_11-gnu-hpc +4 | 1.10.11-150300.4.16.15 | SUSE-SU-2024:3144-1 |
| SLE HPC 15 SP3 | netcdf_4_7_4-gnu-hpc +1 | 4.7.4-150300.4.7.19 | SUSE-SU-2024:3144-1 |
| SLE HPC 15 SP3 | netcdf_4_7_4-gnu-mvapich2-hpc | 4.7.4-150300.4.7.20 | SUSE-SU-2024:3144-1 |
| SLE HPC 15 SP3 | netcdf_4_7_4-gnu-openmpi3-hpc | 4.7.4-150300.4.7.17 | SUSE-SU-2024:3144-1 |
| SLE HPC 15 SP3 | netcdf_4_7_4-gnu-openmpi4-hpc | 4.7.4-150300.4.7.21 | SUSE-SU-2024:3144-1 |
| SLE HPC 15 SP3 | petsc | 3.14.5-150300.3.4.3 | SUSE-SU-2024:3144-1 |
| SLE HPC 15 SP3 | petsc_3_14_5-gnu-mpich-hpc +3 | 3.14.5-150300.3.4.4 | SUSE-SU-2024:3144-1 |
| SLE HPC 15 SP3 | trilinos_13_2_0-gnu-mpich-hpc +2 | 13.2.0-150300.3.12.18 | SUSE-SU-2024:3144-1 |
| SLE HPC 15 SP3 | trilinos_13_2_0-gnu-openmpi3-hpc | 13.2.0-150300.3.12.16 | SUSE-SU-2024:3144-1 |
| SLE HPC 15 SP3 | trilinos_13_2_0-hpc | 13.2.0-150300.3.12.9 | SUSE-SU-2024:3144-1 |
| SLE HPC 15 SP2 | hdf5_1_10_8-gnu-hpc +4 | 1.10.8-150200.8.7.1 | SUSE-SU-2022:3826-1 |
| SLE HPC 15 SP1 | hdf5_1_10_8-gnu-hpc +3 | 1.10.8-150100.7.7.1 | SUSE-SU-2022:3827-1 |
| SLE HPC 15 | hdf5_1_10_8-gnu-hpc +3 | 1.10.8-150000.8.7.1 | SUSE-SU-2022:3828-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap 15.5 | hdf5_1_10_11-gnu-hpc +4 | 1.10.11-150400.3.12.1 | SUSE-SU-2024:0538-1 |
| openSUSE Leap 15.4 | hdf5_1_10_8-gnu-hpc +3 | 1.10.8-150100.7.7.1 | SUSE-SU-2022:3829-1, SUSE-SU-2022:3827-1 |
| openSUSE Leap 15.4 | hdf5_1_10_8-gnu-openmpi3-hpc +1 | 1.10.8-150300.4.6.1 | SUSE-SU-2022:3829-1 |
| openSUSE Leap 15.3 | hdf5_1_10_8-gnu-hpc +4 | 1.10.8-150300.4.6.1 | SUSE-SU-2022:3829-1 |
Advisories 9
- SUSE-SU-2022:3829-1 Security update for hdf5 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:3826-1 Security update for hdf5 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2024:0538-1 Security update for hdf5 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2024:3144-1 Security update for hdf5, netcdf, trilinos SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:3827-1 Security update for hdf5 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:3828-1 Security update for hdf5 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2024:0882-1 Security update for hdf5 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:3825-1 Security update for hdf5 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:3824-1 Security update for hdf5 SUSE / openSUSE Security Updates · May 2, 2025