Description
ImageMagick on Windows through 7.1.2-33 and 6.9.13-58 contains an uncontrolled search path vulnerability in NTGhostscriptEXE() that launches gswin64c.exe by bare name when Ghostscript is unregistered. Attackers can plant a malicious gswin64c.exe in the working directory to execute code with ImageMagick privileges when PDF, PostScript, or EPS files are converted.
Affected products
imagemagick: imagemagick
References5
- github.com/ghostx-86/exploitarium/tree/main/imagemagick-gs-dele… ExploitMitigationThird Party Advisory
- www.vulncheck.com/advisories/imagemagick-through-7.1.2-33-and-6… ExploitThird Party Advisory
- github.com/ImageMagick/ImageMagick Product
- github.com/ImageMagick/ImageMagick/blob/211e5b975a0019a88dcef5f… Product
- github.com/ImageMagick/ImageMagick/blob/211e5b975a0019a88dcef5f… Product
Metrics
- CVSS 3.1
-
7.8
HIGH
Score source: NVD
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - CVSS 4.0
-
7.3
HIGH
Score source: CNA
CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - EPSS — exploit probability
- 0% percentile: 15 · as of 11 November 2026
- CWE
- CWE-427
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.