Skip to main content
View

Attack ChainAIDerived

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

  1. Access
    Submit crafted PostScript to processing service
  2. Delivery
    Rendered by RHEL Ghostscript under -dSAFER
  3. Exploit
    Trigger unprotected .forceput in .charkeys
  4. Execution
    Bypass SAFER sandbox restrictions
  5. Impact
    Read files or execute commands as gs process

Vulnerability Assessment

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

Exploitation requires that an application or service process an attacker-supplied PostScript/EPS file using an affected RHEL Ghostscript build (the one produced by the 9.25-to-9.27 rebase, notably RHEL 8) while relying on -dSAFER as the protection boundary; the crafted file abuses the insufficiently protected .forceput in the .charkeys procedure to escape that sandbox. Limiting factors: the target must actually feed untrusted PostScript to Ghostscript (automated upload/print/conversion pipelines are the realistic exposure), and defenses depend on -dSAFER being the intended containment - systems that never process untrusted PostScript, or that run unaffected Ghostscript versions, are not exposed. Authentication is not required per the CVSS vector (PR:N).

Impact

This is a genuine but conditional priority rather than a drop-everything emergency. The input CVSS vector (AV:N/AC:L/PR:N/UI:N, base 7.3) frames it as a network, low-complexity, unauthenticated issue, which maps to the real-world pattern of server-side pipelines (print/conversion/upload services) automatically rendering attacker-supplied PostScript with Ghostscript under -dSAFER. The decisive risk factor is the nature of the bug: a regression that silently reintroduces CVE-2019-14869 because the fix was dropped during the RHEL 9.25-to-9.27 rebase, leaving .forceput in .charkeys unprotected and permitting a -dSAFER sandbox escape to file access and command execution - CWE-648. Several escalation signals are MISSING or neutral: no EPSS probability was supplied, there is no CISA KEV listing (no confirmed active exploitation), and no public exploit was provided (the referenced GitHub commit is the upstream FIX, not weaponized exploit code). One tension to verify: the vector asserts UI:N, but exploitation realistically depends on some component processing untrusted PostScript - risk concentrates in environments with automated document/image conversion, not in systems that never feed Ghostscript untrusted input. Also note the input impact metrics (C:L/I:L/A:L) look conservative for a description that explicitly allows command execution - see assessed vector below.

Exploit ScenarioDerived

An attacker submits a specially crafted PostScript/EPS file to a service that automatically renders it with the vulnerable RHEL Ghostscript build under -dSAFER - for example a web upload, document-conversion, or print pipeline. The file abuses the unprotected privileged .forceput operation in the .charkeys procedure to break out of the SAFER sandbox, reading files outside permitted paths or executing commands as the Ghostscript process user. No public exploit was identified at time of analysis, though the upstream fix commit exposes the vulnerable code path.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.3% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Oct 20, 2026

Ghostscript as shipped with Red Hat Enterprise Linux 8-and, per CPE data, RHEL 6, 7, 9, and 10-may allow an attacker to escape -dSAFER protections when it processes a crafted PostScript file, enabling file access outside permitted paths or command execution with the Ghostscript process's privileges. The root cause is that Red Hat's 9.25-to-9.27 rebase omitted the CVE-2019-14869 correction, leaving privileged .forceput operations in the .charkeys procedure insufficiently protected; the supplied CVSS base score is 7.3, while the independent assessment treats confidentiality and integrity impact as High (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L). No CISA KEV entry is present in the supplied data and no public exploit identified at time of analysis; practical risk is conditional on a service or pipeline actually processing untrusted PostScript/EPS with an affected RHEL build.

RemediationAI

