Description
ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 7.1.2-15 and 6.9.13-40, ImageMagick’s path security policy is enforced on the raw filename string before the filesystem resolves it. As a result, a policy rule such as /etc/* can be bypassed by a path traversal. The OS resolves the traversal and opens the sensitive file, but the policy matcher only sees the unnormalized path and therefore allows the read. This enables local file disclosure (LFI) even when policy-secure.xml is applied. Actions to prevent reading from files have been taken in versions .7.1.2-15 and 6.9.13-40 But it make sure writing is also not possible the following should be added to one's policy. This will also be included in ImageMagick's more secure policies by default.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| ImageMagick | ImageMagick | >= 7.0.0, < 7.1.2-15, < 6.9.13-40 | — |
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.15+dfsg1-1 | — |
| Debian 13 | imagemagick | 8:7.1.1.43+dfsg1-1+deb13u6 | DSA-6158-1 |
| Debian 12 | imagemagick | 8:6.9.11.60+dfsg-1.6+deb12u7 | DSA-6159-1 |
| Debian 11 | imagemagick | 8:6.9.11.60+dfsg-1.3+deb11u10 | DLA-4497-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 25.10 | imagemagick | 8:7.1.2.3+dfsg1-1ubuntu0.1 | USN-8263-1 |
Show 6 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 24.04 LTS | imagemagick | 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm9 | USN-8263-1 |
| Ubuntu Pro 22.04 LTS | imagemagick | 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm10 | USN-8263-1 |
| Ubuntu Pro 20.04 LTS | imagemagick | 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm10 | USN-8263-1 |
| Ubuntu Pro 18.04 LTS | imagemagick | 8:6.9.7.4+dfsg-16ubuntu6.15+esm12 | USN-8263-1 |
| Ubuntu Pro 16.04 LTS | imagemagick | 8:6.8.9.9-7ubuntu5.16+esm20 | USN-8263-1 |
| Ubuntu Pro 14.04 LTS | imagemagick | 8:6.7.7.10-6ubuntu3.13+esm21 | USN-8263-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 7 ELS | ImageMagick +4 | 6.9.10.68-13.el7_9 | RHSA-2026:5573 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP7 | ImageMagick | 7.1.0.9-150400.6.68.2 | SUSE-SU-2026:0853-1, SUSE-SU-2026:0851-1 |
| SLES 15 SP6 | ImageMagick | 7.1.0.9-150400.6.68.2 | SUSE-SU-2026:0853-1, SUSE-SU-2026:0852-1 |
| SLES 15 SP5 | ImageMagick | 7.1.0.9-150400.6.68.2 | SUSE-SU-2026:0853-1 |
| SLES 15 SP4 | ImageMagick | 7.1.0.9-150400.6.68.2 | SUSE-SU-2026:0853-1 |
Show 5 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 15 SP6 | ImageMagick | 7.1.0.9-150400.6.68.2 | SUSE-SU-2026:0853-1, SUSE-SU-2026:0852-1 |
| SLES for SAP 15 SP5 | ImageMagick | 7.1.0.9-150400.6.68.2 | SUSE-SU-2026:0853-1 |
| SLES for SAP 15 SP4 | ImageMagick | 7.1.0.9-150400.6.68.2 | SUSE-SU-2026:0853-1 |
| SLE HPC 15 SP5 | ImageMagick | 7.1.0.9-150400.6.68.2 | SUSE-SU-2026:0853-1 |
| SLE HPC 15 SP4 | ImageMagick | 7.1.0.9-150400.6.68.2 | SUSE-SU-2026:0853-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | ImageMagick | 7.1.2.15-1.1 | openSUSE-SU-2026:10267-1 |
| openSUSE Leap 16.0 | ImageMagick | 7.1.2.0-160000.6.1 | openSUSE-SU-2026:20337-1 |
| openSUSE Leap 15.6 | ImageMagick | 7.1.1.21-150600.3.42.2 | SUSE-SU-2026:0852-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | imagemagick | 7.1.2.15-r0 | — |
| Alpine v3.23 | imagemagick | 7.1.2.15-r0 | — |
| Alpine v3.22 | imagemagick | 7.1.2.15-r0 | — |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | ImageMagick +6 | 1:6.9.13.40-1.amzn2023.0.1 | ALAS2023-2026-1478 |
| Amazon Linux 2 | ImageMagick +5 | 6.9.10.97-1.amzn2.0.22 | ALAS2-2026-3211 |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 7 | ImageMagick +5 | 6.9.10.68-7.0.7.el7_9 | ELSA-2026-5573 |
Affected packages
Advisories 15
- USN-8263-1 imagemagick vulnerabilities Ubuntu Security Notices (USN) · Oct 27, 2026
- WID-SEC-2026-0484 ImageMagick: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 25, 2026
- RHSA-2026:5573 Red Hat Security Advisory: ImageMagick security update Red Hat Security Advisories (RHSA) · Jun 30, 2026
- ALAS2023-2026-1478 Important: ImageMagick security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Jun 26, 2026
- ELSA-2026-5573 Important: ImageMagick security update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Apr 7, 2026
- ALAS2-2026-3211 Important: ImageMagick security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Apr 1, 2026
- VDE-2026-021 WAGO: Multiple Vulnerabilities in WAGO VC Hub CERT@VDE · Mar 30, 2026
- DSA-6159-1 imagemagick - security update Debian Security (DSA / DLA) · Mar 23, 2026
- DLA-4497-1 imagemagick - security update Debian Security (DSA / DLA) · Mar 23, 2026
- DSA-6158-1 imagemagick - security update Debian Security (DSA / DLA) · Mar 23, 2026
- openSUSE-SU-2026:20337-1 Security update for ImageMagick SUSE / openSUSE Security Updates · Mar 23, 2026
- openSUSE-SU-2026:10267-1 ImageMagick-7.1.2.15-1.1 on GA media SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2026:0852-1 Security update for ImageMagick SUSE / openSUSE Security Updates · Mar 10, 2026
- SUSE-SU-2026:0853-1 Security update for ImageMagick SUSE / openSUSE Security Updates · Mar 10, 2026
- SUSE-SU-2026:0851-1 Security update for ImageMagick SUSE / openSUSE Security Updates · Mar 10, 2026