---
id: CVE-2026-101258
title: A flaw was found in Ghostscript
summary: >-
  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
  cor…
severity: high
cvss: 7.8
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'
cwe:
  - CWE-787
vendor: Red Hat
product: ghostscript
affected:
  - ghostscript (all versions)
  - ghostscript (all versions)
  - ghostscript-fonts
  - ghostscript (all versions)
  - ghostscript-chinese (all versions)
  - ghostscript-fonts
  - ghostscript (all versions)
  - ghostscript (all versions)
published: '2026-10-06'
updated: '2026-10-06'
sourceUpdated: '2026-10-06T21:17:02.120'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-101258'
references:
  - url: 'https://access.redhat.com/security/cve/CVE-2026-101258'
    label: secalert@redhat.com
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2542396'
    label: secalert@redhat.com
  - url: 'https://github.com/v12-security/pocs/tree/main/ghostscript'
    label: secalert@redhat.com
tags:
  - nvd
  - cve.org
ingestedAt: '2026-10-06T21:20:28.977Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
