Description
ImageMagick before 7.1.2-18 contains a memory leak vulnerability in the META reader when processing APP1JPEG input paths. Attackers can trigger this memory leak by providing specially crafted APP1JPEG image files, causing denial of service through resource exhaustion.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| ImageMagick | ImageMagick | 7.0.0 – < 7.1.2-18, < 6.9.13-43 | 7.1.2-18 |
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.18+dfsg1-1 | — |
| Debian 13 | imagemagick | 8:7.1.1.43+dfsg1-1+deb13u12 | — |
| Debian 12 | imagemagick | 8:6.9.11.60+dfsg-1.6+deb12u12 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 26.04 LTS | imagemagick | 8:7.1.2.18+dfsg1-1ubuntu0.1~esm2 | USN-8739-1 |
| Ubuntu Pro 24.04 LTS | imagemagick | 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm13 | USN-8739-2 |
| Ubuntu Pro 22.04 LTS | imagemagick | 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm14 | USN-8739-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+esm14 | USN-8739-1 |
| Ubuntu Pro 18.04 LTS | imagemagick | 8:6.9.7.4+dfsg-16ubuntu6.15+esm16 | USN-8739-1 |
| Ubuntu Pro 16.04 LTS | imagemagick | 8:6.8.9.9-7ubuntu5.16+esm24 | USN-8739-1 |
| Ubuntu Pro 14.04 LTS | imagemagick | 8:6.7.7.10-6ubuntu3.13+esm25 | USN-8739-1 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP7 | ImageMagick | 7.1.0.9-150400.6.101.1 | SUSE-SU-2026:3194-1, SUSE-SU-2026:3193-1 |
| SLES 15 SP6 | ImageMagick | 7.1.1.21-150600.3.80.2 | SUSE-SU-2026:3219-1 |
| SLES 12 SP5 | ImageMagick | 6.8.8.1-71.264.1 | SUSE-SU-2026:3192-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.12.1 | SUSE-SU-2026:22829-1 |
| SLES for SAP 15 SP6 | ImageMagick | 7.1.1.21-150600.3.80.2 | SUSE-SU-2026:3219-1 |
| SLES 16.0 | ImageMagick | 7.1.2.0-160000.12.1 | SUSE-SU-2026:22829-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | ImageMagick | 7.1.2.27-2.1 | openSUSE-SU-2026:11273-1 |
| openSUSE Leap 16.0 | ImageMagick | 7.1.2.0-160000.12.1 | openSUSE-SU-2026:21391-1 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | ImageMagick +6 | 1:6.9.13.54-1.amzn2023 | ALAS2023-2026-3115 |
| Amazon Linux 2 | ImageMagick +5 | 6.9.10.97-1.amzn2.0.32 | ALAS2-2026-3939 |
Affected packages
Advisories 12
- WID-SEC-2026-0849 ImageMagick: Mehrere Schwachstellen ermöglichen Denial of Service BSI CERT-Bund (WID) · Sep 28, 2026
- ALAS2023-2026-3115 Moderate: ImageMagick security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Sep 28, 2026
- ALAS2-2026-3939 Moderate: ImageMagick security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Sep 28, 2026
- USN-8739-2 imagemagick vulnerabilities Ubuntu Security Notices (USN) · Sep 15, 2026
- USN-8739-1 imagemagick vulnerabilities Ubuntu Security Notices (USN) · Sep 10, 2026
- SUSE-SU-2026:22829-1 Security update for ImageMagick SUSE / openSUSE Security Updates · Jul 28, 2026
- openSUSE-SU-2026:21391-1 Security update for ImageMagick SUSE / openSUSE Security Updates · Jul 24, 2026
- SUSE-SU-2026:3219-1 Security update for ImageMagick SUSE / openSUSE Security Updates · Jul 24, 2026
- SUSE-SU-2026:3192-1 Security update for ImageMagick SUSE / openSUSE Security Updates · Jul 23, 2026
- SUSE-SU-2026:3194-1 Security update for ImageMagick SUSE / openSUSE Security Updates · Jul 23, 2026
- SUSE-SU-2026:3193-1 Security update for ImageMagick SUSE / openSUSE Security Updates · Jul 23, 2026
- openSUSE-SU-2026:11273-1 ImageMagick-7.1.2.27-2.1 on GA media SUSE / openSUSE Security Updates · Jul 16, 2026
References
- GitHub Security Advisory (GHSA-9r56-3gjq-hqf7) vendor-advisory
- VulnCheck Advisory: ImageMagick - Memory Leak in META Reader APP1JPEG Error Path third-party-advisory