Skip to content
OpenAdvisories
Unscored CVE-2018-16802 EUVD-2018-8602GHSA-r3qx-w5mm-cr27

An issue was discovered in Artifex Ghostscript before 9.25. Incorrect "restoration of privilege" checking when running out of stack during …

Published Sep 10, 2018 · Updated Aug 5, 2024 · Assigned by mitre

Description

An issue was discovered in Artifex Ghostscript before 9.25. Incorrect "restoration of privilege" checking when running out of stack during exception handling could be used by attackers able to supply crafted PostScript to execute code using the "pipe" instruction. This is due to an incomplete fix for CVE-2018-16509.

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 9.25~dfsg-1 —
Debian 13 ghostscript 9.25~dfsg-1 —
Debian 12 ghostscript 9.25~dfsg-1 —
Debian 9 ghostscript 9.20~dfsg-3.2+deb9u5 DSA-4294-1
Debian 8 ghostscript 9.06~dfsg-2+deb8u8 DLA-1504-1
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS ghostscript 9.22~dfsg+1-0ubuntu1.2 USN-3768-1
Ubuntu 16.04 LTS ghostscript 9.18~dfsg~0-0ubuntu2.9 USN-3768-1
Ubuntu 14.04 LTS ghostscript 9.10~dfsg-0ubuntu10.13 USN-3768-1
ReleasePackageFixed inAdvisory
RHEL 7 ghostscript +4 9.07-31.el7_6.6 RHSA-2018:3834
ReleasePackageFixed inAdvisory
SLES 15 ghostscript 9.25-3.6.1 SUSE-SU-2018:2976-1
SLES 15 libspectre 0.2.8-3.2.1 SUSE-SU-2018:2976-1
SLES 12 SP3 ghostscript 9.25-23.13.1 SUSE-SU-2018:2975-1
SLES 12 SP2 ghostscript 9.25-23.13.1 SUSE-SU-2018:2975-2, SUSE-SU-2018:2975-1
SLES 12 SP1 ghostscript 9.25-23.13.1 SUSE-SU-2018:2975-1
SLES 12 ghostscript 9.25-23.13.1 SUSE-SU-2018:2975-1
Show 5 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 12 SP3 ghostscript 9.25-23.13.1 SUSE-SU-2018:2975-1
SLES for SAP 12 SP2 ghostscript 9.25-23.13.1 SUSE-SU-2018:2975-1
SLES for SAP 12 SP1 ghostscript 9.25-23.13.1 SUSE-SU-2018:2975-3
SUSE OpenStack Cloud 7 ghostscript 9.25-23.13.1 SUSE-SU-2018:2975-1
SUSE Enterprise Storage 4 ghostscript 9.25-23.13.1 SUSE-SU-2018:2975-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed ghostscript 9.54.0-2.2 openSUSE-SU-2024:10783-1
ReleasePackageFixed inAdvisory
Alpine v3.24 ghostscript 9.25-r0 —
Alpine v3.23 ghostscript 9.25-r0 —
Alpine v3.22 ghostscript 9.25-r0 —
Alpine v3.21 ghostscript 9.25-r0 —
Alpine v3.20 ghostscript 9.25-r0 —
Show 15 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 ghostscript 9.25-r0 —
Alpine v3.18 ghostscript 9.25-r0 —
Alpine v3.17 ghostscript 9.25-r0 —
Alpine v3.16 ghostscript 9.25-r0 —
Alpine v3.15 ghostscript 9.25-r0 —
Alpine v3.14 ghostscript 9.25-r0 —
Alpine v3.13 ghostscript 9.25-r0 —
Alpine v3.12 ghostscript 9.25-r0 —
Alpine v3.11 ghostscript 9.25-r0 —
Alpine v3.10 ghostscript 9.25-r0 —
Alpine v3.9 ghostscript 9.25-r0 —
Alpine v3.8 ghostscript 9.25-r0 —
Alpine v3.7 ghostscript 9.25-r0 —
Alpine v3.6 ghostscript 9.25-r0 —
Alpine v3.5 ghostscript 9.25-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2 ghostscript +4 9.06-8.amzn2.0.5 ALAS2-2018-1088

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 7 ghostscript +4 9.07-31.el7_6.6 ELSA-2018-3834

Advisories 11

References