Vulnerability · Published Oct 6, 2026 · Assigned by redhat
CVE-2026-101258Ghostscript: ghostscript: -dsafer sandbox bypass via type 5 shading oob write and procedure-stream use-after-free
High 7.8
In plain English
A high-severity out-of-bounds write in Red Hat Enterprise Linux 10 from Red Hat. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 8% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:10 | ghostscript | 10.02.1-16.el10_2.3 | ALSA-2026:83551 |
| AlmaLinux:8 | ghostscript | 9.27-19.el8_10 | ALSA-2026:83552 |
| AlmaLinux:9 | ghostscript | 9.54.0-19.el9_8.3 | ALSA-2026:83553 |
| AlmaLinux:10 | ghostscript-doc | 10.02.1-16.el10_2.3 | ALSA-2026:83551 |
| AlmaLinux:8 | ghostscript-doc | 9.27-19.el8_10 | ALSA-2026:83552 |
| AlmaLinux:9 | ghostscript-doc | 9.54.0-19.el9_8.3 | ALSA-2026:83553 |
| AlmaLinux:10 | ghostscript-tools-dvipdf | 10.02.1-16.el10_2.3 | ALSA-2026:83551 |
| AlmaLinux:8 | ghostscript-tools-dvipdf | 9.27-19.el8_10 | ALSA-2026:83552 |
| AlmaLinux:9 | ghostscript-tools-dvipdf | 9.54.0-19.el9_8.3 | ALSA-2026:83553 |
| AlmaLinux:10 | ghostscript-tools-fonts | 10.02.1-16.el10_2.3 | ALSA-2026:83551 |
| AlmaLinux:8 | ghostscript-tools-fonts | 9.27-19.el8_10 | ALSA-2026:83552 |
| AlmaLinux:9 | ghostscript-tools-fonts | 9.54.0-19.el9_8.3 | ALSA-2026:83553 |
| AlmaLinux:10 | ghostscript-tools-printing | 10.02.1-16.el10_2.3 | ALSA-2026:83551 |
| AlmaLinux:8 | ghostscript-tools-printing | 9.27-19.el8_10 | ALSA-2026:83552 |
| AlmaLinux:9 | ghostscript-tools-printing | 9.54.0-19.el9_8.3 | ALSA-2026:83553 |
| AlmaLinux:8 | ghostscript-x11 | 9.27-19.el8_10 | ALSA-2026:83552 |
| AlmaLinux:9 | ghostscript-x11 | 9.54.0-19.el9_8.3 | ALSA-2026:83553 |
| AlmaLinux:10 | libgs | 10.02.1-16.el10_2.3 | ALSA-2026:83551 |
| AlmaLinux:8 | libgs | 9.27-19.el8_10 | ALSA-2026:83552 |
| AlmaLinux:9 | libgs | 9.54.0-19.el9_8.3 | ALSA-2026:83553 |
| AlmaLinux:10 | libgs-devel | 10.02.1-16.el10_2.3 | ALSA-2026:83551 |
| AlmaLinux:8 | libgs-devel | 9.27-19.el8_10 | ALSA-2026:83552 |
| AlmaLinux:9 | libgs-devel | 9.54.0-19.el9_8.3 | ALSA-2026:83553 |
| Debian:12 | ghostscript | no fix listed | DEBIAN-CVE-2026-101258 |
| Debian:13 | ghostscript | 10.05.1~dfsg-1+deb13u3 | DEBIAN-CVE-2026-101258 |
| Debian:14 | ghostscript | 10.08.0~dfsg-1 | DEBIAN-CVE-2026-101258 |
| Rocky Linux:10 | ghostscript | 0:10.02.1-16.el10_2.3 | RLSA-2026:83551 |
| Rocky Linux:8 | ghostscript | 0:9.27-19.el8_10 | RLSA-2026:83552 |
| Rocky Linux:9 | ghostscript | 0:9.54.0-19.el9_8.3 | RLSA-2026:83553 |
| Ubuntu:22.04:LTS | ghostscript | 9.55.0~dfsg1-0ubuntu5.15 | UBUNTU-CVE-2026-101258 |
| Ubuntu:22.04:LTS | ghostscript | 9.55.0~dfsg1-0ubuntu5.15 | USN-8949-1 |
| Ubuntu:24.04:LTS | ghostscript | 10.02.1~dfsg1-0ubuntu7.10 | UBUNTU-CVE-2026-101258 |
| Ubuntu:24.04:LTS | ghostscript | 10.02.1~dfsg1-0ubuntu7.10 | USN-8949-1 |
| Ubuntu:26.04:LTS | ghostscript | 10.06.0~dfsg-3ubuntu1.2 | UBUNTU-CVE-2026-101258 |
| Ubuntu:26.04:LTS | ghostscript | 10.06.0~dfsg-3ubuntu1.2 | USN-8949-1 |
| Ubuntu:26.10 | ghostscript | 10.07.1~dfsg-1ubuntu2.1 | UBUNTU-CVE-2026-101258 |
| Ubuntu:26.10 | ghostscript | 10.07.1~dfsg-1ubuntu2.1 | USN-8949-1 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Red Hat | Red Hat Enterprise Linux 10 | see references |
| Red Hat | Red Hat Enterprise Linux 8 | see references |
| Red Hat | Red Hat Enterprise Linux 9 | see references |
| Red Hat | Red Hat Enterprise Linux 6 | see references |
| Red Hat | Red Hat Enterprise Linux 6 | see references |
| Red Hat | Red Hat Enterprise Linux 7 | see references |
| Red Hat | Red Hat Enterprise Linux 7 | see references |
| Red Hat | Red Hat Enterprise Linux 7 | see references |
Weakness: CWE-787 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
References
- RHSA-2026:83551 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:83552 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:83553 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2026-101258 vdb-entry, x_refsource_REDHAT
- RHBZ#2542396 issue-tracking, x_refsource_REDHAT
- https://github.com/v12-security/pocs/tree/main/ghostscript