Description
In ImageMagick 7.0.7-36 Q16, the ReadMATImage function in coders/mat.c allows attackers to cause a use after free via a crafted file.
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 | imagemagick | 8:6.9.10.2+dfsg-2 | — |
| Debian 13 | imagemagick | 8:6.9.10.2+dfsg-2 | — |
| Debian 12 | imagemagick | 8:6.9.10.2+dfsg-2 | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 | ImageMagick | 7.0.7.34-3.9.1 | SUSE-SU-2018:2043-1 |
Advisories 1
- SUSE-SU-2018:2043-1 Security update for ImageMagick SUSE / openSUSE Security Updates · Feb 4, 2026