What’s Vulnerable › Vulnerabilities

CVE-2026-101258: Ghostscript: ghostscript: -dsafer sandbox bypass via type 5 shading oob write and procedure-stream use-after-free

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

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

Get alerted when CVE-2026-101258 or the next vulnerability affects your stack