Ghostscript -dSAFER sandbox bypass lets crafted files run commands
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 4 fixed, 2 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and Red Hat. Impact type from CWE-787 and the CVSS impact.
Summary
Ghostscript packages in Red Hat Enterprise Linux 6, 7, 8, 9 and 10 are listed as affected. A flaw in document parsing combines an out-of-bounds write (CWE-787) with runtime disabling of internal path access controls. An attacker needs no privileges, but a user must render a crafted PostScript or EPS document, which lets the attacker bypass the -dSAFER sandbox and run shell commands. Successful exploitation can compromise the confidentiality, integrity and availability of data the Ghostscript process can access.
Written with Claude Haiku 5.5 from the sources below · 2026-10-29
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Red Hat | Red Hat Enterprise Linux 10 | — | 10.02.1-16.el10_2.3 | Patch available | CNA |
| Red Hat | Red Hat Enterprise Linux 8 | — | 9.27-19.el8_10 | Patch available | CNA |
| Red Hat | Red Hat Enterprise Linux 9 | — | 9.54.0-19.el9_8.3 | Patch available | CNA |
| Red Hat | Red Hat Enterprise Linux 6 | — | — | No fix listed | CNA |
| Red Hat | Red Hat Enterprise Linux 6 | — | — | Not affected | CNA |
| Red Hat | Red Hat Enterprise Linux 7 | — | — | No fix listed | CNA |
| Red Hat | Red Hat Enterprise Linux 7 | — | — | No fix listed | CNA |
| Red Hat | Red Hat Enterprise Linux 7 | — | — | Not affected | CNA |
- Red Hat Enterprise Linux 10 VendorRed Hat Affected — Fixed in 10.02.1-16.el10_2.3 Patch available CNA
- Red Hat Enterprise Linux 8 VendorRed Hat Affected — Fixed in 9.27-19.el8_10 Patch available CNA
- Red Hat Enterprise Linux 9 VendorRed Hat Affected — Fixed in 9.54.0-19.el9_8.3 Patch available CNA
- Red Hat Enterprise Linux 6 VendorRed Hat Affected — Fixed in — No fix listed CNA
- Red Hat Enterprise Linux 6 VendorRed Hat Affected — Fixed in — Not affected CNA
- Red Hat Enterprise Linux 7 VendorRed Hat Affected — Fixed in — No fix listed CNA
- Red Hat Enterprise Linux 7 VendorRed Hat Affected — Fixed in — No fix listed CNA
- Red Hat Enterprise Linux 7 VendorRed Hat Affected — Fixed in — Not affected CNA
CPE names CNA · 7
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:/o:redhat:enterprise_linux:10.2 | 10.2 | — | Red Hat |
| cpe:/a:redhat:enterprise_linux:8::appstream | 8 | — | Red Hat |
| cpe:/a:redhat:enterprise_linux:8::crb | 8 | — | Red Hat |
| cpe:/a:redhat:enterprise_linux:9::appstream | 9 | — | Red Hat |
| cpe:/a:redhat:enterprise_linux:9::crb | 9 | — | Red Hat |
| cpe:/o:redhat:rhel_els:6 | 6 | — | Red Hat |
| cpe:/o:redhat:rhel_els:7 | 7 | — | Red Hat |
- cpe:/o:redhat:enterprise_linux:10.2 Versions 10.2 — ·Red Hat
- cpe:/a:redhat:enterprise_linux:8::appstream Versions 8 — ·Red Hat
- cpe:/a:redhat:enterprise_linux:8::crb Versions 8 — ·Red Hat
- cpe:/a:redhat:enterprise_linux:9::appstream Versions 9 — ·Red Hat
- cpe:/a:redhat:enterprise_linux:9::crb Versions 9 — ·Red Hat
- cpe:/o:redhat:rhel_els:6 Versions 6 — ·Red Hat
- cpe:/o:redhat:rhel_els:7 Versions 7 — ·Red Hat
Remediation
Update Ghostscript to 9.27-19.el8_10 on Red Hat Enterprise Linux 8 (RHSA-2026:83552), 9.54.0-19.el9_8.3 on Red Hat Enterprise Linux 9 (RHSA-2026:83553) and 10.02.1-16.el10_2.3 on Red Hat Enterprise Linux 10 (RHSA-2026:83551). The sources list no fixed version for Red Hat Enterprise Linux 6 and 7, and Red Hat lists no available fix plan for them.
Written with Claude Haiku 5.5 from the sources below · 2026-10-29
Red Hat 3 advisories
- RHSA-2026:83553 Released 2026-10-15 · Red Hat rating Importantghostscript security update
- Red Hat Enterprise Linux AppStream (v. 9) ghostscript-9.54.0-19.el9_8.3, libgs-9.54.0-19.el9_8.3
- Red Hat Enterprise Linux CodeReady Linux Builder (v. 9) ghostscript-9.54.0-19.el9_8.3
- RHSA-2026:83551 Released 2026-10-15 · Red Hat rating Importantghostscript security update
- Red Hat Enterprise Linux AppStream (v. 10) ghostscript-10.02.1-16.el10_2.3, libgs-10.02.1-16.el10_2.3
- RHSA-2026:83552 Released 2026-10-15 · Red Hat rating Importantghostscript security update
- Red Hat Enterprise Linux AppStream (v. 8) ghostscript-9.27-19.el8_10, libgs-9.27-19.el8_10
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 6 | Affected | No fix yet |
| Red Hat Enterprise Linux 7 | Affected | No fix yet |
| Red Hat Enterprise Linux AppStream (v. 10) | Fixed | RHSA-2026:83551 |
| Red Hat Enterprise Linux AppStream (v. 8) | Fixed | RHSA-2026:83552 |
| Red Hat Enterprise Linux AppStream (v. 9) | Fixed | RHSA-2026:83553 |
| Red Hat Enterprise Linux CodeReady Linux Builder (v. 9) | Fixed | RHSA-2026:83553 |
Not affected: 8 products
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux AppStream (v. 10)
- Red Hat Enterprise Linux AppStream (v. 8)
- Red Hat Enterprise Linux AppStream (v. 9)
- Red Hat Enterprise Linux CRB (v. 8)
- Red Hat Enterprise Linux CodeReady Linux Builder (v. 10)
- Red Hat Enterprise Linux CodeReady Linux Builder (v. 9)
Timeline
- 2026-10-07 Threatist record created from CVE-2026-101258
- 2026-10-07 Alias added: GHSA-g96p-c3cq-wp28
- 2026-10-07 Affected versions changed · Red Hat
- 2026-10-07 CVSS score added · Red Hat
- 2026-10-07 CISA SSVC decision points changed
- 2026-10-07 Priority changed: MEDIUM → LOW
- 2026-10-16 Fix available: ghostscript@0:10.02.1-16.el10_2.3, ghostscript@0:9.27-19.el8_10, ghostscript@0:9.54.0-19.el9_8.3 · CNA
- 2026-10-16 3 new references · CNA
- 2026-10-16 Fix available: RHSA-2026:83551 · Red Hat
- 2026-10-16 Fix available: RHSA-2026:83552 · Red Hat
- 2026-10-16 Fix available: RHSA-2026:83553 · Red Hat
- 2026-10-16 Fix available: Red Hat Enterprise Linux AppStream (v. 10), Red Hat Enterprise Linux AppStream (v. 8), Red Hat Enterprise Linux AppStream (v. 9) +1 · Red Hat
References
More Red Hat vulnerabilities
- TI-2019-15875 Protection mechanism failure in Jenkins Pipeline: Groovy Plugin KEVCVSS 3.1CRITICAL 9.9
- TI-2019-15874 Protection mechanism failure in Jenkins Script Security Plugin KEVCVSS 3.1CRITICAL 9.9
- TI-2019-08259 Underflow in PHP-FPM can lead to RCE KEVCVSS 3.1CRITICAL 9.8
- TI-2019-05363 Code injection in Elastic Kibana KEVCVSS 3.1CRITICAL 10.0
- TI-2019-03949 Out-of-bounds write in ESXi and Horizon DaaS KEVCVSS 3.1CRITICAL 9.8
- TI-2018-16080 A code execution vulnerability exists in the Stapler web framework used by Jenkins 2.153… KEVCVSS 3.1CRITICAL 9.8
Sources
- CVE-2026-101258 · CVE Program
- CVE-2026-101258 · NVD
- FIRST EPSS
- GHSA-g96p-c3cq-wp28 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-101258 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences