Description
matio (aka MAT File I/O Library) 1.5.18 through 1.5.21 has a heap-based buffer overflow in ReadInt32DataDouble (called from ReadInt32Data and Mat_VarRead4).
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 | libmatio | 1.5.22-1 | — |
| Debian 13 | libmatio | 1.5.22-1 | — |
| Debian 12 | libmatio | 1.5.22-1 | — |
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 Tumbleweed | matio | 1.5.23-1.1 | openSUSE-SU-2024:12079-1 |
| openSUSE Leap 15.4 | matio | 1.5.23-bp154.2.3.1 | openSUSE-SU-2022:10235-1 |
Advisories 2
- openSUSE-SU-2024:12079-1 libmatio-devel-1.5.23-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2022:10235-1 Security update for matio SUSE / openSUSE Security Updates · Feb 4, 2026