Description
The ReadMATImageV4 function in coders/mat.c in ImageMagick 7.0.8-7 uses an uninitialized variable, leading to memory corruption.
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.8+dfsg-1 | — |
| Debian 13 | imagemagick | 8:6.9.10.8+dfsg-1 | — |
| Debian 12 | imagemagick | 8:6.9.10.8+dfsg-1 | — |
| Debian 9 | imagemagick | 8:6.9.7.4+dfsg-11+deb9u9 | DLA-2333-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | imagemagick | 8:6.9.7.4+dfsg-16ubuntu6.4 | USN-3785-1 |
| Ubuntu 16.04 LTS | imagemagick | 8:6.8.9.9-7ubuntu5.13 | USN-3785-1 |
| Ubuntu 14.04 LTS | imagemagick | 8:6.7.7.10-6ubuntu3.13 | USN-3785-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.16 | imagemagick6 | 6.9.10.37-r0 | — |
| Alpine v3.15 | imagemagick6 | 6.9.10.37-r0 | — |
| Alpine v3.14 | imagemagick6 | 6.9.10.37-r0 | — |
| Alpine v3.13 | imagemagick6 | 6.9.10.37-r0 | — |
| Alpine v3.12 | imagemagick6 | 6.9.10.37-r0 | — |
Show 5 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.11 | imagemagick6 | 6.9.10.37-r0 | — |
| Alpine v3.10 | imagemagick6 | 6.9.10.37-r0 | — |
| Alpine v3.9 | imagemagick6 | 6.9.10.39-r0 | — |
| Alpine v3.8 | imagemagick6 | 6.9.10.39-r0 | — |
| Alpine v3.7 | imagemagick6 | 6.9.10.39-r0 | — |
Advisories 2
- USN-3785-1 imagemagick vulnerabilities Ubuntu Security Notices (USN) · Apr 22, 2026
- DLA-2333-1 imagemagick - security update Debian Security (DSA / DLA) · Mar 9, 2026