CVEfocus › CVE database › CVE-2026-112177

CVE-2026-112177Ghostscript: reintroduction of .charkeys -dsafer bypass in rhel 8

CVSS 7.3 HighEPSS 0.5% (higher than 35% of CVEs)Published 2026-10-20Updated 2026-11-24Assigner: redhat

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.

CWE-648

What to do

Fixed builds are available from AlmaLinux, Red Hat, Rocky Linux: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

10Fixed
26Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Red Hat Enterprise Linux 10ghostscriptNot affected
Red Hat Enterprise Linux 10ghostscript-docNot affected
Red Hat Enterprise Linux 10ghostscript-tools-dvipdfNot affected
Red Hat Enterprise Linux 10ghostscript-tools-fontsNot affected
Red Hat Enterprise Linux 10ghostscript-tools-printingNot affected
Red Hat Enterprise Linux 10libgsNot affected
Red Hat Enterprise Linux 10libgs-develNot affected
Red Hat Enterprise Linux 9ghostscriptNot affected
Red Hat Enterprise Linux 9ghostscript-docNot affected
Red Hat Enterprise Linux 9ghostscript-tools-dvipdfNot affected
Red Hat Enterprise Linux 9ghostscript-tools-fontsNot affected
Red Hat Enterprise Linux 9ghostscript-tools-printingNot affected
Red Hat Enterprise Linux 9ghostscript-x11Not affected
Red Hat Enterprise Linux 9libgsNot affected
Red Hat Enterprise Linux 9libgs-develNot affected
Red Hat Enterprise Linux 8ghostscriptFixed0:9.27-20.el8_10RHSA-2026:93978
Red Hat Enterprise Linux 7ghostscriptNot affected
Red Hat Enterprise Linux 7ghostscript-cupsNot affected
Red Hat Enterprise Linux 7ghostscript-develNot affected
Red Hat Enterprise Linux 7ghostscript-docNot affected
Red Hat Enterprise Linux 7ghostscript-gtkNot affected
Red Hat Enterprise Linux 7libgsNot affected
Red Hat Enterprise Linux 7libgs-develNot affected
Red Hat Enterprise Linux 6ghostscriptNot affected
Red Hat Enterprise Linux 6ghostscript-develNot affected
Red Hat Enterprise Linux 6ghostscript-docNot affected
Red Hat Enterprise Linux 6ghostscript-gtkNot affected
AlmaLinux 8ghostscriptFixed9.27-20.el8_10ALSA-2026:93978
AlmaLinux 8ghostscript-docFixed9.27-20.el8_10ALSA-2026:93978
AlmaLinux 8ghostscript-tools-dvipdfFixed9.27-20.el8_10ALSA-2026:93978
AlmaLinux 8ghostscript-tools-fontsFixed9.27-20.el8_10ALSA-2026:93978
AlmaLinux 8ghostscript-tools-printingFixed9.27-20.el8_10ALSA-2026:93978
AlmaLinux 8ghostscript-x11Fixed9.27-20.el8_10ALSA-2026:93978
AlmaLinux 8libgsFixed9.27-20.el8_10ALSA-2026:93978
AlmaLinux 8libgs-develFixed9.27-20.el8_10ALSA-2026:93978
Rocky Linux 8ghostscriptFixed0:9.27-20.el8_10RLSA-2026:93978

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

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…

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.