Vulnerability
CVE-2026-25965
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.
26 advisories report this vulnerability, across 10 ecosystems.
Advisories
-
ALAS2-2026-3211
Amazon Linux 2 2017.12 - ALAS2-2026-3211: important priority package update for ImageMagick
-
ALAS2023-2026-1478
Amazon Linux 2023 - ALAS2023-2026-1478: Important priority package update for ImageMagick
-
ALPINE-CVE-2026-25965
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…
- ALPINE-EDGE-CVE-2026-25965
-
DEBIAN-CVE-2026-25965
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…
-
DLA-4497-1
imagemagick - security update
-
DSA-6158-1
imagemagick - security update
-
DSA-6159-1
imagemagick - security update
-
ELSA-2026-5573
ELSA-2026-5573: ImageMagick security update (IMPORTANT)
-
GHSA-8jvj-p28h-9gm7
ImageMagick: Policy bypass through path traversal allows reading restricted content despite secured policy
-
OESA-2026-1452
ImageMagick security update
-
OESA-2026-1453
ImageMagick security update
-
OESA-2026-1454
ImageMagick security update
-
OESA-2026-1455
ImageMagick security update
-
OESA-2026-1456
ImageMagick security update
-
OESA-2026-1457
ImageMagick security update
-
RHSA-2026:5573
Red Hat Security Advisory: ImageMagick security update
-
RHVEX-CVE-2026-25965
ImageMagick: ImageMagick: Local File Disclosure via Path Traversal
-
SUSE-SU-2026:0851-1
Security update for ImageMagick
-
SUSE-SU-2026:0852-1
Security update for ImageMagick
-
SUSE-SU-2026:0853-1
Security update for ImageMagick
-
SUSEVEX-CVE-2026-25965
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…
-
UBUNTU-CVE-2026-25965
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…
-
USN-8263-1
imagemagick vulnerabilities
-
openSUSE-SU-2026:10267-1
ImageMagick-7.1.2.15-1.1 on GA media
-
openSUSE-SU-2026:20337-1
Security update for ImageMagick
References
- https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-8jvj-p28h-9gm7
- https://access.redhat.com/errata/RHSA-2026:5573
- https://access.redhat.com/security/cve/CVE-2026-25965
- https://bugzilla.redhat.com/show_bug.cgi?id=2442118
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-25965.json