Apply the Red Hat updated Ghostscript package for the affected RHEL release once Red Hat publishes the errata; the upstream fix is commit 485904772c5f0aa1140032746e5a0abfc40f4cef in Artifex ghostpdl (Resource/Init/gs_ttf.ps, https://github.com/ArtifexSoftware/ghostpdl/commit/485904772c5f0aa1140032746e5a0abfc40f4cef). Upstream fix available (PR/commit); released patched version not independently confirmed, so verify the exact fixed build via https://access.redhat.com/security/cve/CVE-2026-112177 and https://bugzilla.redhat.com/show_bug.cgi?id=2555564 before relying on package version numbers. Until patched, do not feed untrusted PostScript/EPS to Ghostscript; disable or tightly restrict upload, print, preview, and document-conversion pipelines that invoke Ghostscript on attacker-controlled input, accepting the loss of that functionality as the trade-off. Because -dSAFER is the boundary being bypassed, do not rely on it alone: run Ghostscript as an unprivileged, confined user or container with a read-only filesystem and no unnecessary network access, though this can break legitimate file access and may require application-specific tuning.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

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

Technical ContextAI · show details

Ghostscript is a PostScript/PDF interpreter, and -dSAFER is its sandbox boundary intended to prevent untrusted documents from performing disallowed file or command operations. The .charkeys procedure in Resource/Init/gs_ttf.ps populates font character-key dictionaries using the internal .forceput operator; .forceput is privileged, so it must be carefully guarded against PostScript-level abuse. Red Hat's rebase from Ghostscript 9.25 to 9.27 omitted the CVE-2019-14869 correction, which maps to CWE-648 (Incorrect Use of Privileged APIs): the privileged .forceput path is insufficiently protected. An attacker able to supply a crafted PostScript/EPS file can abuse that path to bypass -dSAFER and read files outside allowed paths or execute commands as the Ghostscript process; the independent assessment vector AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L confirms no authentication requirement, but exploitation remains conditional on the target processing attacker-controlled PostScript with the affected RHEL build.

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 (redhat) PRIMARY 7.3 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
vuln.today AI 9.4 CRITICAL

Unauthenticated via automated PostScript processing (AV:N/PR:N/UI:N); SAFER escape yields file read and command execution, so C:H/I:H, with A:L limited to the gs process.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (redhat).

CVSS VectorVendor: redhat

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
Low

DescriptionCVE.org

A flaw was found in Ghostscript as shipped with Red Hat Enterprise Linux 8. The correction for CVE-2019-14869 was omitted during the rebase from version 9.25 to 9.27, leaving privileged .forceput operations in the .charkeys procedure insufficiently protected. Processing a specially crafted PostScript file may allow an attacker to bypass -dSAFER restrictions and access files outside the permitted paths or execute commands with the permissions of the Ghostscript process.

Executive ViewAI

Why It Matters

A sandbox-escape flaw in Red Hat's packaged Ghostscript leaves affected RHEL 6, 7, 8, 9 and 10 systems exposed to unauthorized file access or command execution whenever an untrusted PostScript or EPS file is processed. The issue stems from an incomplete historical rebase and currently has no vendor-released fix, so any team relying on Ghostscript for document conversion, print spooling, or file ingestion is carrying unmitigated risk until Red Hat ships an update. Leadership should care because the exposure is concentrated in automated content pipelines - the exact places where outside files enter the environment - and remediation depends on engineering changes, not just patching.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: block or quarantine untrusted PostScript/EPS input at ingestion points; run Ghostscript conversions in isolated, low-privilege containers with read-only filesystems and no network egress; enforce SELinux/AppArmor confinement; disable ImageMagick and other delegates that shell out to Ghostscript for untrusted content; remove unnecessary Ghostscript-dependent packages and monitor vendor errata for a fixed build.

Threat Intelligence Overview

EPSS Score
0.3%
Top 83% exploitable
Prevalence
High
Ghostscript ships broadly across Red Hat Enterprise Linux enterprise deployments
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment 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 No
EPSS 0.3%
Patch available No
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
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

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

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

Affected Products (CPE)CVE.org

cpe:2.3:a:red_hat:red_hat_enterprise_linux_10:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_enterprise_linux_6:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_enterprise_linux_7:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_enterprise_linux_8:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_enterprise_linux_9:*:*:*:*:*:*:*:*
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

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