Skip to content
OpenAdvisories
High · 7.3 CVE-2019-10216

In ghostscript before version 9.50, the .buildfont1 procedure did not properly secure its privileged calls, enabling scripts to bypass `-dS…

Published Nov 27, 2019 · Updated Aug 4, 2024 · Assigned by redhat

Description

In ghostscript before version 9.50, the .buildfont1 procedure did not properly secure its privileged calls, enabling scripts to bypass `-dSAFER` restrictions. An attacker could abuse this flaw by creating a specially crafted PostScript file that could escalate privileges and access files outside of restricted areas.

Affected products

VendorProductAffectedFixed
ghostscript ghostscript before 9.50 —

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.27~dfsg-3.1 —
Debian 13 ghostscript 9.27~dfsg-3.1 —
Debian 12 ghostscript 9.27~dfsg-3.1 —
Debian 10 ghostscript 9.27~dfsg-2+deb10u1 DSA-4499-1
Debian 9 ghostscript 9.26a~dfsg-0+deb9u4 DSA-4499-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Debian 8 ghostscript 9.26a~dfsg-0+deb8u4 DLA-1880-1
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS ghostscript 9.26~dfsg+0-0ubuntu0.18.04.10 USN-4092-1
Ubuntu 16.04 LTS ghostscript 9.26~dfsg+0-0ubuntu0.16.04.10 USN-4092-1
ReleasePackageFixed inAdvisory
RHEL 8 libgs +7 9.25-2.el8_0.2 RHSA-2019:2465
RHEL 7 libgs +5 9.25-2.el7_7.1 RHSA-2019:2462
ReleasePackageFixed inAdvisory
SLES 15 SP1 ghostscript 9.26a-3.18.2 SUSE-SU-2019:2348-1
SLES 15 ghostscript 9.26a-3.18.2 SUSE-SU-2019:2348-1
SLES 12 SP4 ghostscript 9.26a-23.25.1 SUSE-SU-2019:2347-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 12 SP4 ghostscript 9.26a-23.25.1 SUSE-SU-2019:2347-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed ghostscript 9.54.0-2.2 openSUSE-SU-2024:10783-1
openSUSE Leap 15.1 ghostscript +1 9.26a-lp151.3.3.1 openSUSE-SU-2019:2139-1
openSUSE Leap 15.0 ghostscript +1 9.26a-lp150.2.20.1 openSUSE-SU-2019:2160-1
ReleasePackageFixed inAdvisory
Alpine v3.24 ghostscript 9.27-r2 —
Alpine v3.23 ghostscript 9.27-r2 —
Alpine v3.22 ghostscript 9.27-r2 —
Alpine v3.21 ghostscript 9.27-r2 —
Alpine v3.20 ghostscript 9.27-r2 —
Show 13 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 ghostscript 9.27-r2 —
Alpine v3.18 ghostscript 9.27-r2 —
Alpine v3.17 ghostscript 9.27-r2 —
Alpine v3.16 ghostscript 9.27-r2 —
Alpine v3.15 ghostscript 9.27-r2 —
Alpine v3.14 ghostscript 9.27-r2 —
Alpine v3.13 ghostscript 9.27-r2 —
Alpine v3.12 ghostscript 9.27-r2 —
Alpine v3.11 ghostscript 9.27-r2 —
Alpine v3.10 ghostscript 9.27-r2 —
Alpine v3.9 ghostscript 9.26-r3 —
Alpine v3.8 ghostscript 9.26-r3 —
Alpine v3.7 ghostscript 9.26-r3 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 8 libgs +7 9.25-2.el8_0.2 ELSA-2019-2465
Oracle Linux 7 libgs +5 9.25-2.el7_7.1 ELSA-2019-2462

Advisories 12

References