What’s Vulnerable › Vulnerabilities
CVE-2026-101258: Ghostscript: ghostscript: -dsafer sandbox bypass via type 5 shading oob write and procedure-stream use-after-free
- Severity: high (CVSS 7.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-10-06 · updated 2026-10-15
- Weakness: CWE-787
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.
Affected products
- Red Hat Enterprise Linux 10: all versions — fixed in 0:10.02.1-16.el10_2.3
- Red Hat Enterprise Linux 6: all versions
- Red Hat Enterprise Linux 7: all versions
- Red Hat Enterprise Linux 8: all versions — fixed in 0:9.27-19.el8_10
- Red Hat Enterprise Linux 9: all versions — fixed in 0:9.54.0-19.el9_8.3
How to fix
Upgrade to a fixed version: Red Hat Enterprise Linux 10 0:10.02.1-16.el10_2.3; Red Hat Enterprise Linux 8 0:9.27-19.el8_10; Red Hat Enterprise Linux 9 0:9.54.0-19.el9_8.3. Check the vendor advisory for mitigations.
References
- https://access.redhat.com/errata/RHSA-2026:83551
- https://access.redhat.com/errata/RHSA-2026:83552
- https://access.redhat.com/errata/RHSA-2026:83553
- https://access.redhat.com/security/cve/CVE-2026-101258
- https://bugzilla.redhat.com/show_bug.cgi?id=2542396
- https://github.com/v12-security/pocs/tree/main/ghostscript
Get alerted when CVE-2026-101258 or the next vulnerability affects your stack