CVE-2019-14869
Reported by redhat · Published November 15, 2019
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| libgs-devel | Amazon Linux | 9.25-5.amzn2 |
| ghostscript | Arch Linux | 9.50-1 |
| ghostscript-cups | Amazon Linux | 9.25-5.amzn2 |
| ghostscript-gtk | Amazon Linux | 9.25-5.amzn2 |
| ghostscript-doc | Amazon Linux | 9.25-5.amzn2 |
| ghostscript | Ubuntu:18.04:LTS | 9.26~dfsg+0-0ubuntu0.18.04.12 |
| ghostscript | artifex | 9.50 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Ghostscript | ghostscript | all versions of ghostscript 9.x before 9.28 |
| amazon:2 | libgs-devel | 0 |
| arch | ghostscript | 0 |
| amazon:2 | ghostscript-cups | 0 |
| amazon:2 | ghostscript-gtk | 0 |
| amazon:2 | ghostscript-doc | 0 |
| Ghostscript | ghostscript | * |
| amazon:2 | ghostscript | 0 |
| amazon:2 | libgs | 0 |
| alpine | ghostscript | 0, 0, 0 |
Timeline
- Nov 14, 2019 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Aug 5, 2024 CVE Updated
- Mar 6, 2026 Distribution Patch (2 in total, the first dated here)
- Mar 6, 2026 Security Advisory (7 in total, the first dated here)
- Sep 14, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2019-14869
vulnetix vdb fixes CVE-2019-14869
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2019-14869/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_CONFIRM
- [oss-security] 20191115 CVE-2019-14869 ghostscript: -dSAFER escape in .charkeys mailing-listx_refsource_MLIST
- x_refsource_CONFIRM
- x_refsource_CONFIRM
- FEDORA-2019-17f42f585a vendor-advisoryx_refsource_FEDORA
- 20191118 [SECURITY] [DSA 4569-1] ghostscript security update mailing-listx_refsource_BUGTRAQ
- FEDORA-2019-6cdb10aa59 vendor-advisoryx_refsource_FEDORA
- openSUSE-SU-2019:2534 vendor-advisoryx_refsource_SUSE
- openSUSE-SU-2019:2535 vendor-advisoryx_refsource_SUSE
- FEDORA-2019-7debdd1807 vendor-advisoryx_refsource_FEDORA
- RHSA-2020:0222 vendor-advisoryx_refsource_REDHAT
- JVN#52486659 third-party-advisoryx_refsource_JVN