# CVE-2026-101258: Ghostscript -dSAFER sandbox bypass and arbitrary command execution

Source: https://junglewise.ai/threats/cve-2026-101258-a-flaw-was-found-in-ghostscript-when-ghostscript-renders-a  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-10-06. Updated: 2026-10-06  
License: CC BY 4.0 with a link back

CVE-2026-101258 · Severity: high · CVSS 7.8 · Published 2026-10-06

Ghostscript is a software suite used to interpret PostScript and PDF documents, commonly used in document conversion and print workflows. A vulnerability allows an attacker to craft malicious PostScript or EPS documents that bypass Ghostscript's security sandbox and execute arbitrary commands with the privileges of the Ghostscript process. An attacker can deliver such a document directly or embed it in formats that delegate rendering to Ghostscript, potentially compromising the confidentiality, integrity, and availability of data accessible to the process.

## Quick answers

**Is CVE-2026-101258 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-101258 being exploited in the wild.

**How severe is CVE-2026-101258?** High severity, with a CVSS score of 7.8, published 6 October 2026.

**Which products and versions are affected?** Ghostscript 10.02.1, 9.54.0 (RHEL 9), 9.27 (RHEL 8) and earlier; affects both 9.x and 10.x series.

**Is there a fix for CVE-2026-101258?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is CVE-2026-101258 attacked?** It is attacked with local access.

**Am I affected by CVE-2026-101258?** Check whether you run Ghostscript at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

The vulnerability chains an out-of-bounds write in document parsing (CWE-787) with runtime disabling of path access controls, allowing bypass of the -dSAFER sandbox. The flaw affects Ghostscript's Type 5 shading implementation and involves a procedure-stream use-after-free. Attack vector is local; exploitation requires user interaction to open or process the crafted file, but no special privileges are needed. Successful exploitation results in arbitrary command execution in the context of the vulnerable Ghostscript process.

## Affected products

- Ghostscript 10.02.1, 9.54.0 (RHEL 9), 9.27 (RHEL 8) and earlier; affects both 9.x and 10.x series

## Timeline

- 2026-10-06: disclosed

## References

- [https://access.redhat.com/downloads/content/package-browser/](https://access.redhat.com/downloads/content/package-browser/)
- [https://access.redhat.com/security/cve/CVE-2026-101258](https://access.redhat.com/security/cve/CVE-2026-101258)

## Related threats

- [Ghostscript heap buffer overflow in TrueType font rendering](https://junglewise.ai/threats/cve-2026-110133-a-flaw-was-found-in-ghostscript-when-processing-a-specially)
