Description
Ghostscript for Windows is vulnerable to local privilege escalation through PostScript resource file hijacking. Due to the application searching for PostScript resource files in predictable paths under C:\\gs\\ that do not exist by default on Windows installations, combined with Windows default ACLs allowing any authenticated user to create directories at the root of C:\\, an attacker who is an authenticated local user can create the expected directory structure and plant a malicious PostScript file. When any user or service subsequently runs Ghostscript, the planted file is automatically loaded and executed with the full privileges of the Ghostscript process. This results in full compromise of Ghostscript process context, as well as running arbitrary code on the machine with Ghostscript process privileges.


This issue was fixed in version 10.08.0.
Published: 2026-09-29
Score: 7 High
EPSS: < 1% Very Low
KEV: No
Impact: Local Privilege Escalation
Action: Immediate Patch
AI Analysis

Impact

Ghostscript for Windows can be tricked into loading malicious PostScript files from a predictable directory structure that does not exist by default, a flaw that enables local privilege escalation. An authenticated user can create the expected C:\\gs\\ directory path because Windows default ACLs permit directory creation at the root of C:\, and place a crafted PostScript file there. When Ghostscript runs, it automatically loads this resource file, executing its contents with the full privileges of the Ghostscript process. The weakness reflects untrusted search path and unrestricted file system operations (CWE‑426, CWE‑427).

Affected Systems

Affected is Artifex Software Ghostscript for Windows versions prior to 10.08.0. The vulnerability exploits files that may appear under C:\\gs\\, a directory structure that is absent by default on Windows installations. Any authenticated local user on the system can exploit the flaw by creating this directory hierarchy and planting a malicious PostScript file, causing privilege escalation when Ghostscript is later executed by any user or service.

Risk and Exploitability

The CVSS score of 7 indicates a moderate to high severity of the flaw. EPSS is not available, so actual exploitation probability is uncertain, and the vulnerability is not listed in the CISA KEV catalog. However, because the attack requires only local user authentication and relies on default Windows ACLs, an attacker who has local access can deploy the exploit with relative ease. Successful exploitation results in arbitrary code execution in the context of the Ghostscript process, which typically runs with elevated privileges, thereby providing a strong foothold for further compromise.

Generated by OpenCVE AI on September 30, 2026 at 03:14 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Ghostscript to version 10.08.0 or later to apply the security fix.
  • Remove any suspicious or unauthorized PostScript files from the C:\\gs\\ directory.
  • Restrict directory creation permissions on C:\ at the ACL level to prevent local users from adding subdirectories under the gs path.

Generated by OpenCVE AI on September 30, 2026 at 03:14 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 30 Sep 2026 20:45:00 +0000

Type Values Removed Values Added
First Time appeared Artifex
Artifex ghostscript
Vendors & Products Artifex
Artifex ghostscript

Tue, 29 Sep 2026 13:15:00 +0000

Type Values Removed Values Added
Description Ghostscript for Windows is vulnerable to local privilege escalation through PostScript resource file hijacking. Due to the application searching for PostScript resource files in predictable paths under C:\\gs\\ that do not exist by default on Windows installations, combined with Windows default ACLs allowing any authenticated user to create directories at the root of C:\\, an attacker who is an authenticated local user can create the expected directory structure and plant a malicious PostScript file. When any user or service subsequently runs Ghostscript, the planted file is automatically loaded and executed with the full privileges of the Ghostscript process. This results in full compromise of Ghostscript process context, as well as running arbitrary code on the machine with Ghostscript process privileges. This issue was fixed in version 10.08.0.
Title Local Privilege Escalation in Ghostscript for Windows
First Time appeared Artifex Software Inc.
Artifex Software Inc. ghostscript
Weaknesses CWE-426
CWE-427
CPEs cpe:2.3:a:artifex_software_inc.:ghostscript:*:*:windows:*:*:*:*:*
Vendors & Products Artifex Software Inc.
Artifex Software Inc. ghostscript
References
Metrics threat_severity

None

cvssV3_1

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

cvssV4_0

{'score': 7, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H/SC:L/SI:L/SA:N'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

threat_severity

Important


Subscriptions

Artifex Ghostscript
Artifex Software Inc. Ghostscript
cve-icon MITRE

Status: PUBLISHED

Assigner: CERT-PL

Published:

Updated: 2026-09-29T10:52:27.936Z

Reserved: 2026-08-11T14:12:06.293Z

Link: CVE-2026-19547

cve-icon Vulnrichment

Updated: 2026-09-29T10:52:23.686Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-09-29T10:17:11.410

Modified: 2026-09-30T19:38:27.293

Link: CVE-2026-19547

cve-icon Redhat

Severity : Important

Publid Date: 2026-09-29T10:13:31Z

Links: CVE-2026-19547 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-09-30T20:30:18Z

Weaknesses
  • CWE-426

    Untrusted Search Path

  • CWE-427

    Uncontrolled Search Path Element