Description
ImageMagick before 6.9.13-57 and 7.x before 7.1.2-32 contains a stack overflow in the MSL decoder caused by an incorrect depth check that fails to limit recursion. Attackers can supply a set of crafted MSL images that exhaust the stack when one of them is read, crashing the process and causing a denial of service.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| ImageMagick | ImageMagick | 7.0.0-0 – < 7.1.2-32, < 6.9.13-57 | 7.1.2-32 |
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:7.1.2.33+dfsg1-1 | — |
| Debian 13 | imagemagick | 8:7.1.1.43+dfsg1-1+deb13u14 | — |
| Debian 12 | imagemagick | 8:6.9.11.60+dfsg-1.6+deb12u15 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | imagemagick | No fix yet | — |
Show 7 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 26.04 LTS | imagemagick | No fix yet | — |
| Ubuntu Pro 24.04 LTS | imagemagick | No fix yet | — |
| Ubuntu Pro 22.04 LTS | imagemagick | No fix yet | — |
| Ubuntu Pro 20.04 LTS | imagemagick | No fix yet | — |
| Ubuntu Pro 18.04 LTS | imagemagick | No fix yet | — |
| Ubuntu Pro 16.04 LTS | imagemagick | No fix yet | — |
| Ubuntu Pro 14.04 LTS | imagemagick | No fix yet | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | ImageMagick | 7.1.2.34-2.1 | openSUSE-SU-2026:12187-1 |
Advisories 2
- WID-SEC-2026-3591 ImageMagick: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 4, 2026
- openSUSE-SU-2026:12187-1 ImageMagick-7.1.2.34-2.1 on GA media SUSE / openSUSE Security Updates · Oct 20, 2026
References
- GitHub Security Advisory (GHSA-462x-739v-qvq2) vendor-advisory
- Patch Commit patch
- ImageMagick6 Patch Commit patch
- VulnCheck Advisory: ImageMagick before 6.9.13-57 and 7.x before 7.1.2-32 Stack Overflow in MSL Decoder third-party-advisory