Skip to content
OpenAdvisories
High · 7.8 CVE-2026-101258 EUVD-2026-93982GHSA-g96p-c3cq-wp28

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

Published Oct 6, 2026 · Updated Nov 4, 2026 · Assigned by redhat

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 products

VendorProductAffectedFixed
Red Hat Red Hat Enterprise Linux 10 — —
Red Hat Red Hat Enterprise Linux 8 — —
Red Hat Red Hat Enterprise Linux 9 — —
Red Hat Red Hat Enterprise Linux 6 — —
Red Hat Red Hat Enterprise Linux 7 — —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 ghostscript 10.08.0~dfsg-1 —
Debian 13 ghostscript 10.05.1~dfsg-1+deb13u3 —
Debian 12 ghostscript No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 ghostscript 10.07.1~dfsg-1ubuntu2.1 USN-8949-1
Ubuntu 26.04 LTS ghostscript 10.06.0~dfsg-3ubuntu1.2 USN-8949-1
Ubuntu 24.04 LTS ghostscript 10.02.1~dfsg1-0ubuntu7.10 USN-8949-1
Ubuntu 22.04 LTS ghostscript 9.55.0~dfsg1-0ubuntu5.15 USN-8949-1
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 20.04 LTS ghostscript 9.50~dfsg-5ubuntu4.15+esm3 USN-8949-1
Ubuntu Pro 18.04 LTS ghostscript 9.26~dfsg+0-0ubuntu0.18.04.18+esm6 USN-8949-1
Ubuntu Pro 16.04 LTS ghostscript 9.26~dfsg+0-0ubuntu0.16.04.14+esm11 USN-8949-1
ReleasePackageFixed inAdvisory
RHEL 10 libgs +1 10.02.1-16.el10_2.3 RHSA-2026:83551
RHEL 9 libgs +1 9.54.0-19.el9_8.3 RHSA-2026:83553
RHEL 8 libgs +1 9.27-19.el8_10 RHSA-2026:83552

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 10 libgs +6 10.02.1-16.el10_2.3 ALSA-2026:83551
AlmaLinux 9 libgs +7 9.54.0-19.el9_8.3 ALSA-2026:83553
AlmaLinux 8 libgs +7 9.27-19.el8_10 ALSA-2026:83552

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 10 ghostscript 10.02.1-16.el10_2.3 RLSA-2026:83551
Rocky Linux 9 ghostscript 9.54.0-19.el9_8.3 RLSA-2026:83553
Rocky Linux 8 ghostscript 9.27-19.el8_10 RLSA-2026:83552
ReleasePackageFixed inAdvisory
SLES 15 SP7 ghostscript 9.52-150000.217.1 SUSE-SU-2026:5039-1
SLES 15 SP6 ghostscript 9.52-150000.217.1 SUSE-SU-2026:5039-1
SLES 15 SP5 ghostscript 9.52-150000.217.1 SUSE-SU-2026:5039-1
SLES 15 SP4 ghostscript 9.52-150000.217.1 SUSE-SU-2026:5039-1
SLES 12 SP5 ghostscript 9.52-23.103.1 SUSE-SU-2026:5094-1
Show 7 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 16.0 ghostscript 10.08.0-160000.2.1 SUSE-SU-2026:24468-1
SLES for SAP 15 SP6 ghostscript 9.52-150000.217.1 SUSE-SU-2026:5039-1
SLES for SAP 15 SP5 ghostscript 9.52-150000.217.1 SUSE-SU-2026:5039-1
SLES for SAP 15 SP4 ghostscript 9.52-150000.217.1 SUSE-SU-2026:5039-1
SLES 16.0 ghostscript 10.08.0-160000.2.1 SUSE-SU-2026:24468-1
SLE HPC 15 SP5 ghostscript 9.52-150000.217.1 SUSE-SU-2026:5039-1
SLE HPC 15 SP4 ghostscript 9.52-150000.217.1 SUSE-SU-2026:5039-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed ghostscript 10.08.0-2.1 openSUSE-SU-2026:12128-1
openSUSE Leap 16.0 ghostscript 10.08.0-160000.2.1 openSUSE-SU-2026:22176-1

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 libgs +8 9.56.1-7.amzn2023.0.20 ALAS2023-2026-3294
Amazon Linux 2 libgs +5 9.54.0-9.amzn2.0.14 ALAS2-2026-4034

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 10 libgs +6 10.02.1-16.el10_2.3 ELSA-2026-83551
Oracle Linux 9 libgs +7 9.54.0-19.el9_8.3 ELSA-2026-83553
Oracle Linux 8 libgs +7 9.27-19.el8_10 ELSA-2026-83552

Advisories 21

References