Vulnerability
CVE-2026-25797
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, the ps coders, responsible for writing PostScript files, fails to sanitize the input before writing it into the PostScript header. An attacker can provide a malicous file and inject arbitrary PostScript code. When the resulting file is processed by a printer or a viewer (like Ghostscript), the injected code is interpreted and executed. The html encoder does not properly escape strings that are written to in the html document. An attacker can provide a malicious file and injection arbitrary html code. Versions 7.1.2-15 and 6.9.13-40 contain a patch.
31 advisories report this vulnerability, across 9 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-25797
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, the ps coders, responsible for writing PostScript files, fails to sanitize the…
- ALPINE-EDGE-CVE-2026-25797
-
DEBIAN-CVE-2026-25797
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, the ps coders, responsible for writing PostScript files, fails to sanitize the…
-
DLA-4497-1
imagemagick - security update
-
DSA-6158-1
imagemagick - security update
-
DSA-6159-1
imagemagick - security update
-
GHSA-rw6c-xp26-225v
ImageMagick: Code Injection via PostScript header in ps coders
-
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
-
RHVEX-CVE-2026-25797
ImageMagick: ImageMagick: Arbitrary code execution via crafted PostScript files
-
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
-
SUSE-SU-2026:0854-1
Security update for ImageMagick
-
SUSE-SU-2026:23312-1
Security update for ImageMagick
-
SUSE-SU-2026:3412-1
Security update for ImageMagick
-
SUSE-SU-2026:3413-1
Security update for ImageMagick
-
SUSE-SU-2026:3414-1
Security update for ImageMagick
-
SUSE-SU-2026:4376-1
Security update for ImageMagick
-
SUSEVEX-CVE-2026-25797
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, the ps coders, responsible for writing PostScript files, fails to sanitize the…
-
UBUNTU-CVE-2026-25797
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, the ps coders, responsible for writing PostScript files, fails to sanitize the…
-
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
-
openSUSE-SU-2026:21635-1
Security update for ImageMagick