{"id":"CVE-2026-108693","published":"2026-10-11T01:35:43Z","modified":"2026-10-13T19:53:08Z","title":"ImageMagick through 7.1.2-33 and 6.9.13-58 Uncontrolled Search Path via Ghostscript Delegate","vendor":"ImageMagick","product":"ImageMagick","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00254,"percentile":0.10384,"provenance":"source"},"cwes":[{"id":"CWE-427","name":"Uncontrolled Search Path Element"}],"references":[{"url":"https://github.com/ghostx-86/exploitarium/tree/main/imagemagick-gs-delegate-hijack-poc","tags":["exploit"]},{"url":"https://github.com/ImageMagick/ImageMagick/blob/211e5b975a0019a88dcef5f84c1193f46738d815/MagickCore/nt-base.c#L1469-L1511","tags":["technical-description"]},{"url":"https://github.com/ImageMagick/ImageMagick/blob/211e5b975a0019a88dcef5f84c1193f46738d815/MagickCore/nt-base.c#L2829-L2832","tags":["technical-description"]},{"url":"https://github.com/ImageMagick/ImageMagick","tags":["product"]},{"url":"https://www.vulncheck.com/advisories/imagemagick-through-7.1.2-33-and-6.9.13-58-uncontrolled-search-path-via-ghostscript-delegate","tags":["third-party-advisory"]}],"priority":{"score":12.0,"factors":[{"name":"EPSS percentile","points":2.08},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":4.9}]},"vendorSlug":"imagemagick","affectedVersions":[{"vendor":"ImageMagick","product":"ImageMagick","versions":[">= 7.0.0-0, <= 7.1.2-33","<= 6.9.13-58"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-10-13T19:52:57.210419Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-96696","exploited":false,"provenance":"source"},"exploitRefs":["https://github.com/ghostx-86/exploitarium/tree/main/imagemagick-gs-delegate-hijack-poc"]}