CVE-2019-14869
published high CVSS 3.0 · 7.3ghostscript: -dSAFER escape in .charkeys (701841)
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Ghostscript | — | ghostscriptall versions of ghostscript 9.x before 9.28 | Affected | Not stated | redhat |
| Amazon Linux | AL2 | Release evaluationALAS2-2021-1598 | Fixed | Not stated | Amazon Linux assessment |
| Alpine Linux | edge | ghostscript | Fixed | 9.50-r0 | Package fix record |
| Debian | buster | ghostscript | Advisory build | 9.27~dfsg-2+deb10u3 | DSA-4569-1 |
| Oracle Linux | 7 | ghostscriptaarch64 | Advisory build | 0:9.25-2.el7_7.3 | ELSA-2019-3888 |
| Red Hat Enterprise Linux | RHEL-7 | ghostscripti686 | Advisory build | 9.25-2.el7_7.3 | RHSA-2019:3888 |
| SUSE / openSUSE | SLE-12-SP1 | ghostscriptppc64le | Advisory build | 9.27-23.31.1 | SUSE-SU-2019:2983-1 |
| Ubuntu | bionic | ghostscript | Advisory build | 9.26~dfsg+0-0ubuntu0.18.04.12 | USN-4193-1 |
Show 94 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Alpine Linux | v3.10 | ghostscript | Fixed | 9.27-r5 | Package fix record |
| Alpine Linux | v3.11 | ghostscript | Fixed | 9.50-r0 | Package fix record |
| Alpine Linux | v3.12 | ghostscript | Fixed | 9.50-r0 | Package fix record |
| Alpine Linux | v3.13 | ghostscript | Fixed | 9.50-r0 | Package fix record |
| Alpine Linux | v3.14 | ghostscript | Fixed | 9.50-r0 | Package fix record |
| Alpine Linux | v3.15 | ghostscript | Fixed | 9.50-r0 | Package fix record |
| Alpine Linux | v3.16 | ghostscript | Fixed | 9.50-r0 | Package fix record |
| Alpine Linux | v3.17 | ghostscript | Fixed | 9.50-r0 | Package fix record |
| Alpine Linux | v3.18 | ghostscript | Fixed | 9.50-r0 | Package fix record |
| Alpine Linux | v3.19 | ghostscript | Fixed | 9.50-r0 | Package fix record |
| Alpine Linux | v3.20 | ghostscript | Fixed | 9.50-r0 | Package fix record |
| Alpine Linux | v3.21 | ghostscript | Fixed | 9.50-r0 | Package fix record |
| Alpine Linux | v3.22 | ghostscript | Fixed | 9.50-r0 | Package fix record |
| Alpine Linux | v3.23 | ghostscript | Fixed | 9.50-r0 | Package fix record |
| Alpine Linux | v3.24 | ghostscript | Fixed | 9.50-r0 | Package fix record |
| Alpine Linux | v3.9 | ghostscript | Fixed | 9.26-r5 | Package fix record |
| Debian | jessie | ghostscript | Advisory build | 9.26a~dfsg-0+deb8u6 | DLA-1992-1 |
| Debian | stretch | ghostscript | Advisory build | 9.26a~dfsg-0+deb9u6 | DSA-4569-1 |
| Oracle Linux | 7 | ghostscriptx86_64 | Advisory build | 0:9.25-2.el7_7.3 | ELSA-2019-3888 |
| Oracle Linux | 8 | ghostscriptaarch64 | Advisory build | 0:9.25-5.el8_1.1 | ELSA-2019-3890 |
| Oracle Linux | 8 | ghostscriptx86_64 | Advisory build | 0:9.25-5.el8_1.1 | ELSA-2019-3890 |
| Red Hat Enterprise Linux | RHEL-7 | ghostscriptppc | Advisory build | 9.25-2.el7_7.3 | RHSA-2019:3888 |
| Red Hat Enterprise Linux | RHEL-7 | ghostscriptppc64 | Advisory build | 9.25-2.el7_7.3 | RHSA-2019:3888 |
| Red Hat Enterprise Linux | RHEL-7 | ghostscriptppc64le | Advisory build | 9.25-2.el7_7.3 | RHSA-2019:3888 |
| Red Hat Enterprise Linux | RHEL-7 | ghostscripts390 | Advisory build | 9.25-2.el7_7.3 | RHSA-2019:3888 |
| Red Hat Enterprise Linux | RHEL-7 | ghostscripts390x | Advisory build | 9.25-2.el7_7.3 | RHSA-2019:3888 |
| Red Hat Enterprise Linux | RHEL-7 | ghostscriptsrc | Advisory build | 9.25-2.el7_7.3 | RHSA-2019:3888 |
| Red Hat Enterprise Linux | RHEL-7 | ghostscriptx86_64 | Advisory build | 9.25-2.el7_7.3 | RHSA-2019:3888 |
| Red Hat Enterprise Linux | RHEL-8 | ghostscriptaarch64 | Advisory build | 9.25-5.el8_1.1 | RHSA-2019:3890 |
| Red Hat Enterprise Linux | RHEL-8 | ghostscriptppc64le | Advisory build | 9.25-2.el8_0.4 | RHSA-2020:0222 |
| Red Hat Enterprise Linux | RHEL-8 | ghostscriptppc64le | Advisory build | 9.25-5.el8_1.1 | RHSA-2019:3890 |
| Red Hat Enterprise Linux | RHEL-8 | ghostscripts390x | Advisory build | 9.25-5.el8_1.1 | RHSA-2019:3890 |
| Red Hat Enterprise Linux | RHEL-8 | ghostscriptsrc | Advisory build | 9.25-2.el8_0.4 | RHSA-2020:0222 |
| Red Hat Enterprise Linux | RHEL-8 | ghostscriptsrc | Advisory build | 9.25-5.el8_1.1 | RHSA-2019:3890 |
| Red Hat Enterprise Linux | RHEL-8 | ghostscriptx86_64 | Advisory build | 9.25-2.el8_0.4 | RHSA-2020:0222 |
| Red Hat Enterprise Linux | RHEL-8 | ghostscriptx86_64 | Advisory build | 9.25-5.el8_1.1 | RHSA-2019:3890 |
| SUSE / openSUSE | SLE-12-SP1 | ghostscripts390x | Advisory build | 9.27-23.31.1 | SUSE-SU-2019:2983-1 |
| SUSE / openSUSE | SLE-12-SP1 | ghostscriptx86_64 | Advisory build | 9.27-23.31.1 | SUSE-SU-2019:2983-1 |
| SUSE / openSUSE | SLE-12-SP2 | ghostscriptppc64le | Advisory build | 9.27-23.31.1 | SUSE-SU-2019:2983-1 |
| SUSE / openSUSE | SLE-12-SP2 | ghostscripts390x | Advisory build | 9.27-23.31.1 | SUSE-SU-2019:2983-1 |
| SUSE / openSUSE | SLE-12-SP2 | ghostscriptx86_64 | Advisory build | 9.27-23.31.1 | SUSE-SU-2019:2983-1 |
| SUSE / openSUSE | SLE-12-SP3 | ghostscriptaarch64 | Advisory build | 9.27-23.31.1 | SUSE-SU-2019:2983-1 |
| SUSE / openSUSE | SLE-12-SP3 | ghostscriptppc64le | Advisory build | 9.27-23.31.1 | SUSE-SU-2019:2983-1 |
| SUSE / openSUSE | SLE-12-SP3 | ghostscripts390x | Advisory build | 9.27-23.31.1 | SUSE-SU-2019:2983-1 |
| SUSE / openSUSE | SLE-12-SP3 | ghostscriptx86_64 | Advisory build | 9.27-23.31.1 | SUSE-SU-2019:2983-1 |
| SUSE / openSUSE | SLE-12-SP4 | ghostscriptaarch64 | Advisory build | 9.27-23.31.1 | SUSE-SU-2019:2983-1 |
| SUSE / openSUSE | SLE-12-SP4 | ghostscriptppc64le | Advisory build | 9.27-23.31.1 | SUSE-SU-2019:2983-1 |
| SUSE / openSUSE | SLE-12-SP4 | ghostscripts390x | Advisory build | 9.27-23.31.1 | SUSE-SU-2019:2983-1 |
| SUSE / openSUSE | SLE-12-SP4 | ghostscriptx86_64 | Advisory build | 9.27-23.31.1 | SUSE-SU-2019:2983-1 |
| SUSE / openSUSE | SLE-12-SP5 | ghostscriptaarch64 | Advisory build | 9.27-23.31.1 | SUSE-SU-2019:2983-1 |
| SUSE / openSUSE | SLE-12-SP5 | ghostscriptppc64le | Advisory build | 9.27-23.31.1 | SUSE-SU-2019:2983-1 |
| SUSE / openSUSE | SLE-12-SP5 | ghostscripts390x | Advisory build | 9.27-23.31.1 | SUSE-SU-2019:2983-1 |
| SUSE / openSUSE | SLE-12-SP5 | ghostscriptx86_64 | Advisory build | 9.27-23.31.1 | SUSE-SU-2019:2983-1 |
| SUSE / openSUSE | SLE-15 | ghostscriptaarch64 | Advisory build | 9.27-3.24.1 | SUSE-SU-2019:2981-1 |
| SUSE / openSUSE | SLE-15 | ghostscriptppc64le | Advisory build | 9.27-3.24.1 | SUSE-SU-2019:2981-1 |
| SUSE / openSUSE | SLE-15 | ghostscripts390x | Advisory build | 9.27-3.24.1 | SUSE-SU-2019:2981-1 |
| SUSE / openSUSE | SLE-15 | ghostscriptx86_64 | Advisory build | 9.27-3.24.1 | SUSE-SU-2019:2981-1 |
| SUSE / openSUSE | SLE-15-SP1 | ghostscriptaarch64 | Advisory build | 9.27-3.24.1 | SUSE-SU-2019:2981-1 |
| SUSE / openSUSE | SLE-15-SP1 | ghostscriptppc64le | Advisory build | 9.27-3.24.1 | SUSE-SU-2019:2981-1 |
| SUSE / openSUSE | SLE-15-SP1 | ghostscripts390x | Advisory build | 9.27-3.24.1 | SUSE-SU-2019:2981-1 |
| SUSE / openSUSE | SLE-15-SP1 | ghostscriptx86_64 | Advisory build | 9.27-3.24.1 | SUSE-SU-2019:2981-1 |
| SUSE / openSUSE | openSUSE-Leap-15.0 | ghostscripti586 | Advisory build | 9.27-lp150.2.26.1 | OPENSUSE-SU-2019:2534-1 |
| SUSE / openSUSE | openSUSE-Leap-15.0 | ghostscriptx86_64 | Advisory build | 9.27-lp150.2.26.1 | OPENSUSE-SU-2019:2534-1 |
| SUSE / openSUSE | openSUSE-Leap-15.1 | ghostscripti586 | Advisory build | 9.27-lp151.3.9.1 | OPENSUSE-SU-2019:2535-1 |
| SUSE / openSUSE | openSUSE-Leap-15.1 | ghostscriptx86_64 | Advisory build | 9.27-lp151.3.9.1 | OPENSUSE-SU-2019:2535-1 |
| Ubuntu | xenial | ghostscript | Advisory build | 9.26~dfsg+0-0ubuntu0.16.04.12 | USN-4193-1 |
| Oracle Linux | 7 | ghostscript-cupsaarch64 | Advisory build | 0:9.25-2.el7_7.3 | ELSA-2019-3888 |
| Oracle Linux | 7 | ghostscript-cupsx86_64 | Advisory build | 0:9.25-2.el7_7.3 | ELSA-2019-3888 |
| Oracle Linux | 7 | ghostscript-docaarch64 | Advisory build | 0:9.25-2.el7_7.3 | ELSA-2019-3888 |
| Oracle Linux | 7 | ghostscript-docx86_64 | Advisory build | 0:9.25-2.el7_7.3 | ELSA-2019-3888 |
| Oracle Linux | 7 | ghostscript-gtkaarch64 | Advisory build | 0:9.25-2.el7_7.3 | ELSA-2019-3888 |
| Oracle Linux | 7 | ghostscript-gtkx86_64 | Advisory build | 0:9.25-2.el7_7.3 | ELSA-2019-3888 |
| Oracle Linux | 7 | libgsaarch64 | Advisory build | 0:9.25-2.el7_7.3 | ELSA-2019-3888 |
| Oracle Linux | 7 | libgsx86_64 | Advisory build | 0:9.25-2.el7_7.3 | ELSA-2019-3888 |
| Oracle Linux | 7 | libgs-develaarch64 | Advisory build | 0:9.25-2.el7_7.3 | ELSA-2019-3888 |
| Oracle Linux | 7 | libgs-develx86_64 | Advisory build | 0:9.25-2.el7_7.3 | ELSA-2019-3888 |
| Oracle Linux | 8 | ghostscript-docaarch64 | Advisory build | 0:9.25-5.el8_1.1 | ELSA-2019-3890 |
| Oracle Linux | 8 | ghostscript-docx86_64 | Advisory build | 0:9.25-5.el8_1.1 | ELSA-2019-3890 |
| Oracle Linux | 8 | ghostscript-tools-dvipdfaarch64 | Advisory build | 0:9.25-5.el8_1.1 | ELSA-2019-3890 |
| Oracle Linux | 8 | ghostscript-tools-dvipdfx86_64 | Advisory build | 0:9.25-5.el8_1.1 | ELSA-2019-3890 |
| Oracle Linux | 8 | ghostscript-tools-fontsaarch64 | Advisory build | 0:9.25-5.el8_1.1 | ELSA-2019-3890 |
| Oracle Linux | 8 | ghostscript-tools-fontsx86_64 | Advisory build | 0:9.25-5.el8_1.1 | ELSA-2019-3890 |
| Oracle Linux | 8 | ghostscript-tools-printingaarch64 | Advisory build | 0:9.25-5.el8_1.1 | ELSA-2019-3890 |
| Oracle Linux | 8 | ghostscript-tools-printingx86_64 | Advisory build | 0:9.25-5.el8_1.1 | ELSA-2019-3890 |
| Oracle Linux | 8 | ghostscript-x11aarch64 | Advisory build | 0:9.25-5.el8_1.1 | ELSA-2019-3890 |
| Oracle Linux | 8 | ghostscript-x11x86_64 | Advisory build | 0:9.25-5.el8_1.1 | ELSA-2019-3890 |
| Oracle Linux | 8 | libgsaarch64 | Advisory build | 0:9.25-5.el8_1.1 | ELSA-2019-3890 |
| Oracle Linux | 8 | libgsx86_64 | Advisory build | 0:9.25-5.el8_1.1 | ELSA-2019-3890 |
| Oracle Linux | 8 | libgs-develaarch64 | Advisory build | 0:9.25-5.el8_1.1 | ELSA-2019-3890 |
| Oracle Linux | 8 | libgs-develx86_64 | Advisory build | 0:9.25-5.el8_1.1 | ELSA-2019-3890 |
| Red Hat Enterprise Linux | RHEL-7 | ghostscript-cupsppc64 | Advisory build | 9.25-2.el7_7.3 | RHSA-2019:3888 |
| Red Hat Enterprise Linux | RHEL-7 | ghostscript-cupsppc64le | Advisory build | 9.25-2.el7_7.3 | RHSA-2019:3888 |
| Red Hat Enterprise Linux | RHEL-7 | ghostscript-cupss390x | Advisory build | 9.25-2.el7_7.3 | RHSA-2019:3888 |
| Red Hat Enterprise Linux | RHEL-7 | ghostscript-cupsx86_64 | Advisory build | 9.25-2.el7_7.3 | RHSA-2019:3888 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
A flaw was found in all versions of ghostscript 9.x before 9.50, where the `.charkeys` procedure, where it 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 within the Ghostscript and access files outside of restricted areas or execute commands.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.0
- Base score
- 7.3 / 10
- Severity
- high
- Provider
- redhat · cna
- Vector string
- CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Ghostscript | ghostscript | all versions of ghostscript 9.x before 9.28 (affected) | redhat · cna |
Weaknesses
1- CWE-648
References
12- JVN#52486659 http://jvn.jp/en/jp/JVN52486659/index.html
- openSUSE-SU-2019:2534 http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00049.html
- openSUSE-SU-2019:2535 http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00050.html
- [oss-security] 20191115 CVE-2019-14869 ghostscript: -dSAFER escape in .charkeys http://www.openwall.com/lists/oss-security/2019/11/15/1
- RHSA-2020:0222 https://access.redhat.com/errata/RHSA-2020:0222
- https://bugs.ghostscript.com/show_bug.cgi?id=701841
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-14869
- https://git.ghostscript.com/?p=ghostpdl.git%3Ba=commitdiff%3Bh=485904772c5f
- FEDORA-2019-7debdd1807 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2Q4E3OTDAJRSUCOBTDQO7Y5UTE2FFMLF/
- FEDORA-2019-6cdb10aa59 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HC4REO73BEJOJAU7NHFHJECAUAYJUE3H/
- FEDORA-2019-17f42f585a https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/IX55AEDERTDFEZAROKZW64MZRPLINEGI/
- 20191118 [SECURITY] [DSA 4569-1] ghostscript security update https://seclists.org/bugtraq/2019/Nov/27
Provider assertions
2redhat · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 10b9401e51695a49021bd56ee88e08eb6cbc691524eaa44544acb43e0ee7315f
- Ingested
- 23 Sep 2026, 07:46:03 UTC
- Source record
- Official CVE record