CVEfocus › CVE database › CVE-2019-10216

CVE-2019-10216

CVSS 7.3 HighEPSS 2.3% (higher than 84% of CVEs)Published 2019-11-27Updated 2024-08-04Assigner: redhat

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.

CWE-648

What to do

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

Ubuntu has 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

37Fixed
1Fix pending
5Will not fix

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 18.04ghostscriptFixed9.26~dfsg+0-0ubuntu0.18.04.10UBUNTU-CVE-2019-10216
Ubuntu 16.04ghostscriptFixed9.26~dfsg+0-0ubuntu0.16.04.10UBUNTU-CVE-2019-10216
Ubuntu 14.04ghostscriptFix pending
Debian 14ghostscriptFixed9.27~dfsg-3.1DEBIAN-CVE-2019-10216
Debian 13ghostscriptFixed9.27~dfsg-3.1DEBIAN-CVE-2019-10216
Debian 12ghostscriptFixed9.27~dfsg-3.1DEBIAN-CVE-2019-10216
Red Hat Enterprise Linux 8ghostscriptFixed0:9.25-2.el8_0.2RHSA-2019:2465
Red Hat Enterprise Linux 8ghostscript-docFixed0:9.25-2.el8_0.2RHSA-2019:2465
Red Hat Enterprise Linux 8ghostscript-tools-dvipdfFixed0:9.25-2.el8_0.2RHSA-2019:2465
Red Hat Enterprise Linux 8ghostscript-tools-fontsFixed0:9.25-2.el8_0.2RHSA-2019:2465
Red Hat Enterprise Linux 8ghostscript-tools-printingFixed0:9.25-2.el8_0.2RHSA-2019:2465
Red Hat Enterprise Linux 8ghostscript-x11Fixed0:9.25-2.el8_0.2RHSA-2019:2465
Red Hat Enterprise Linux 8libgsFixed0:9.25-2.el8_0.2RHSA-2019:2465
Red Hat Enterprise Linux 8libgs-develFixed0:9.25-2.el8_0.2RHSA-2019:2465
Red Hat Enterprise Linux 7ghostscriptFixed0:9.25-2.el7_7.1RHSA-2019:2462
Red Hat Enterprise Linux 7ghostscript-cupsFixed0:9.25-2.el7_7.1RHSA-2019:2462
Red Hat Enterprise Linux 7ghostscript-docFixed0:9.25-2.el7_7.1RHSA-2019:2462
Red Hat Enterprise Linux 7ghostscript-gtkFixed0:9.25-2.el7_7.1RHSA-2019:2462
Red Hat Enterprise Linux 7libgsFixed0:9.25-2.el7_7.1RHSA-2019:2462
Red Hat Enterprise Linux 7libgs-develFixed0:9.25-2.el7_7.1RHSA-2019:2462
Red Hat Enterprise Linux 6ghostscriptWill not fix
Out of support scope
Red Hat Enterprise Linux 6ghostscript-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6ghostscript-docWill not fix
Out of support scope
Red Hat Enterprise Linux 6ghostscript-gtkWill not fix
Out of support scope
Red Hat Enterprise Linux 5ghostscriptWill not fix
Out of support scope
Alpine Linux 3.24ghostscriptFixed9.27-r2ALPINE-CVE-2019-10216
Alpine Linux 3.23ghostscriptFixed9.27-r2ALPINE-CVE-2019-10216
Alpine Linux 3.22ghostscriptFixed9.27-r2ALPINE-CVE-2019-10216
Alpine Linux 3.21ghostscriptFixed9.27-r2ALPINE-CVE-2019-10216
Alpine Linux 3.20ghostscriptFixed9.27-r2ALPINE-CVE-2019-10216
Alpine Linux 3.19ghostscriptFixed9.27-r2ALPINE-CVE-2019-10216
Alpine Linux 3.18ghostscriptFixed9.27-r2ALPINE-CVE-2019-10216
Alpine Linux 3.17ghostscriptFixed9.27-r2ALPINE-CVE-2019-10216
Alpine Linux 3.16ghostscriptFixed9.27-r2ALPINE-CVE-2019-10216
Alpine Linux 3.15ghostscriptFixed9.27-r2ALPINE-CVE-2019-10216
Alpine Linux 3.14ghostscriptFixed9.27-r2ALPINE-CVE-2019-10216
Alpine Linux 3.13ghostscriptFixed9.27-r2ALPINE-CVE-2019-10216
Alpine Linux 3.12ghostscriptFixed9.27-r2ALPINE-CVE-2019-10216
Alpine Linux 3.11ghostscriptFixed9.27-r2ALPINE-CVE-2019-10216
Alpine Linux 3.10ghostscriptFixed9.27-r2ALPINE-CVE-2019-10216
Alpine Linux 3.9ghostscriptFixed9.26-r3ALPINE-CVE-2019-10216
Alpine Linux 3.8ghostscriptFixed9.26-r3ALPINE-CVE-2019-10216
Alpine Linux 3.7ghostscriptFixed9.26-r3ALPINE-CVE-2019-10216

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.

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.