Vulnerabilities / CVE-2019-14813

critical

CVE-2019-14813

ghostscript: Safer mode bypass by .forceput exposure in setsystemparams (701443)

Published Modified CWE 648, 863
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Red Hat7.3CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by Red Hat (high), Amazon (high), Oracle (high), Ubuntu (medium).

Description

A flaw was found in ghostscript, versions 9.x before 9.50, in the setsystemparams 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.

Affected packages and fixed versions

SourcePackageFixed in
alpine 3.10ghostscript9.27-r3
alpine 3.11ghostscript9.27-r3
alpine 3.12ghostscript9.27-r3
alpine 3.13ghostscript9.27-r3
alpine 3.14ghostscript9.27-r3
alpine 3.15ghostscript9.27-r3
alpine 3.16ghostscript9.27-r3
alpine 3.17ghostscript9.27-r3
alpine 3.18ghostscript9.27-r3
alpine 3.19ghostscript9.27-r3
alpine 3.20ghostscript9.27-r3
alpine 3.21ghostscript9.27-r3
Show all 59 entries from 38 sources
SourcePackageFixed in
alpine 3.10ghostscript9.27-r3
alpine 3.11ghostscript9.27-r3
alpine 3.12ghostscript9.27-r3
alpine 3.13ghostscript9.27-r3
alpine 3.14ghostscript9.27-r3
alpine 3.15ghostscript9.27-r3
alpine 3.16ghostscript9.27-r3
alpine 3.17ghostscript9.27-r3
alpine 3.18ghostscript9.27-r3
alpine 3.19ghostscript9.27-r3
alpine 3.20ghostscript9.27-r3
alpine 3.21ghostscript9.27-r3
alpine 3.22ghostscript9.27-r3
alpine 3.23ghostscript9.27-r3
alpine 3.24ghostscript9.27-r3
alpine 3.7ghostscript9.26-r4
alpine 3.8ghostscript9.26-r4
alpine 3.9ghostscript9.26-r4
alpine edgeghostscript9.27-r3
amazon linux 2ghostscript9.25-5.amzn2
amazon linux 2ghostscript-cups9.25-5.amzn2
amazon linux 2ghostscript-debuginfo9.25-5.amzn2
amazon linux 2ghostscript-doc9.25-5.amzn2
amazon linux 2ghostscript-gtk9.25-5.amzn2
amazon linux 2libgs9.25-5.amzn2
amazon linux 2libgs-devel9.25-5.amzn2
debian 10ghostscript9.27~dfsg-2+deb10u2
debian 11ghostscript9.28~~rc2~dfsg-1
debian 12ghostscript9.28~~rc2~dfsg-1
debian 13ghostscript9.28~~rc2~dfsg-1
debian 14ghostscript9.28~~rc2~dfsg-1
debian 8ghostscript9.26a~dfsg-0+deb8u5
debian 9ghostscript9.26a~dfsg-0+deb9u5
echoghostscript9.28~~rc2~dfsg-1
Oracle Linux 7ghostscript9.25-2.el7_7.2
Oracle Linux 7ghostscript-cups9.25-2.el7_7.2
Oracle Linux 7ghostscript-doc9.25-2.el7_7.2
Oracle Linux 7ghostscript-gtk9.25-2.el7_7.2
Oracle Linux 7libgs9.25-2.el7_7.2
Oracle Linux 7libgs-devel9.25-2.el7_7.2
Oracle Linux 8ghostscript9.25-2.el8_0.3
Oracle Linux 8ghostscript-doc9.25-2.el8_0.3
Oracle Linux 8ghostscript-tools-dvipdf9.25-2.el8_0.3
Oracle Linux 8ghostscript-tools-fonts9.25-2.el8_0.3
Oracle Linux 8ghostscript-tools-printing9.25-2.el8_0.3
Oracle Linux 8ghostscript-x119.25-2.el8_0.3
Oracle Linux 8libgs9.25-2.el8_0.3
Oracle Linux 8libgs-devel9.25-2.el8_0.3
Red Hatghostscriptno fix listed
Red Hatghostscript-develno fix listed
Red Hatghostscript-docno fix listed
Red Hatghostscript-gtkno fix listed
root.io alpine 3.17rootio-ghostscript9.27-r3
root.io debian 12rootio-ghostscript9.28~~rc2~dfsg-1
ubuntu 16.04ghostscript9.26~dfsg+0-0ubuntu0.16.04.11
ubuntu 16.04-ESMghostscript9.26~dfsg+0-0ubuntu0.16.04.11
ubuntu 18.04ghostscript9.26~dfsg+0-0ubuntu0.18.04.11
ubuntu 18.04-ESMghostscript9.26~dfsg+0-0ubuntu0.18.04.11
ubuntu 19.04ghostscript9.26~dfsg+0-0ubuntu7.3

References

All 19 references

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.