Skip to content
OpenAdvisories

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

VendorProductAffectedFixed
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.

ReleasePackageFixed inAdvisory
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
ReleasePackageFixed inAdvisory
Ubuntu 25.10 imagemagick 8:7.1.2.3+dfsg1-1ubuntu0.1 USN-8263-1
Show 6 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
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
ReleasePackageFixed inAdvisory
RHEL 7 ELS ImageMagick +4 6.9.10.68-13.el7_9 RHSA-2026:5573
ReleasePackageFixed inAdvisory
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)
ReleasePackageFixed inAdvisory
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
ReleasePackageFixed inAdvisory
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
ReleasePackageFixed inAdvisory
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

ReleasePackageFixed inAdvisory
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

ReleasePackageFixed inAdvisory
Oracle Linux 7 ImageMagick +5 6.9.10.68-7.0.7.el7_9 ELSA-2026-5573

Affected packages

Advisories 15

References