Skip to main content

Ghostscript EUVDEUVD-2026-120559

| CVE-2026-125396 HIGH
Incorrect Use of Privileged APIs (CWE-648)
2026-11-10 disclosure@vulncheck.com GHSA-hg3g-c775-3fpj
8.5
CVSS 4.0 · Vendor: vulncheck
View

Attack ChainAIDerived

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

  1. Access
    Deliver crafted PostScript/PDF document
  2. Delivery
    Victim processes file under -dSAFER
  3. Exploit
    Trigger type error in .putgstringcopy
  4. Execution
    Recover .forceput via custom error handler
  5. Persist
    Provoke use-after-free across save/restore
  6. Impact
    Execute arbitrary code outside sandbox

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V6 - Authentication Incorrect use of privileged APIs
Exploitation Conditions

Exploitation requires a vulnerable Ghostscript (any version before 10.08.0) to parse an attacker-crafted PostScript or PDF document, specifically while relying on the -dSAFER sandbox that this flaw bypasses. The crafted document must trigger a type error in the .putgstringcopy procedure and install a custom PostScript error handler to recover the privileged .forceput operator, then force a use-after-free across a save/restore cycle. Limiting factors: a document must actually be processed (UI:P / passive user interaction - e.g., opening, printing, or converting a file), and the installation must be older than 10.08.0; there is no network-service-listening component, so reach depends on whether Ghostscript is exposed to untrusted documents (print spoolers, CUPS, ImageMagick delegates, PDF/image conversion services increase exposure).

Impact

This is a genuine high-priority issue rather than a CVSS-inflated one, but its risk profile is nuanced. The only CVSS vector provided is CVSS 4.0 (AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N), scoring 8.5: local attack vector, low complexity, no privileges, passive user interaction, and high confidentiality/integrity/availability impact to the vulnerable system with no subsequent-system scope change. The class of flaw is severe - a -dSAFER sandbox bypass leading to arbitrary code execution, which defeats the primary isolation mechanism security-conscious Ghostscript deployments rely on. However, several decision signals are MISSING or must be noted: no EPSS score was supplied, the CVE is NOT in CISA KEV (no confirmed active exploitation), and no PoC was flagged as confirmed working exploit code. A vendor advisory (VulnCheck) and the fixing commit exist, so the technical details are public and a working exploit is plausible in the near term, but that is not the same as in-the-wild activity. The vuln.today priority label is 'this_week', consistent with a serious but not emergency-grade issue. Note a nuance a defender should verify: CVSS marks this AV:L (local), yet Ghostscript is frequently invoked server-side on untrusted documents (print spoolers, PDF/image conversion services, ImageMagick delegates), where the practical reachability is closer to remote - the local rating reflects the need for a document to be processed, not a requirement for interactive local access.

Exploit ScenarioDerived

An attacker crafts a malicious PostScript or PDF document and gets a victim or a server-side service to process it with a vulnerable Ghostscript (before 10.08.0) that is relying on -dSAFER for isolation. The document deliberately triggers a type error in .putgstringcopy, installs a custom error handler to recover the privileged .forceput operator, then abuses it to provoke a use-after-free across a save/restore boundary, escaping the sandbox to execute arbitrary code. No confirmed public exploit code is identified, but the fixing commit and a vendor advisory publicly describe the mechanism.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
1 PoC candidate (unverified) Patch available 0.1% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Nov 10, 2026

Ghostscript versions before 10.08.0 can be driven outside the -dSAFER sandbox by crafted PostScript or PDF input, enabling arbitrary code execution through recovery of the privileged .forceput operator and a use-after-free across save/restore. The issue is rated 8.5 under CVSS 4.0 and assessed as CVSS 3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H; no privileges are required, but the attacker must get a document processed, so exposure concentrates in print spoolers, CUPS, ImageMagick delegates, and PDF/image conversion services. It carries a this_week priority and high-priority but nuanced risk: no CISA KEV entry and no public exploit code were identified at the time of analysis, and reachability depends on whether Ghostscript handles untrusted documents.

