- Home
- Vulnerabilities
- CVE-2026-108693
CVE-2026-108693
ImageMagick through 7.1.2-33 and 6.9.13-58 Uncontrolled Search Path via Ghostscript Delegate
Medium
40/100
Summary
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.
Affected products and versions
Imagemagick (4 line(s))
| Product | Versions | Fixed in | Source |
|---|---|---|---|
| Imagemagick | from 7.0.0-0 (included) to 7.1.2-33 (included) |
— | CNA (vendor or assigner) |
| Imagemagick | up to 6.9.13-58 (included) |
— | CNA (vendor or assigner) |
| Imagemagick | up to 6.9.13-58 (included) |
— | NVD |
| Imagemagick | from 7.0.0-0 (included) to 7.1.2-33 (included) |
— | NVD |
Fix
Not provided by the vendor.
Workaround
No workaround provided.
Check whether you are affected
Exploit reported by sources
These links are tagged “exploit” by the NVD or CVE.org. We have neither verified nor copied them; open with care.
Timeline
- — CVE published (cve)
References
- https://github.com/ImageMagick/ImageMagickproduct
- https://github.com/ImageMagick/ImageMagick/blob/211e5b975a0019a88dcef5f84c1193f46738d815/MagickCore/nt-base.c#L1469-L1511technical-description
- https://github.com/ImageMagick/ImageMagick/blob/211e5b975a0019a88dcef5f84c1193f46738d815/MagickCore/nt-base.c#L2829-L2832technical-description
- https://github.com/ghostx-86/exploitarium/tree/main/imagemagick-gs-delegate-hijack-pocexploit
- https://www.vulncheck.com/advisories/imagemagick-through-7.1.2-33-and-6.9.13-58-uncontrolled-search-path-via-ghostscript-delegatethird-party-advisory
Data provenance
- Status
- NVD
- Publication date
- NVD
- Description
- CNA (vendor or assigner)
- CVSS score
- NVD
- Weakness (CWE)
- NVD
- CVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H(CVSS 3.1, NVD)- Weakness
- CWE-427 · Autre (CWE-427)