{"id":"CVE-2026-108693","revision":"9907600b5f7148739ff88755b21a2c0c","records":[{"revision":"9907600b5f7148739ff88755b21a2c0c","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-108693","aliases":[],"title":"ImageMagick through 7.1.2-33 and 6.9.13-58 Uncontrolled Search Path via Ghostscript Delegate","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.","state":0,"publishedAt":"2026-10-11T01:35:43.626+00:00","modifiedAt":"2026-10-13T19:53:08.543+00:00","affected":[{"ecosystem":"Vendor product","name":"ImageMagick","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"ImageMagick\",\n                    \"product\": \"ImageMagick\",\n                    \"packageURL\": \"pkg:github/ImageMagick/ImageMagick\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"versions\": [\n                        {\n                            \"version\": \"7.0.0-0\",\n                            \"lessThanOrEqual\": \"7.1.2-33\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"custom\"\n                        },\n                        {\n                            \"version\": \"0\",\n                            \"lessThanOrEqual\": \"6.9.13-58\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"custom\"\n                        }\n                    ],\n                    \"repo\": \"https://github.com/ImageMagick/ImageMagick\"\n                }"}],"metrics":[{"system":"CVSS 4.0","vector":"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","score":7.3,"severity":"HIGH"},{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7,"severity":"HIGH"}],"references":["https://github.com/ghostx-86/exploitarium/tree/main/imagemagick-gs-delegate-hijack-poc","https://github.com/ImageMagick/ImageMagick/blob/211e5b975a0019a88dcef5f84c1193f46738d815/MagickCore/nt-base.c#L1469-L1511","https://github.com/ImageMagick/ImageMagick/blob/211e5b975a0019a88dcef5f84c1193f46738d815/MagickCore/nt-base.c#L2829-L2832","https://github.com/ImageMagick/ImageMagick","https://www.vulncheck.com/advisories/imagemagick-through-7.1.2-33-and-6.9.13-58-uncontrolled-search-path-via-ghostscript-delegate"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-108693","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-108693","identifiers":["CVE-2026-108693"]},"retained":false,"historicalAffected":[]}],"coverage":[]}