CVE-2026-108693ImageMagick through 7.1.2-33 and 6.9.13-58 Uncontrolled Search Path via Ghostscript…
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.
What to do
None of the Linux distributions or Windows releases we track list an affected package for this CVE. Check the vendor-reported products below.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Red Hat Enterprise Linux 7 | ImageMagick | Not affected | ||
| Red Hat Enterprise Linux 7 | ImageMagick-c++ | Not affected | ||
| Red Hat Enterprise Linux 7 | ImageMagick-c++-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | ImageMagick-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | ImageMagick-doc | Not affected | ||
| Red Hat Enterprise Linux 7 | ImageMagick-perl | Not affected | ||
| Red Hat Enterprise Linux 6 | ImageMagick | Not affected | ||
| Red Hat Enterprise Linux 6 | ImageMagick-c++ | Not affected | ||
| Red Hat Enterprise Linux 6 | ImageMagick-c++-devel | Not affected | ||
| Red Hat Enterprise Linux 6 | ImageMagick-devel | Not affected | ||
| Red Hat Enterprise Linux 6 | ImageMagick-doc | Not affected | ||
| Red Hat Enterprise Linux 6 | ImageMagick-perl | Not affected |
What the vendor says
As published in the CVE record by VulnCheck, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- ImageMagick: affected: 7.0.0-0 to 7.1.2-33, up to 6.9.13-58
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
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.