Description
In ImageMagick before 6.9.7-6 and 7.x before 7.0.4-6, the ReadMATImage function in coders/mat.c uses uninitialized data, which might allow remote attackers to obtain sensitive information from process memory.
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.7.4+dfsg-14 | — |
| Debian 13 | imagemagick | 8:6.9.7.4+dfsg-14 | — |
| Debian 12 | imagemagick | 8:6.9.7.4+dfsg-14 | — |
| Debian 9 | imagemagick | 8:6.9.7.4+dfsg-11+deb9u2 | DSA-4019-1 |
| Debian 8 | imagemagick | 8:6.8.9.9-5+deb8u12 | DSA-4204-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 7 | imagemagick | 8:6.7.7.10-5+deb7u16 | DLA-1081-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | imagemagick | 8:6.9.7.4+dfsg-16ubuntu6.2 | USN-3681-1 |
| Ubuntu 16.04 LTS | imagemagick | 8:6.8.9.9-7ubuntu5.11 | USN-3681-1 |
| Ubuntu 14.04 LTS | imagemagick | 8:6.7.7.10-6ubuntu3.11 | USN-3681-1 |
Advisories 6
- USN-3681-1 imagemagick vulnerabilities Ubuntu Security Notices (USN) · Apr 22, 2026
- DSA-4204-1 imagemagick - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DSA-4019-1 imagemagick - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-1081-1 imagemagick - security update Debian Security (DSA / DLA) · Mar 9, 2026
- WID-SEC-2024-0172 ImageMagick: Mehrere Schwachstellen ermöglichen Denial of Service BSI CERT-Bund (WID) · Aug 22, 2024
- WID-SEC-2024-0171 ImageMagick: Mehrere Schwachstellen BSI CERT-Bund (WID) · Mar 19, 2024
References
- https://github.com/ImageMagick/ImageMagick/commit/51b0ae01709adc1e4a9245e158ef17b85a110960
- USN-3681-1 vendor-advisory
- GLSA-201711-07 vendor-advisory
- DSA-4019 vendor-advisory
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=870012
- DSA-4204 vendor-advisory
- https://github.com/ImageMagick/ImageMagick/issues/362