Skip to main content

CVE-2026-19547: CWE-426 Untrusted Search Path in Artifex Software Inc. Ghostscript

0
High
VulnerabilityCVE-2026-19547cvecve-2026-19547cwe-426
Published: 09/29/2026 (09/29/2026, 10:13:31 UTC)
Source: CVE Database V5
Vendor/Project: Artifex Software Inc.
Product: Ghostscript

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.

CVSS v4.0

Score 7.0high

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
Passive
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
High
Subsq. Confidentiality
Low
Subsq. Integrity
Low
Subsq. Availability
None
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

Affected software

Artifex Software Inc.

Ghostscript

Affected versions
>=0 <10.08.0
GitHub Actionsmore threats →ai
artifex-software/ghostscript
pkg:github/artifex-software/ghostscript
Affected versions
>=0 <10.08.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/29/2026, 10:32:47 UTC

Technical Analysis

CVE-2026-19547 is a local privilege escalation vulnerability in Artifex Software Inc.'s Ghostscript for Windows. The vulnerability arises because Ghostscript searches for PostScript resource files in predictable directories under C:\gs\, which do not exist by default. Windows default ACLs permit any authenticated user to create directories at the root of C:\, enabling an attacker to create the expected directory structure and place a malicious PostScript file. When Ghostscript runs, it automatically loads and executes this file with the full privileges of the Ghostscript process, leading to arbitrary code execution. This vulnerability is classified under CWE-426 (Untrusted Search Path) and has a CVSS 4.0 score of 7.0 (high severity). The vulnerability was fixed in Ghostscript version 10.08.0.

Potential Impact

An authenticated local attacker can escalate privileges by planting malicious PostScript files in predictable directories that Ghostscript searches. This results in arbitrary code execution with the privileges of the Ghostscript process, potentially leading to full compromise of the affected system context where Ghostscript runs.

Mitigation Recommendations

Upgrade Ghostscript to version 10.08.0 or later, where this vulnerability is fixed. Until then, restrict authenticated user permissions to prevent creation of directories at the root of C:\ or monitor for unauthorized directory creation under C:\gs\. No other vendor advisory mitigation is provided.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
CERT-PL
Date Reserved
2026-08-11T14:12:06.293Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6abb9075f7a7c54106366dd7

Added to database: 09/29/2026, 10:18:29 UTC

Last enriched: 09/29/2026, 10:32:47 UTC

Last updated: 09/29/2026, 18:20:13 UTC

Views: 12

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses