Description
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.
Published: 2026-10-20
Score: 7.3 High
EPSS: < 1% Very Low
KEV: No
Impact: Remote code execution
Action: Assess Impact
AI Analysis

Impact

The vulnerability resides in Ghostscript as deployed in Red Hat Enterprise Linux 8. The fix that addressed a prior CVE‑2019‑14869 was omitted during the rebase from version 9.25 to 9.27. As a result, privileged .forceput operations in the .charkeys procedure are insufficiently protected. Processing a specially crafted PostScript file can bypass the -dSAFER restrictions, allowing an attacker to read or write files outside the permitted paths or execute commands with the permissions of the Ghostscript process. The weakness is classified as CWE‑648: improper restriction of operations within the bounds of a task.

Affected Systems

The flaw has been identified in Ghostscript as shipped with Red Hat Enterprise Linux 8. The CNA lists affected RHEL versions 6 through 10, but the description specifically references the RHEL 8 package.

Risk and Exploitability

The vulnerability carries a CVSS score of 7.3 and an EPSS score of less than 1 %, indicating that, while the potential impact is significant, the likelihood of exploitation in the wild is currently low. The issue is not listed in the CISA KEV catalog, implying no known exploit code or widespread attacks have been documented. Exploitation would require delivery of a malicious PostScript file to a Ghostscript instance that is executing with elevated privileges or with the -dSAFER flag enabled. An attacker could then read or modify restricted files or spawn arbitrary commands, effectively achieving remote code execution or privilege escalation.

Generated by OpenCVE AI on October 20, 2026 at 15:52 UTC.

Remediation

Vendor Workaround

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability. --- CME Mitigation Guidance (2026-10-20) --- Disclaimer: The following mitigation solutions are provided as a courtesy, pending the application of an official patch. This content was generated utilizing AI tools in conjunction with data from https://cmetaxonomy.org. Customers are advised to independently evaluate and test these temporary mitigations within their own infrastructure. The highest-value action is to eliminate privileged .forceput operations in the .charkeys procedure to enforce -dSAFER sandbox boundaries: upgrade to the fixed Ghostscript builds, which replace .forceput invocations with standard put operations in the /.charkeys procedure in Resource/Init/gs_ttf.ps, closing all 2 injection vectors (crafted PostScript document, malicious TrueType font processing). Until patched, this is a concern on Ghostscript on Linux (RHEL 8) processing untrusted input, such as print or document-conversion services, so Restrict or halt processing of untrusted PostScript documents and TrueType font inputs across document-conversion and printing services that invoke Ghostscript. As a compensating measure, Use auditd to log unauthorized file access attempts and unexpected execve syscalls spawned by the Ghostscript process, Run SELinux in enforcing mode to confine the Ghostscript process to a restricted domain, Use Linux mount and PID namespaces to restrict filesystem and process visibility for Ghostscript execution, Deploy an EDR agent to detect and terminate unexpected shell or child process spawns from Ghostscript, and Use Falco or eBPF runtime security to detect anomalous child process execution and unauthorized file reads. These controls limit blast radius and contain exploitation, but they do not fix the underlying privileged .forceput sandbox bypass — apply the upstream patch to fully remediate. Highest-impact CME: CME-1002 Audit Subsystem (auditd) (medium)


OpenCVE Recommended Actions

  • No workaround is available; apply other mitigations.
  • Run Ghostscript under a least‑privileged user and avoid execution as root
  • Enforce strict filesystem permissions and SELinux/AppArmor policies to restrict Ghostscript’s access to only the directories required for normal operation
  • Scan all PostScript input for malicious constructs before processing, and monitor Ghostscript logs for suspicious activity

Generated by OpenCVE AI on October 20, 2026 at 15:52 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 20 Oct 2026 21:00:00 +0000

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

Tue, 20 Oct 2026 14:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 20 Oct 2026 12:45:00 +0000

Type Values Removed Values Added
Description 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.
Title Ghostscript: reintroduction of .charkeys -dsafer bypass in rhel 8
First Time appeared Redhat
Redhat enterprise Linux
Weaknesses CWE-648
CPEs cpe:/o:redhat:enterprise_linux:10
cpe:/o:redhat:enterprise_linux:6
cpe:/o:redhat:enterprise_linux:7
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
Vendors & Products Redhat
Redhat enterprise Linux
References
Metrics threat_severity

None

cvssV3_1

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

threat_severity

Important


Subscriptions

Ghostscript Ghostscript
Redhat Enterprise Linux
cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published:

Updated: 2026-10-20T20:58:40.213Z

Reserved: 2026-10-19T08:44:20.679Z

Link: CVE-2026-112177

cve-icon Vulnrichment

Updated: 2026-10-20T13:28:54.256Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-10-20T08:16:42.507

Modified: 2026-10-20T15:03:59.857

Link: CVE-2026-112177

cve-icon Redhat

Severity : Important

Publid Date: 2026-10-20T07:04:46Z

Links: CVE-2026-112177 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-20T20:31:47Z

Weaknesses
  • CWE-648

    Incorrect Use of Privileged APIs