CVE-2019-14812
Reported by redhat · Published November 27, 2019
A flaw was found in all ghostscript versions 9.x before 9.50, in the .setuserparams2 procedure where it did not properly secure its privileged calls, enabling scripts to bypass `-dSAFER` restrictions. A specially crafted PostScript file could disable security protection and then have access to the file system, or execute arbitrary 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 |
|---|---|---|
| ghostscript | Alpine | 9.27-r3, 9.26-r4 |
| libgs-devel | Amazon Linux | 9.25-5.amzn2 |
| ghostscript | Ubuntu:16.04:LTS | 9.26~dfsg+0-0ubuntu0.16.04.11 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Red Hat | ghostscript | all ghostscript versions 9.x before 9.50 |
| alpine | ghostscript | 0, 0 |
| amazon:2 | libgs-devel | 0 |
| arch | ghostscript | 0 |
| amazon:2 | ghostscript | 0 |
| Red Hat | ghostscript | 9.50 |
| amazon:2 | libgs | 0 |
| amazon:2 | ghostscript-gtk | 0 |
| amazon:2 | ghostscript-doc | 0 |
| amazon:2 | ghostscript-cups | 0 |
Timeline
- Aug 28, 2019 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Sep 8, 2025 CVE Updated
- Mar 6, 2026 Distribution Patch
- Mar 6, 2026 Security Advisory (5 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-14812
vulnetix vdb fixes CVE-2019-14812
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-14812/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_CONFIRM
- x_refsource_CONFIRM
- x_refsource_CONFIRM
- x_refsource_CONFIRM
- x_refsource_CONFIRM
- GLSA-202004-03 vendor-advisoryx_refsource_GENTOO