Description
In ImageMagick before 6.9.7-10, there is a crash (rather than a "width or height exceeds limit" error report) if the image dimensions are too large, as demonstrated by use of the mpc coder.
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-13 | — |
| Debian 13 | imagemagick | 8:6.9.7.4+dfsg-13 | — |
| Debian 12 | imagemagick | 8:6.9.7.4+dfsg-13 | — |
| Debian 9 | imagemagick | 8:6.9.7.4+dfsg-11+deb9u2 | DSA-4019-1 |
| Debian 8 | imagemagick | 8:6.8.9.9-5+deb8u11 | DSA-4040-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 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 16.04 LTS | imagemagick | 8:6.8.9.9-7ubuntu5.16+esm2 | USN-5335-1 |
| Ubuntu Pro 14.04 LTS | imagemagick | 8:6.7.7.10-6ubuntu3.13+esm8 | USN-6980-1 |
Advisories 8
- USN-6980-1 imagemagick vulnerabilities Ubuntu Security Notices (USN) · Jun 29, 2026
- USN-5335-1 imagemagick vulnerabilities Ubuntu Security Notices (USN) · Jun 25, 2026
- USN-3681-1 imagemagick vulnerabilities Ubuntu Security Notices (USN) · Apr 22, 2026
- DSA-4019-1 imagemagick - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DSA-4040-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
- DSA-4040 vendor-advisory
- USN-3681-1 vendor-advisory
- GLSA-201711-07 vendor-advisory
- DSA-4019 vendor-advisory
- https://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=31438
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=869728