Description
ImageMagick before 7.1.2-30 and 6.9.x before 6.9.13-55 contains a heap-use-after-free vulnerability in the Layer method of PerlMagick. An attacker who supplies a crafted list of images can trigger memory access after deallocation, resulting in a crash (denial of service).
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| ImageMagick | ImageMagick | 7.0.0 – < 7.1.2-30, < 6.9.13-55 | 7.1.2-30 |
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 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 | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP7 | ImageMagick | 7.1.0.9-150400.6.113.1 | SUSE-SU-2026:4691-1, SUSE-SU-2026:4334-1 |
| SLES 15 SP6 | ImageMagick | 7.1.1.21-150600.3.87.1 | SUSE-SU-2026:4376-1 |
| SLES 12 SP5 | ImageMagick | 6.8.8.1-71.273.2 | SUSE-SU-2026:4265-1 |
Show 3 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.15.1 | SUSE-SU-2026:23901-1 |
| SLES for SAP 15 SP6 | ImageMagick | 7.1.1.21-150600.3.87.1 | SUSE-SU-2026:4376-1 |
| SLES 16.0 | ImageMagick | 7.1.2.0-160000.15.1 | SUSE-SU-2026:23901-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | ImageMagick | 7.1.2.31-1.1 | openSUSE-SU-2026:11801-1 |
| openSUSE Leap 16.0 | ImageMagick | 7.1.2.0-160000.15.1 | openSUSE-SU-2026:21911-1 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2 | ImageMagick +5 | 6.9.10.97-1.amzn2.0.32 | ALAS2-2026-3939 |
Advisories 9
- WID-SEC-2026-2967 ImageMagick: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 29, 2026
- SUSE-SU-2026:4691-1 Security update for ImageMagick SUSE / openSUSE Security Updates · Oct 17, 2026
- SUSE-SU-2026:23901-1 Security update for ImageMagick SUSE / openSUSE Security Updates · Sep 30, 2026
- SUSE-SU-2026:4376-1 Security update for ImageMagick SUSE / openSUSE Security Updates · Sep 29, 2026
- ALAS2-2026-3939 Moderate: ImageMagick security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Sep 28, 2026
- openSUSE-SU-2026:21911-1 Security update for ImageMagick SUSE / openSUSE Security Updates · Sep 25, 2026
- SUSE-SU-2026:4334-1 Security update for ImageMagick SUSE / openSUSE Security Updates · Sep 24, 2026
- SUSE-SU-2026:4265-1 Security update for ImageMagick SUSE / openSUSE Security Updates · Sep 19, 2026
- openSUSE-SU-2026:11801-1 ImageMagick-7.1.2.31-1.1 on GA media SUSE / openSUSE Security Updates · Sep 18, 2026
References
- GitHub Security Advisory (GHSA-chf5-8rv9-gjqr) vendor-advisory
- VulnCheck Advisory: ImageMagick before 7.1.2-30 Heap-use-after-free via Layer third-party-advisory