Skip to main content

Ghostscript CVE-2026-19547

| EUVDEUVD-2026-88701 HIGH
Untrusted Search Path (CWE-426)
2026-09-29 CERT-PL GHSA-9vm9-29fm-cv7r
7.0
CVSS 4.0 · Vendor: CERT-PL
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain authenticated local access
  2. Delivery
    Create C:\gs\ resource directory tree
  3. Exploit
    Plant malicious PostScript resource file
  4. Execution
    Wait for privileged user/service to run Ghostscript
  5. Persist
    Malicious file auto-loaded and executed
  6. Impact
    Code runs with victim process privileges

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V13 - Configuration Search path verification
Exploitation Conditions

Requires local access as any authenticated Windows user to the target machine, and depends on Windows default ACLs that permit authenticated users to create directories at the root of C:\ (so the attacker can create C:\gs\ and subpaths, which do not exist by default). Exploitation only succeeds on Windows installations of Ghostscript versions prior to 10.08.0, and code execution is triggered passively - it fires only when another user or service subsequently runs Ghostscript, so the payload's privilege gain is bounded by whatever principal invokes Ghostscript. It is not remotely exploitable and requires no special Ghostscript configuration, only that the C:\gs\ path is unpopulated (the default).

Impact

This is a CWE-426 untrusted search path local privilege escalation in Ghostscript for Windows. The provided CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H, base 7.0) indicates local attack vector, low attack complexity, low privileges (any authenticated local user), and passive user interaction - meaning the payload only fires when some other user or service later runs Ghostscript. No EPSS score, no CISA KEV listing, and no public exploit code are present in the provided data, so exploitation status is 'no public exploit identified at time of analysis.' The real risk is moderate and situational: the technique is trivially reliable (Windows default ACLs let any authenticated user create C:\gs\, and Ghostscript searches that predictable path), but it is not remotely reachable and its value depends entirely on a higher-privileged user or service (e.g. a SYSTEM print/conversion service) subsequently invoking Ghostscript. This is a credible post-compromise escalation primitive rather than an internet-facing emergency; the 7.0 'high' rating is consistent with a locally-triggered but impactful flaw. Note the 'RCE' tag overstates reachability - code execution is local, gated behind local access plus victim execution, not remote.

Exploit ScenarioDerived

An attacker with an ordinary authenticated local account creates the C:\gs\ directory tree (permitted by default Windows root ACLs) and plants a malicious PostScript resource file where Ghostscript expects it. When a higher-privileged user or a service account later runs Ghostscript - for example a document-conversion or print service - the planted file is auto-loaded and executed with that process's privileges, yielding privilege escalation or code execution. No public proof-of-concept is referenced in the provided data.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 29, 2026

Local privilege escalation in Ghostscript for Windows (all versions prior to 10.08.0) allows any authenticated local user to plant a malicious PostScript resource file in the predictable C:\gs\ path, which Ghostscript then auto-loads with the privileges of whichever principal next invokes it. The hijack requires no special Ghostscript configuration because it abuses Windows default ACLs that let authenticated users create directories at the root of C:\, and it succeeds only while C:\gs\ is unpopulated - the default state on Windows installations; execution is passive and fires when a user or service subsequently runs Ghostscript, with the payload's privilege gain bounded by that invoking principal (assessed as scope-changed impact). No public exploit code has been identified at time of analysis, and the issue, reported by CERT-PL, is fixed in 10.08.0.

RemediationAI

Upgrade Windows Ghostscript to the fixed release, 10.08.0 or later (vendor-released patch: 10.08.0); this is the primary and only complete remedy because it removes the reliance on the hijackable C:\gs\ resource path. Where immediate patching is not feasible, pre-create C:\gs\ as an administrator with an ACL that grants write/modify only to Administrators and SYSTEM and removes inherited write access for Authenticated Users, which neutralizes the predictable-path hijack at the cost of needing to first confirm that no legitimate Ghostscript installation or third-party PostScript tooling relies on that location for its own resources. Additionally, avoid invoking Ghostscript from high-privileged services or scheduled tasks in any context where an unprivileged user could influence files it loads, since the privilege gained equals that of the invoking principal, and monitor for unexpected creation of C:\gs\ or PostScript files beneath it as a detection signal. If neither patching nor directory hardening is possible, restrict the ability to run Ghostscript on the host to trusted principals, acknowledging that this degrades functionality for legitimate users rather than eliminating the underlying search-path weakness.

Affected VersionsENISA

ghostscript 0 <10.08.0

Affected Packages

euvd ghostscript fix: 10.08.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The root cause is CWE-426, Untrusted Search Path: Ghostscript for Windows resolves PostScript resource files through hard-coded, predictable locations under C:\gs\ that do not exist by default, so an authenticated local user (CVSS:4.0 PR:L / assessed CVSS:3.1 PR:L, AV:L) can satisfy the search path before Ghostscript does by creating the expected directory structure and dropping a malicious PostScript resource that is loaded and executed automatically at startup or interpreter initialization. This is the classic search-order/resource-hijacking class, but applied to Ghostscript's PostScript resource-loading mechanism rather than to DLLs, and it is enabled by Windows default ACLs that grant authenticated users create-directory rights at the root of the system drive. The attacker does not need to influence a victim's actions directly: the assessed vector (UI:R / CVSS:4.0 UI:P) reflects that exploitation depends on another user or service later running Ghostscript, and the scope change (S:C) reflects that the code runs in the context of that separate principal - not the attacker's own token. Remote exploitation is not possible; the flaw only manifests on Windows builds of Ghostscript, with the CPE cpe:2.3:a:artifex_software_inc.:ghostscript:* leaving the version field wildcarded, meaning the version boundary must be taken from the advisory rather than from CPE enumeration.

