CVE-2026-108693: ImageMagick uncontrolled search path in NTGhostscriptEXE()

CVE-2026-108693 · Severity: high · CVSS 7 · Published 2026-10-11

ImageMagick is an image manipulation library widely used in web applications and document processing systems. On Windows, it searches for the Ghostscript executable in the current working directory before checking system paths, allowing attackers to plant a malicious executable that gets executed when ImageMagick converts PDF, PostScript, or EPS files. An attacker with access to the working directory can achieve arbitrary code execution with ImageMagick's privileges.

Technologies: ImageMagick. Vendors: ImageMagick.

Quick answers

Is CVE-2026-108693 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-108693 being exploited in the wild.
How severe is CVE-2026-108693?
High severity, with a CVSS score of 7, published 11 October 2026.
Which products and versions are affected?
ImageMagick through 7.1.2-33 and 6.9.13-58 on Windows.
Is there a fix for CVE-2026-108693?
No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
How is CVE-2026-108693 attacked?
It is attacked with local access, in a software library.
Am I affected by CVE-2026-108693?
Check whether you run ImageMagick at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

ImageMagick on Windows contains an uncontrolled search path vulnerability in the NTGhostscriptEXE() function, which launches gswin64c.exe by bare name when Ghostscript is unregistered, allowing Windows to resolve the executable from the current working directory. The vulnerability affects PDF, PostScript, and EPS file conversion operations and requires the attacker to have write access to a directory where ImageMagick executes, or to control the application's working directory. A fix is available in later versions.

Affected products

  • ImageMagick ImageMagick through 7.1.2-33 and 6.9.13-58 on Windows

Timeline

  • 2026-10-11: disclosed

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.