Description
A flaw was found in Ghostscript. When Ghostscript renders a crafted PostScript or EPS document, it can bypass the -dSAFER sandbox and execute arbitrary shell commands in the context of the Ghostscript process. The issue chains memory corruption in document parsing with disabling of internal path access controls at runtime. An attacker can deliver the document directly or through formats that delegate rendering to Ghostscript (for example EPS import or print conversion workflows). Successful exploitation can compromise confidentiality, integrity, and availability of data accessible to the process running Ghostscript.
Published: 2026-10-06
Score: 7.8 High
EPSS: < 1% Very Low
KEV: No
Impact: Remote Code Execution
Action: Monitor
AI Analysis

Impact

A memory corruption flaw in Ghostscript allows a crafted PostScript or EPS document to bypass the -dSAFER sandbox flag and subsequently execute arbitrary shell commands in the context of the Ghostscript process. The vulnerability is achieved by an out‑of‑bounds write in type 5 shading, followed by a use‑after‑free of a procedure stream that removes internal path access controls during parsing, thus enabling the escape from the sandbox environment.

Affected Systems

The flaw affects Ghostscript runs on Red Hat Enterprise Linux 6, 7, 8, 9 and 10. All versions of the OS package that include Ghostscript prior to the official fix are vulnerable and consequently any system that processes PostScript or EPS files through Ghostscript is at risk.

Risk and Exploitability

The CVSS base score of 7.8 classifies the issue as high severity. No EPSS score is reported, so exploitation likelihood remains uncertain; however the vulnerability is listed in Red Hat advisories and is not yet in the CISA KEV catalog. The attack vector most commonly involves the delivery of malicious EPS or PostScript content to a system that employs Ghostscript for rendering, printing, or conversion workflows. Successful exploitation grants full control over the Ghostscript process, enabling an attacker to compromise the confidentiality, integrity, and availability of any data or services that the process can access.

Generated by OpenCVE AI on October 6, 2026 at 23:38 UTC.

Remediation

Vendor Workaround

No mitigation is currently available that meets Red Hat Product Security's standards for usability, deployment, applicability, or stability.


OpenCVE Recommended Actions

  • Verify the current Ghostscript version and remove or disable Ghostscript for untrusted documents until a vendor patch becomes available.
  • Restrict Ghostscript execution to a non‑privileged user or encapsulate it in a tightly‑controlled container with no external network access.
  • Follow Red Hat security advisories and apply any future fix when released; in the meantime monitor for suspicious command execution by the Ghostscript process.

Generated by OpenCVE AI on October 6, 2026 at 23:38 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DSA Debian DSA DSA-6550-1 ghostscript security update
History

Thu, 15 Oct 2026 17:00:00 +0000

Type Values Removed Values Added
CPEs cpe:/o:redhat:enterprise_linux:10
cpe:/o:redhat:enterprise_linux:9
cpe:/a:redhat:enterprise_linux:9::appstream
cpe:/a:redhat:enterprise_linux:9::crb
cpe:/o:redhat:enterprise_linux:10.2
References

Thu, 15 Oct 2026 13:30:00 +0000

Type Values Removed Values Added
CPEs cpe:/o:redhat:enterprise_linux:8 cpe:/a:redhat:enterprise_linux:8::appstream
cpe:/a:redhat:enterprise_linux:8::crb
References

Fri, 09 Oct 2026 09:15:00 +0000

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

Wed, 07 Oct 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Wed, 07 Oct 2026 00:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Important


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

Type Values Removed Values Added
Description A flaw was found in Ghostscript. When Ghostscript renders a crafted PostScript or EPS document, it can bypass the -dSAFER sandbox and execute arbitrary shell commands in the context of the Ghostscript process. The issue chains memory corruption in document parsing with disabling of internal path access controls at runtime. An attacker can deliver the document directly or through formats that delegate rendering to Ghostscript (for example EPS import or print conversion workflows). Successful exploitation can compromise confidentiality, integrity, and availability of data accessible to the process running Ghostscript.
Title Ghostscript: ghostscript: -dsafer sandbox bypass via type 5 shading oob write and procedure-stream use-after-free
First Time appeared Redhat
Redhat enterprise Linux
Weaknesses CWE-787
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 cvssV3_1

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


Subscriptions

Ghostscript Ghostscript
Redhat Enterprise Linux
cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published:

Updated: 2026-10-15T16:41:37.344Z

Reserved: 2026-09-28T10:28:19.146Z

Link: CVE-2026-101258

cve-icon Vulnrichment

Updated: 2026-10-07T15:45:33.487Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-10-06T21:17:02.120

Modified: 2026-10-15T17:17:08.383

Link: CVE-2026-101258

cve-icon Redhat

Severity : Important

Publid Date: 2026-10-06T15:56:02Z

Links: CVE-2026-101258 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-09T08:31:59Z

Weaknesses