CVE-2026-101258

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

State
Published
Severity
7.8 High
Published
Oct 6, 2026
Updated
Oct 15, 2026
Reserved
Sep 28, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:Hredhat

Weaknesses

Affected Products

ProductVersions
Red Hat Enterprise Linux 10Red Hat
  • 0:10.02.1-16.el10_2.3 and laterNot affected
Red Hat Enterprise Linux 8Red Hat
  • 0:9.27-19.el8_10 and laterNot affected
Red Hat Enterprise Linux 9Red Hat
  • 0:9.54.0-19.el9_8.3 and laterNot affected
Red Hat Enterprise Linux 6Red Hat
    Red Hat Enterprise Linux 6Red Hat
      Red Hat Enterprise Linux 7Red Hat
        Red Hat Enterprise Linux 7Red Hat
          Red Hat Enterprise Linux 7Red Hat

            References

            Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.