CVEfocus › CVE database › CVE-2026-101258

CVE-2026-101258Ghostscript: ghostscript: -dsafer sandbox bypass via type 5 shading oob write and…

CVSS 7.8 HighEPSS 0.2% (higher than 7% of CVEs)Published 2026-10-06Updated 2026-11-04Assigner: redhat

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.

CWE-787

What to do

Fixed builds are available from AlmaLinux, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.

Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

36Fixed
17Fix pending
2Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10ghostscriptFixed10.07.1~dfsg-1ubuntu2.1UBUNTU-CVE-2026-101258
Ubuntu 26.04ghostscriptFixed10.06.0~dfsg-3ubuntu1.2UBUNTU-CVE-2026-101258
Ubuntu 24.04ghostscriptFixed10.02.1~dfsg1-0ubuntu7.10UBUNTU-CVE-2026-101258
Ubuntu 22.04ghostscriptFixed9.55.0~dfsg1-0ubuntu5.15UBUNTU-CVE-2026-101258
Ubuntu 20.04ghostscriptFix pending9.50~dfsg-5ubuntu4.15+esm3 (Ubuntu Pro)UBUNTU-CVE-2026-101258
Ubuntu 18.04ghostscriptFix pending9.26~dfsg+0-0ubuntu0.18.04.18+esm6 (Ubuntu Pro)UBUNTU-CVE-2026-101258
Ubuntu 16.04ghostscriptFix pending9.26~dfsg+0-0ubuntu0.16.04.14+esm11 (Ubuntu Pro)UBUNTU-CVE-2026-101258
Debian 14ghostscriptFixed10.08.0~dfsg-1DEBIAN-CVE-2026-101258
Debian 13ghostscriptFixed10.05.1~dfsg-1+deb13u3DEBIAN-CVE-2026-101258
Debian 12ghostscriptFixed10.0.0~dfsg-11+deb12u9DEBIAN-CVE-2026-101258
Red Hat Enterprise Linux 10ghostscriptFixed0:10.02.1-16.el10_2.3RHSA-2026:83551
Red Hat Enterprise Linux 10libgsFixed0:10.02.1-16.el10_2.3RHSA-2026:83551
Red Hat Enterprise Linux 9ghostscriptFixed0:9.54.0-19.el9_8.3RHSA-2026:83553
Red Hat Enterprise Linux 9libgsFixed0:9.54.0-19.el9_8.3RHSA-2026:83553
Red Hat Enterprise Linux 8ghostscriptFixed0:9.27-19.el8_10RHSA-2026:83552
Red Hat Enterprise Linux 8libgsFixed0:9.27-19.el8_10RHSA-2026:83552
Red Hat Enterprise Linux 7ghostscriptFix pending
Affected
Red Hat Enterprise Linux 7ghostscript-chineseFix pending
Affected
Red Hat Enterprise Linux 7ghostscript-chinese-zh_CNFix pending
Affected
Red Hat Enterprise Linux 7ghostscript-chinese-zh_TWFix pending
Affected
Red Hat Enterprise Linux 7ghostscript-cupsFix pending
Affected
Red Hat Enterprise Linux 7ghostscript-develFix pending
Affected
Red Hat Enterprise Linux 7ghostscript-docFix pending
Affected
Red Hat Enterprise Linux 7ghostscript-fontsNot affected
Red Hat Enterprise Linux 7ghostscript-gtkFix pending
Affected
Red Hat Enterprise Linux 7libgsFix pending
Affected
Red Hat Enterprise Linux 7libgs-develFix pending
Affected
Red Hat Enterprise Linux 6ghostscriptFix pending
Affected
Red Hat Enterprise Linux 6ghostscript-develFix pending
Affected
Red Hat Enterprise Linux 6ghostscript-docFix pending
Affected
Red Hat Enterprise Linux 6ghostscript-fontsNot affected
Red Hat Enterprise Linux 6ghostscript-gtkFix pending
Affected
AlmaLinux 10ghostscript-docFixed10.02.1-16.el10_2.3ALSA-2026:83551
AlmaLinux 10ghostscript-tools-dvipdfFixed10.02.1-16.el10_2.3ALSA-2026:83551
AlmaLinux 10ghostscript-tools-fontsFixed10.02.1-16.el10_2.3ALSA-2026:83551
AlmaLinux 10ghostscript-tools-printingFixed10.02.1-16.el10_2.3ALSA-2026:83551
AlmaLinux 9ghostscriptFixed9.54.0-19.el9_8.3ALSA-2026:83553
AlmaLinux 9ghostscript-docFixed9.54.0-19.el9_8.3ALSA-2026:83553
AlmaLinux 9ghostscript-tools-dvipdfFixed9.54.0-19.el9_8.3ALSA-2026:83553
AlmaLinux 9ghostscript-tools-fontsFixed9.54.0-19.el9_8.3ALSA-2026:83553
AlmaLinux 9ghostscript-tools-printingFixed9.54.0-19.el9_8.3ALSA-2026:83553
AlmaLinux 9ghostscript-x11Fixed9.54.0-19.el9_8.3ALSA-2026:83553
AlmaLinux 9libgsFixed9.54.0-19.el9_8.3ALSA-2026:83553
AlmaLinux 9libgs-develFixed9.54.0-19.el9_8.3ALSA-2026:83553
AlmaLinux 8ghostscriptFixed9.27-19.el8_10ALSA-2026:83552
AlmaLinux 8ghostscript-docFixed9.27-19.el8_10ALSA-2026:83552
AlmaLinux 8ghostscript-tools-dvipdfFixed9.27-19.el8_10ALSA-2026:83552
AlmaLinux 8ghostscript-tools-fontsFixed9.27-19.el8_10ALSA-2026:83552
AlmaLinux 8ghostscript-tools-printingFixed9.27-19.el8_10ALSA-2026:83552
AlmaLinux 8ghostscript-x11Fixed9.27-19.el8_10ALSA-2026:83552
AlmaLinux 8libgsFixed9.27-19.el8_10ALSA-2026:83552
AlmaLinux 8libgs-develFixed9.27-19.el8_10ALSA-2026:83552
Rocky Linux 10ghostscriptFixed0:10.02.1-16.el10_2.3RLSA-2026:83551
Rocky Linux 9ghostscriptFixed0:9.54.0-19.el9_8.3RLSA-2026:83553
Rocky Linux 8ghostscriptFixed0:9.27-19.el8_10RLSA-2026:83552

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Workaround: No mitigation is currently available that meets Red Hat Product Security's standards for usability, deployment, applicability, or stability.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.