Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
7.3
CVE-2026-108693: ImageMagick may run malicious code when converting PDFs
CVE-2026-108693 · published 25 days ago
Summary
ImageMagick on Windows can be tricked into launching an executable named gswin64c.exe without checking where it comes from. If a malicious gswin64c.exe file is placed in the same folder, it can run with ImageMagick's rights whenever a PDF, PostScript, or EPS file is processed. Replace ImageMagick with the latest update or ensure only trusted files are in the working directory and that Ghostscript is properly registered.
What to do
The CVE record does not list a fixed version. Check the vendor's site or the advisory links below - a fix may already be released.
Affected software
| Vendor | Product | Affected versions |
|---|---|---|
| imagemagick | imagemagick |
<= 7.1.2-33 <= 6.9.13-58 >= 7.0.0-0, <= 7.1.2-33 |
Original advisory text
ImageMagick through 7.1.2-33 and 6.9.13-58 Uncontrolled Search Path via Ghostscript Delegate
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.
References
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/108xxx/CVE-2026-1086... Vendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-108693 Vendor Advisory
- https://github.com/ImageMagick/ImageMagick Product
- https://github.com/ImageMagick/ImageMagick/blob/211e5b975a0019a88dcef5f84c1193f4... Product
- https://github.com/ImageMagick/ImageMagick/blob/211e5b975a0019a88dcef5f84c1193f4... Product
- https://github.com/ghostx-86/exploitarium/tree/main/imagemagick-gs-delegate-hija... Exploit Mitigation Third Party Advisory
- https://www.vulncheck.com/advisories/imagemagick-through-7.1.2-33-and-6.9.13-58-... Exploit Third Party Advisory
Internet-facing
14 days
Internal
At next upgrade
- Not known to be exploited
- Needs hands-on effort to exploit (estimated)
- Gives an attacker full control (estimated)
Type
CWE-427Uncontrolled Search Path Element
Timeline
Published11 Oct 2026
Updated4 Nov 2026
First seen11 Oct 2026
Track software like this
Free during beta