ImageMagick on Windows contains an uncontrolled search path issue within the `NTGhostscriptEXE()` function. When Ghostscript is unregistered, the software attempts to launch `gswin64c.exe` using a bare name. This allows an attacker to place a malicious executable named `gswin64c.exe` in the working directory, leading to arbitrary code execution with ImageMagick privileges during the conversion of PDF, PostScript, or EPS files.