Know when Ghostscript gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (CERT-PL) PRIMARY 7.0 HIGH
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
vuln.today AI 8.2 HIGH

Local authenticated user plants the file (AV:L/PR:L/AC:L); execution waits on another principal running Ghostscript (UI:R) and escalates across security scope (S:C) with full C/I/A impact.

3.1 AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H/SC:L/SI:L/SA:N
SUSE 7.8 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Red Hat 7.3 HIGH

Primary rating from Vendor (CERT-PL).

CVSS VectorVendor: CERT-PL

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
Passive
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
Low
Subsequent system: Integrity
Low
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Sep 29, 2026 - 11:01 EUVD
CVE Published
Sep 29, 2026 - 10:13 cve.org
HIGH 7.0

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

Ghostscript on Windows (all releases before 10.08.0) contains a local privilege escalation flaw that lets a local user drop a malicious PostScript resource into the predictable C:\gs\ path, which Ghostscript then loads automatically with the privileges of whichever user or service runs it next. Because Ghostscript is commonly invoked by document-conversion pipelines, print services, and application servers - often running as highly privileged service accounts - a single low-privileged foothold on a server could be leveraged to reach system-level or service-account privileges. No vendor patch is listed in the tracking record, no public exploit code has been identified at time of analysis, and the issue is reported fixed in 10.08.0, so leadership should treat this as a manageable but time-bound exposure requiring inventory and ACL-based containment until the upgrade is validated.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: pre-create C:\gs\ with restrictive ACLs (owner Administrators; deny write/create-directory to standard users and non-administrative service identities) so the auto-load path cannot be populated; monitor and alert on any file or directory creation at the root of C:\, particularly C:\gs\; execute Ghostscript only under a dedicated low-privilege service account rather than SYSTEM or a shared domain service account; restrict which users and services may invoke Ghostscript; and apply application allowlisting or script-blocking rules to prevent untrusted PostScript resources from being loaded. Upgrade to Ghostscript 10.08.0 (identified in the advisory as the fixed version) once validated against the vendor advisory.

Threat Intelligence Overview

EPSS Score
0.2%
Top 96% exploitable
Prevalence
High
Ghostscript is very widely deployed for PostScript/PDF processing, including Windows print and conversion stacks
Data Quality
5 sources
Confidence: Medium
EUVD NVD CVE.org EPSS Vulnrichment Vendor VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

35
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +35
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Privilege escalation occurs when an attacker leverages flaws in access control mechanisms to gain permissions beyond what they were originally granted.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

CVE-2017-8291 HIGH POC
7.8 Apr 27

Artifex Ghostscript through 2017-04-26 allows -dSAFER bypass and remote command execution via .rsdparams type confusion

CVE-2016-7976 HIGH POC
8.8 Aug 07

The PS Interpreter in Ghostscript 9.18 and 9.20 allows remote attackers to execute arbitrary code via crafted userparams

CVE-2018-16509 HIGH POC
7.8 Sep 05

An issue was discovered in Artifex Ghostscript before 9.24. Rated high severity (CVSS 7.8), this vulnerability is no aut

CVE-2012-4405 MEDIUM
6.8 Sep 18

Multiple integer underflows in the icmLut_allocate function in International Color Consortium (ICC) Format library (iccl

CVE-2023-28879 CRITICAL POC
9.8 Mar 31

In Artifex Ghostscript through 10.01.0, there is a buffer overflow leading to potential corruption of data internal to t

CVE-2018-18284 HIGH POC
8.6 Oct 19

Artifex Ghostscript 9.25 and earlier allows attackers to bypass a sandbox protection mechanism via vectors involving the

CVE-2018-17961 HIGH POC
8.6 Oct 15

Artifex Ghostscript 9.25 and earlier allows attackers to bypass a sandbox protection mechanism via vectors involving err

CVE-2016-10317 HIGH POC
7.8 Apr 03

The fill_threshhold_buffer function in base/gxht_thresh.c in Artifex Software, Inc. Rated high severity (CVSS 7.8), this

CVE-2017-9611 HIGH POC
7.8 Jul 26

The Ins_MIRP function in base/ttinterp.c in Artifex Ghostscript GhostXPS 9.21 allows remote attackers to cause a denial

CVE-2017-9835 HIGH POC
7.8 Jul 26

The gs_alloc_ref_array function in psi/ialloc.c in Artifex Ghostscript 9.21 allows remote attackers to cause a denial of

CVE-2017-7948 HIGH POC
7.8 Apr 19

Integer overflow in the mark_curve function in Artifex Ghostscript 9.21 allows remote attackers to cause a denial of ser

CVE-2026-101258 HIGH POC
7.8 Oct 06

Ghostscript can execute arbitrary shell commands with the privileges of its process when it renders a crafted PostScript

Vendor StatusVendor

SUSE

Severity: Important
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Not-Affected
SUSE Linux Enterprise High Performance Computing 12 Not-Affected
SUSE Linux Enterprise Module for Basesystem 15 SP7 Not-Affected
SUSE Linux Enterprise Server 15 SP7 Not-Affected
SUSE Linux Enterprise Server 16.0 Not-Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy