CVE-2026-112177
Ghostscript: reintroduction of .charkeys -dsafer bypass in rhel 8
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.
Fixes and workarounds
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)
Source: CNA: redhatAffected products and versions
| Product | Versions | Authority |
|---|---|---|
| Red Hat Enterprise Linux 8 Red Hat ghostscript
https://access.redhat.com/downloads/content/package-browser/ |
≥ 0:9.27-20.el8_10; < * (unaffected, rpm)
Other versions: affected |
CNA: redhat |
| Red Hat Enterprise Linux 10 Red Hat ghostscript
https://access.redhat.com/downloads/content/package-browser/ |
Range not reported
Other versions: unaffected |
CNA: redhat |
| Red Hat Enterprise Linux 6 Red Hat ghostscript
https://access.redhat.com/downloads/content/package-browser/ |
Range not reported
Other versions: unaffected |
CNA: redhat |
| Red Hat Enterprise Linux 7 Red Hat ghostscript
https://access.redhat.com/downloads/content/package-browser/ |
Range not reported
Other versions: unaffected |
CNA: redhat |
| Red Hat Enterprise Linux 9 Red Hat ghostscript
https://access.redhat.com/downloads/content/package-browser/ |
Range not reported
Other versions: unaffected |
CNA: redhat |
Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.
CVSS assessments
| Version / score | Vector | Authority |
|---|---|---|
| 3.1 / 7.3 high |
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L | CNA: redhat |
Exploit evidence
No exploit evidence in collected sources. This is not proof of no exploitation.
References
- https://access.redhat.com/errata/RHSA-2026:93978CNA: redhat · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2026-112177CNA: redhat · vdb-entry, x_refsource_REDHAT
- https://bugzilla.redhat.com/show_bug.cgi?id=2555564CNA: redhat · issue-tracking, x_refsource_REDHAT
- https://github.com/ArtifexSoftware/ghostpdl/commit/485904772c5f0aa1140032746e5a0abfc40f4cefCNA: redhat
For agents and automation
Read public disclosures for free as Markdown or JSON. Compatible browsers also expose native WebMCP tools to search disclosures, read this page, and discover API access.
Use the ontology-linked Cyber API with x402 pay per request, or a Y2 Pro or Elite API key with the intel:cyber scope.
Endpoints and access details
https://api.y2.dev/api/v2/cyber/cveshttps://api.y2.dev/api/v2/cyber/cves/{cveId}
A workspace owner or admin can create a Pro or Elite API key. Send Authorization: Bearer <Y2_API_KEY> from your trusted agent runtime.
For x402, omit Authorization and read the HTTP 402 payment challenge before signing a retry. Public browser tools do not make payments.