Description
matio (aka MAT File I/O Library) 1.5.20 and 1.5.21 has a heap-based buffer overflow in H5MM_memcpy (called from H5MM_malloc and H5C_load_entry), related to use of HDF5 1.12.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.
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 22.04 LTS | libmatio | No fix yet | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SUSE Package Hub 15 SP4 | matio | 1.5.23-bp154.2.3.1 | openSUSE-SU-2022:10235-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap 15.4 | matio | 1.5.23-bp154.2.3.1 | openSUSE-SU-2022:10235-1 |
Advisories 1
- openSUSE-SU-2022:10235-1 Security update for matio SUSE / openSUSE Security Updates · Feb 4, 2026
References
- https://github.com/google/oss-fuzz-vulns/blob/main/vulns/matio/OSV-2021-440.yaml
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=31265
- https://github.com/google/oss-fuzz-vulns/commit/37b781ace1b4228fc36483bb7e30c72ea9d4c3d6
- https://github.com/HDFGroup/hdf5/issues/272
- https://github.com/google/oss-fuzz/issues/4999