{"id":"CVE-2026-112177","kind":"vulnerability","aliases":["CVE-2026-112177"],"related":[],"title":"Ghostscript on RHEL 8: crafted PostScript escapes -dSAFER and runs commands","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.","summary":"A missing fix from a rebase left privileged .forceput operations in Ghostscript's .charkeys procedure under-protected on Red Hat Enterprise Linux 8. A specially crafted PostScript file can bypass -dSAFER, reading files outside permitted paths or running commands as the Ghostscript process.","severity":"high","cvss":7.3,"epss":null,"exploited":false,"exploited_at":null,"products":[],"ecosystems":[],"tags":["document-processing","ghostscript","linux","rhel","rhel-8","runtime"],"not_affected_if":["no-ghostscript-installed","trusted-input-only"],"how_to_check":"- Check the installed package with `rpm -q ghostscript` on RHEL 8 hosts\n- Confirm whether Ghostscript processes untrusted PostScript or PDF input, such as print or conversion pipelines","fix":"- Update the `ghostscript` package on RHEL 8 to the fixed build from Red Hat's advisory for this CVE (version unknown from the sources)\n- Until patched, avoid rendering untrusted PostScript files with Ghostscript","status":"open","published_at":"2026-10-20T08:16:42+00:00","first_seen_at":"2026-10-23T21:57:20+00:00","triaged_at":"2026-10-25T03:27:30+00:00","updated_at":"2026-10-25T03:27:30+00:00","category":"runtime","confidence":0.6,"triage":{"at":"2026-10-25T03:27:30Z","model":"claude-haiku-5-5","output":{"fix":"- Update the `ghostscript` package on RHEL 8 to the fixed build from Red Hat's advisory for this CVE (version unknown from the sources)\n- Until patched, avoid rendering untrusted PostScript files with Ghostscript","reach":"unknown","title":"Ghostscript on RHEL 8: crafted PostScript escapes -dSAFER and runs commands","impact":"high","summary":"A missing fix from a rebase left privileged .forceput operations in Ghostscript's .charkeys procedure under-protected on Red Hat Enterprise Linux 8. A specially crafted PostScript file can bypass -dSAFER, reading files outside permitted paths or running commands as the Ghostscript process.","category":"runtime","nicknames":[],"who_cares":["rhel","rhel-8","ghostscript","linux","document-processing"],"confidence":0.6,"needs_auth":"unknown","worst_case":"Attacker reads files or runs commands as the Ghostscript process.","analyst_note":"Find the Red Hat errata and the fixed ghostscript package version for RHEL 8 at the Red Hat CVE page and the NVD entry.","how_to_check":"- Check the installed package with `rpm -q ghostscript` on RHEL 8 hosts\n- Confirm whether Ghostscript processes untrusted PostScript or PDF input, such as print or conversion pipelines","needs_analyst":true,"not_affected_if":["no-ghostscript-installed","trusted-input-only"],"who_is_affected":"Systems running Ghostscript as shipped in Red Hat Enterprise Linux 8 that handle untrusted PostScript input, such as print servers, document converters or upload-to-thumbnail services. Hosts that only process trusted files or do not have Ghostscript installed can skip it.","user_interaction":"unknown","needs_special_setup":"unknown","severity_if_unknown":"high"},"cost_usd":0.000669,"input_tokens":3378,"output_tokens":663,"severity_before":"high"},"analyst_status":null,"analyst_note":null,"search":"'-112177':14A,17A '-14869':90C '-2019':89C '-2026':13A,16A '-8':25B '8':4A,50B,84C '9.25':98C '9.27':100C 'access':126C 'allow':118C 'attack':120C 'bypass':57B,122C 'charkey':40B,107C 'command':11A,66B,134C 'correct':86C 'craft':5A,53B,114C 'cve':12A,15A,88C 'document':19B 'document-process':18B 'dsafer':8A,58B,123C 'enterpris':48B,82C 'escap':7A 'execut':133C 'file':55B,60B,116C,127C 'fix':29B 'flaw':72C 'forceput':35B,103C 'found':74C 'ghostscript':1A,21B,38B,69B,76C,140C 'hat':47B,81C 'insuffici':109C 'leav':101C 'left':33B 'linux':22B,49B,83C 'may':117C 'miss':28B 'omit':92C 'oper':36B,104C 'outsid':61B,128C 'path':63B,131C 'permiss':137C 'permit':62B,130C 'postscript':6A,54B,115C 'privileg':34B,102C 'procedur':41B,108C 'process':20B,70B,111C,141C 'protect':44B,110C 'read':59B 'rebas':32B,95C 'red':46B,80C 'restrict':124C 'rhel':3A,23B,24B 'run':10A,65B 'runtim':26B 'ship':78C 'special':52B,113C 'under-protect':42B 'version':97C","nicknames":[],"mitigations":[],"who_affected":"Systems running Ghostscript as shipped in Red Hat Enterprise Linux 8 that handle untrusted PostScript input, such as print servers, document converters or upload-to-thumbnail services. Hosts that only process trusted files or do not have Ghostscript installed can skip it.","tier":"B","verified":{},"analyst_revisit_at":null,"first_public_at":"2026-10-20T08:16:42+00:00","kev":null,"cvss_vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","cvss_by":"secalert@redhat.com","poc_count":0,"sources":[{"source":"nvd","external_id":"CVE-2026-112177","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-112177","severity":null,"published_at":"2026-10-20T08:16:42+00:00","modified_at":"2026-10-20T15:03:59+00:00","first_seen_at":"2026-10-23T21:57:20+00:00","fetched_at":"2026-10-23T22:28:57+00:00","note":null}],"documents":[],"notice":"Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai"}