RemediationAI

Vendor-released patch: Ghostscript 10.08.0. Upgrade to 10.08.0 or later; the input identifies 10.08.0 as the fixed release boundary and references upstream commit 1484854e0c8ddfda1baa4ad4cd965b8a9790aa81, with the vendor bug at https://bugs.ghostscript.com/show_bug.cgi?id=709684. The supplied evidence does not identify a complete vendor workaround beyond updating, so until 10.08.0 is deployed, reduce exposure by preventing untrusted PostScript/PDF from reaching Ghostscript-backed paths such as print spoolers, CUPS filters, ImageMagick delegates, and PDF/image conversion services, and by disabling or constraining those delegations where they are not required. Those compensating controls can break document conversion and printing workflows, so they should be scoped to untrusted input handling rather than applied blindly.

Affected VersionsENISA

GhostPDL 0 <10.08.0

Affected Packages

euvd ghostpdl 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

Ghostscript's -dSAFER mode is a security sandbox intended to prevent PostScript and PDF content from invoking privileged operators or performing unauthorized file operations. The vulnerable .putgstringcopy procedure in Resource/Init/gs_fonts.ps calls the privileged .forceput operator without checking operand types; crafted input can trigger a type error, use a custom error handler to recover .forceput, and then force a use-after-free across a save/restore cycle to execute arbitrary code. The root cause class is CWE-648 (Incorrect Use of Privileged APIs), and the supplied source evidence identifies gs_fonts.ps lines 1026-1035 in the ghostpdl-10.07.0 tag plus upstream fix commit 1484854e0c8ddfda1baa4ad4cd965b8a9790aa81. The exact heap layout and memory-corruption primitive beyond the described use-after-free are not detailed in the available sources; the confirmed chain is a -dSAFER bypass that escalates to code execution when a malicious document is processed.

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 (vulncheck) PRIMARY 8.5 HIGH
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
vuln.today AI 7.8 HIGH

A crafted document must be processed (AV:L, UI:R) with no privileges or special configuration (PR:N, AC:L); sandbox escape yields full code execution (C/I/A:H), kept S:U to match the vendor's no-subsequent-impact scoring.

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

Primary rating from Vendor (vulncheck).

CVSS VectorVendor: vulncheck

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

Lifecycle Timeline

2
Patch available
Nov 10, 2026 - 01:16 EUVD
CVE Published
Nov 10, 2026 - 00:17 cve.org
HIGH 8.5

DescriptionCVE.org

Ghostscript before 10.08.0 contains a -dSAFER bypass vulnerability in the .putgstringcopy procedure in gs_fonts.ps, which calls the privileged .forceput operator without checking operand types. Attackers can supply crafted PostScript or PDF documents that trigger a type error, recover .forceput via a custom error handler, and cause a use-after-free across save/restore to execute arbitrary code.

Technical POC Analysis

CWE-648: Incorrect Use of Privileged APIs.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Latest POC

1 PoC candidate from github (unverified)

Sign in to open the public PoC links collected for this CVE.

Executive ViewAI

Why It Matters

CVE-2026-125396 is a high-severity Ghostscript vulnerability that allows attackers to escape the sandbox and execute arbitrary code when malicious documents are processed. Any system or service that uses Ghostscript to handle untrusted files-such as print servers, document converters, or email gateways-is at risk, potentially leading to full system compromise. Leadership should prioritize remediation because this could enable attackers to gain a foothold in the network, especially if such services are internet-facing or widely accessible.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis; interim mitigations include restricting Ghostscript processing to trusted documents only, disabling or isolating vulnerable services that handle untrusted files, and implementing application-level sandboxing or containerization.

Threat Intelligence Overview

EPSS Score
0.1%
Top 97% exploitable
Prevalence
High
default PostScript/PDF interpreter embedded in Linux print pipelines and image tooling
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor GitHub 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 Yes
EPSS 0.1%
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
Defer
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

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

Attack Technique

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

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