CVE-2019-10216 json
In ghostscript before version 9.50, the .buildfont1 procedure did not properly secure its privileged calls, enabling scripts to bypass `-dS…
published 2019-11-27 6 y ago modified 2026-06-17 4 mo ago also EUVD-2019-2231
- cvss
- 7.3
- version 3.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.3%
- EPSS 2.3% chance of exploitation in 30 days, percentile 83%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- artifex ghostscript 9.50
- ghostscript Debian 14, Debian 13, Debian 12 9.27~dfsg-3.1
debian advisories DEBIAN-CVE-2019-10216
- ghostscript Ubuntu 16.04 LTS 9.26~dfsg+0-0ubuntu0.16.04.10
- ghostscript Ubuntu 18.04 LTS 9.26~dfsg+0-0ubuntu0.18.04.10
ubuntu advisories UBUNTU-CVE-2019-10216
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- ghostscript RHEL 8 9.25-2.el8_0.2
- libgs RHEL 8 9.25-2.el8_0.2
- ghostscript-x11 RHEL 8 9.25-2.el8_0.2
- ghostscript-tools-fonts RHEL 8 9.25-2.el8_0.2
- ghostscript-tools-dvipdf RHEL 8 9.25-2.el8_0.2
- ghostscript-tools-printing RHEL 8 9.25-2.el8_0.2
- ghostscript RHEL 7 9.25-2.el7_7.1
- libgs RHEL 7 9.25-2.el7_7.1
red hat advisories RHSA-2019:2465RHSA-2019:2462
- ghostscript SLE Module for Basesystem 15 SP1, SLE Module for Basesystem 15 9.26a-3.18.2
- ghostscript SLES for SAP 12 SP4, SLES 12 SP4, SLED 12 SP4 +1 more 9.26a-23.25.1
suse advisories SUSE-SU-2019:2348-1SUSE-SU-2019:2347-1
- ghostscript openSUSE Tumbleweed 9.54.0-2.2
- ghostscript openSUSE Leap 15.0 9.26a-lp150.2.20.1
- ghostscript-mini openSUSE Leap 15.0 9.26a-lp150.2.20.1
- ghostscript openSUSE Leap 15.1 9.26a-lp151.3.3.1
- ghostscript-mini openSUSE Leap 15.1 9.26a-lp151.3.3.1
opensuse advisories openSUSE-SU-2024:10783-1openSUSE-SU-2019:2160-1openSUSE-SU-2019:2139-1
- ghostscript Alpine 3.24, Alpine 3.23, Alpine 3.22 +12 more 9.27-r2
- ghostscript Alpine 3.9, Alpine 3.8, Alpine 3.7 9.26-r3
alpine advisories ALPINE-CVE-2019-10216
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2019-10216 updated cvss 7.3
ghostscript: -dSAFER escape via .buildfont1 (701394)
-
Red Hat Enterprise Linux 5 ghostscript Red Hat Enterprise Linux 6 ghostscript, ghostscript-gtkaffected: workaround, no fix planned “Please refer to the "Mitigation" section of CVE-2018-16509 : https://access.redhat.com/security/cve/cve-2018-16509”
-
Red Hat 3scale API Management 2.6 3scale-amp26/zync 1.9-28, 3scale-amp26/backend 1.9-24, 3scale-amp26/toolbox latest, 3scale-amp26/operator latest, 3scale-amp26/3scale-operator latest, 3scale-amp26/apicast-gateway 1.15-9fixed: vendor fix “Please refer to the "Mitigation" section of CVE-2018-16509 : https://access.redhat.com/security/cve/cve-2018-16509” RHSA-2019:2534
-
Red Hat CodeReady Linux Builder (v. 8) ghostscript-x11 9.25-2.el8_0.2, ghostscript-tools-fonts 9.25-2.el8_0.2, ghostscript-tools-dvipdf 9.25-2.el8_0.2, ghostscript-tools-printing 9.25-2.el8_0.2 Red Hat Enterprise Linux AppStream (v. 8) libgs 9.25-2.el8_0.2, ghostscript 9.25-2.el8_0.2fixed: vendor fix “Please refer to the "Mitigation" section of CVE-2018-16509 : https://access.redhat.com/security/cve/cve-2018-16509” RHSA-2019:2465
-
Red Hat Enterprise Linux Client (v. 7) libgs 9.25-2.el7_7.1, ghostscript 9.25-2.el7_7.1, ghostscript-cups 9.25-2.el7_7.1 Red Hat Enterprise Linux Client Optional (v. 7) ghostscript-gtk 9.25-2.el7_7.1 Red Hat Enterprise Linux ComputeNode (v. 7) libgs 9.25-2.el7_7.1, ghostscript 9.25-2.el7_7.1, ghostscript-cups 9.25-2.el7_7.1 Red Hat Enterprise Linux ComputeNode Optional (v. 7) ghostscript-gtk 9.25-2.el7_7.1 Red Hat Enterprise Linux Server (v. 7) libgs 9.25-2.el7_7.1, ghostscript 9.25-2.el7_7.1, ghostscript-cups 9.25-2.el7_7.1 Red Hat Enterprise Linux Server Optional (v. 7) ghostscript-gtk 9.25-2.el7_7.1fixed: vendor fix “Please refer to the "Mitigation" section of CVE-2018-16509 : https://access.redhat.com/security/cve/cve-2018-16509” RHSA-2019:2462
+2 more productsfewer
Red Hat Enterprise Linux Workstation (v. 7) libgs 9.25-2.el7_7.1, ghostscript 9.25-2.el7_7.1, ghostscript-cups 9.25-2.el7_7.1 Red Hat Enterprise Linux Workstation Optional (v. 7) ghostscript-gtk 9.25-2.el7_7.1
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
2.30% chance of exploitation in the next 30 days, higher than 83% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.0 | 7.3 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
| NVD | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Affected products
- ghostscript ghostscript
Classification
- Weakness
-
- CWE-648 Incorrect Use of Privileged APIs
References
-
bugzilla.redhat.com
/show_bug.cgi?id=CVE-2019-10216
issue-tracking, patch, third-party-advisory
-
security.gentoo.org
/glsa/202004-03
vendor-advisory, third-party-advisory
- git.ghostscript.com /?p=ghostpdl.git%3Ba=commitdiff%3Bh=5b85ddd19
Sources
- CVE List CVE-2019-10216
- NVD CVE-2019-10216
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.