CVE-2026-108693Imagemagick uncontrolled search path element
CVSS score
7.3
High
CVSS 4.0 from vulncheck.com
Exploit probability (EPSS)
0.24%
0.24% chance of exploitation in the next 30 days, higher than 14.6% of all CVEs.
CISA KEV
Not in KEV
No confirmed exploitation reported by CISA so far.
Official description
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.
Source: NVD · CNA: disclosure@vulncheck.com
How to fix it, step by step
Check whether you're affected
Find every system running Imagemagick and compare its version with the affected versions.
Apply the vendor's fix
The official record doesn't name a fixed version. The vendor's advisory describes the fix:
Was this useful?
How it can be exploited
- Attack vector
- Local
- Attack complexity
- High
- Attack requirements
- Present
- Privileges required
- None
- User interaction
- Passive
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Values in red make the vulnerability easier to exploit or more damaging. CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Affected products
| Affected products | Versions |
|---|---|
| ImageMagick Imagemagick | ≤ 6.9.13-58 · ≥ 7.0.0-0, ≤ 7.1.2-33 |
Weakness
- CWE-427 uncontrolled search path element
Timeline
- Published:
- Last modified:
Frequently asked questions
Is CVE-2026-108693 being exploited?
There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.2% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2026-108693?
CVE-2026-108693 has a CVSS 4.0 base score of 7.3 (high).
Which versions are affected?
Imagemagick Imagemagick (≤ 6.9.13-58; ≥ 7.0.0-0, ≤ 7.1.2-33)
Is there a patch for CVE-2026-108693?
The official record links to vendor advisories or patches; see “What to do” above.
References
- github.com/ghostx-86/exploitarium/tree/main/imagemagick-gs-delegate-hijack-poc(Exploit, Mitigation, Third Party Advisory)
- www.vulncheck.com/advisories/imagemagick-through-7.1.2-33-and-6.9.13-58-uncontrolled-search-path-via-ghostscript-delegate(Exploit, Third Party Advisory)
- github.com/ImageMagick/ImageMagick(Product)
- github.com/ImageMagick/ImageMagick/blob/211e5b975a0019a88dcef5f84c1193f46738d815/MagickCore/nt-base.c#L1469-L1511(Product)
- github.com/ImageMagick/ImageMagick/blob/211e5b975a0019a88dcef5f84c1193f46738d815/MagickCore/nt-base.c#L2829-L2832(Product)
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.