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.
Published: 2026-10-11
Score: 7.3 High
EPSS: < 1% Very Low
KEV: No
Impact: Remote Code Execution
Action: Immediate Patch
AI Analysis

Impact

ImageMagick on Windows versions through 7.1.2-33 and 6.9.13-58 contains an uncontrolled search‑path flaw in the NTGhostscriptEXE() function. The function launches the Ghostscript executable gswin64c.exe by bare filename when Ghostscript is not registered. An attacker can place a malicious gswin64c.exe in the working directory and cause ImageMagick to execute it while converting PDF, PostScript, or EPS files. This flaw permits code execution with the privileges of the ImageMagick process, potentially enabling an attacker to run arbitrary instructions, modify data, or elevate privileges.

Affected Systems

The vulnerability affects ImageMagick software distributed by ImageMagick:ImageMagick on Windows platforms, specifically versions 7.1.2‑33 and earlier, and 6.9.13‑58 and earlier. Any deployment that processes PDF, PostScript, or EPS input using these versions is susceptible.

Risk and Exploitability

The CVSS score of 7.3 denotes a high severity risk. The EPSS score is not available, so exploitation probability is uncertain. The vulnerability is not listed in CISA KEV, meaning no known large‑scale exploits have been reported yet, but the flaw remains exploitable if an attacker can control or write to the working directory or otherwise place a malicious file with the same name. The likely attack vector is local file placement with the ImageMagick process running under elevated privileges. If a service or web application uses ImageMagick to process user‑supplied files, an attacker could potentially trigger execution by supplying a crafted file set that causes the library to invoke the hijacked executable.

Generated by OpenCVE AI on October 11, 2026 at 03:05 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update ImageMagick to a version later than 7.1.2-33 or 6.9.13-58, in which the NTGhostscriptEXE() function has been fixed and requires a fully qualified Ghostscript path.
  • Verify that Ghostscript is properly registered in the system registry and that the ImageMagick installation cannot locate a malicious executable by filename alone.
  • As a temporary measure, ensure that the working directory used by ImageMagick does not contain any executable files named gswin64c.exe, and remove or rename any such files if present.

Generated by OpenCVE AI on October 11, 2026 at 03:05 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sun, 11 Oct 2026 12:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Moderate


Sun, 11 Oct 2026 01:45:00 +0000

Type Values Removed Values Added
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.
Title ImageMagick through 7.1.2-33 and 6.9.13-58 Uncontrolled Search Path via Ghostscript Delegate
First Time appeared Imagemagick
Imagemagick imagemagick
Weaknesses CWE-427
CPEs cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*
Vendors & Products Imagemagick
Imagemagick imagemagick
References
Metrics cvssV3_1

{'score': 7, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 7.3, 'vector': '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'}


Subscriptions

Imagemagick Imagemagick
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-13T19:53:08.543Z

Reserved: 2026-10-10T23:08:34.508Z

Link: CVE-2026-108693

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-10-11T02:16:37.607

Modified: 2026-10-15T15:55:45.630

Link: CVE-2026-108693

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-10-11T01:35:43Z

Links: CVE-2026-108693 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-11T03:15:08Z

Weaknesses
  • CWE-427

    Uncontrolled Search Path Element