{"id":"ALPINE-CVE-2019-14812","details":"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.","modified":"2026-09-09T06:17:50.076935164Z","published":"2019-11-27T14:15:11.220Z","upstream":["CVE-2019-14812"],"references":[{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2019-14812"}],"affected":[{"package":{"name":"ghostscript","ecosystem":"Alpine:v3.10","purl":"pkg:apk/alpine/ghostscript?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"9.00"},{"fixed":"9.27-r3"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2019-14812.json"}},{"package":{"name":"ghostscript","ecosystem":"Alpine:v3.11","purl":"pkg:apk/alpine/ghostscript?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"9.00"},{"fixed":"9.27-r3"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2019-14812.json"}},{"package":{"name":"ghostscript","ecosystem":"Alpine:v3.12","purl":"pkg:apk/alpine/ghostscript?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"9.00"},{"fixed":"9.27-r3"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2019-14812.json"}},{"package":{"name":"ghostscript","ecosystem":"Alpine:v3.13","purl":"pkg:apk/alpine/ghostscript?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"9.00"},{"fixed":"9.27-r3"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2019-14812.json"}},{"package":{"name":"ghostscript","ecosystem":"Alpine:v3.14","purl":"pkg:apk/alpine/ghostscript?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"9.00"},{"fixed":"9.27-r3"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2019-14812.json"}},{"package":{"name":"ghostscript","ecosystem":"Alpine:v3.15","purl":"pkg:apk/alpine/ghostscript?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"9.00"},{"fixed":"9.27-r3"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2019-14812.json"}},{"package":{"name":"ghostscript","ecosystem":"Alpine:v3.16","purl":"pkg:apk/alpine/ghostscript?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"9.00"},{"fixed":"9.27-r3"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2019-14812.json"}},{"package":{"name":"ghostscript","ecosystem":"Alpine:v3.17","purl":"pkg:apk/alpine/ghostscript?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"9.00"},{"fixed":"9.27-r3"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2019-14812.json"}},{"package":{"name":"ghostscript","ecosystem":"Alpine:v3.18","purl":"pkg:apk/alpine/ghostscript?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"9.00"},{"fixed":"9.27-r3"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2019-14812.json"}},{"package":{"name":"ghostscript","ecosystem":"Alpine:v3.19","purl":"pkg:apk/alpine/ghostscript?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"9.00"},{"fixed":"9.27-r3"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2019-14812.json"}},{"package":{"name":"ghostscript","ecosystem":"Alpine:v3.20","purl":"pkg:apk/alpine/ghostscript?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"9.00"},{"fixed":"9.27-r3"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2019-14812.json"}},{"package":{"name":"ghostscript","ecosystem":"Alpine:v3.21","purl":"pkg:apk/alpine/ghostscript?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"9.00"},{"fixed":"9.27-r3"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2019-14812.json"}},{"package":{"name":"ghostscript","ecosystem":"Alpine:v3.22","purl":"pkg:apk/alpine/ghostscript?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"9.00"},{"fixed":"9.27-r3"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2019-14812.json"}},{"package":{"name":"ghostscript","ecosystem":"Alpine:v3.23","purl":"pkg:apk/alpine/ghostscript?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"9.00"},{"fixed":"9.27-r3"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2019-14812.json"}},{"package":{"name":"ghostscript","ecosystem":"Alpine:v3.7","purl":"pkg:apk/alpine/ghostscript?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"9.00"},{"fixed":"9.26-r4"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2019-14812.json"}},{"package":{"name":"ghostscript","ecosystem":"Alpine:v3.8","purl":"pkg:apk/alpine/ghostscript?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"9.00"},{"fixed":"9.26-r4"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2019-14812.json"}},{"package":{"name":"ghostscript","ecosystem":"Alpine:v3.9","purl":"pkg:apk/alpine/ghostscript?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"9.00"},{"fixed":"9.26-r4"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2019-14812.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"}]}