Description
ImageMagick before 7.1.2-31 and before 6.9.13-56 contains a policy bypass in the PCD (and, per the upstream advisory, CUBE and HALD) coder: when a specific command line option is supplied, the decoder does not check a configured resource limit, which can result in extra memory allocation. A local user able to pass command line options to ImageMagick can therefore exceed the intended memory policy limit, causing a limited availability impact. The issue is fixed in 7.1.2-31 and 6.9.13-56.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| ImageMagick | ImageMagick | 7.0.0 – < 7.1.2-31, < 6.9.13-56 | 7.1.2-31 |
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.31+dfsg1-1 | — |
| Debian 13 | imagemagick | 8:7.1.1.43+dfsg1-1+deb13u13 | — |
| Debian 12 | imagemagick | 8:6.9.11.60+dfsg-1.6+deb12u14 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 26.04 LTS | imagemagick | 8:7.1.2.18+dfsg1-1ubuntu0.1~esm4 | USN-8859-1 |
| Ubuntu Pro 24.04 LTS | imagemagick | 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm15 | USN-8859-1 |
| Ubuntu Pro 22.04 LTS | imagemagick | 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm16 | USN-8859-1 |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 20.04 LTS | imagemagick | 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm16 | USN-8859-1 |
| Ubuntu Pro 18.04 LTS | imagemagick | 8:6.9.7.4+dfsg-16ubuntu6.15+esm18 | USN-8859-1 |
| Ubuntu Pro 16.04 LTS | imagemagick | 8:6.8.9.9-7ubuntu5.16+esm26 | USN-8859-1 |
| Ubuntu Pro 14.04 LTS | imagemagick | 8:6.7.7.10-6ubuntu3.13+esm27 | USN-8859-1 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP7 | ImageMagick | 7.1.0.9-150400.6.122.1 | SUSE-SU-2026:4799-1, SUSE-SU-2026:4691-1 |
| SLES 15 SP6 | ImageMagick | 7.1.0.9-150400.6.122.1 | SUSE-SU-2026:4799-1, SUSE-SU-2026:4376-1 |
| SLES 15 SP5 | ImageMagick | 7.1.0.9-150400.6.122.1 | SUSE-SU-2026:4799-1 |
| SLES 15 SP4 | ImageMagick | 7.1.0.9-150400.6.122.1 | SUSE-SU-2026:4799-1 |
Show 7 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 16.0 | ImageMagick | 7.1.2.0-160000.16.1 | SUSE-SU-2026:23948-1 |
| SLES for SAP 15 SP6 | ImageMagick | 7.1.0.9-150400.6.122.1 | SUSE-SU-2026:4799-1, SUSE-SU-2026:4376-1 |
| SLES for SAP 15 SP5 | ImageMagick | 7.1.0.9-150400.6.122.1 | SUSE-SU-2026:4799-1 |
| SLES for SAP 15 SP4 | ImageMagick | 7.1.0.9-150400.6.122.1 | SUSE-SU-2026:4799-1 |
| SLES 16.0 | ImageMagick | 7.1.2.0-160000.16.1 | SUSE-SU-2026:23948-1 |
| SLE HPC 15 SP5 | ImageMagick | 7.1.0.9-150400.6.122.1 | SUSE-SU-2026:4799-1 |
| SLE HPC 15 SP4 | ImageMagick | 7.1.0.9-150400.6.122.1 | SUSE-SU-2026:4799-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | ImageMagick | 7.1.2.31-2.1 | openSUSE-SU-2026:11854-1 |
| openSUSE Leap 16.0 | ImageMagick | 7.1.2.0-160000.16.1 | openSUSE-SU-2026:21973-1 |
Advisories 8
- WID-SEC-2026-3188 ImageMagick: Mehrere Schwachstellen ermöglichen Denial of Service BSI CERT-Bund (WID) · Oct 29, 2026
- USN-8859-1 imagemagick vulnerabilities Ubuntu Security Notices (USN) · Oct 22, 2026
- SUSE-SU-2026:4799-1 Security update for ImageMagick SUSE / openSUSE Security Updates · Oct 21, 2026
- SUSE-SU-2026:4691-1 Security update for ImageMagick SUSE / openSUSE Security Updates · Oct 17, 2026
- SUSE-SU-2026:23948-1 Security update for ImageMagick SUSE / openSUSE Security Updates · Oct 2, 2026
- openSUSE-SU-2026:21973-1 Security update for ImageMagick SUSE / openSUSE Security Updates · Oct 1, 2026
- SUSE-SU-2026:4376-1 Security update for ImageMagick SUSE / openSUSE Security Updates · Sep 29, 2026
- openSUSE-SU-2026:11854-1 ImageMagick-7.1.2.31-2.1 on GA media SUSE / openSUSE Security Updates · Sep 24, 2026
References
- GitHub Security Advisory (GHSA-89wq-f8f6-2j2v) vendor-advisory
- VulnCheck Advisory: ImageMagick before 7.1.2-31 Policy Bypass via PCD decoder third-party-advisory