{"id":"CVE-2021-3781","published":"2022-02-16T00:00:00Z","modified":"2024-08-03T17:09:08Z","title":"A trivial sandbox (enabled with the `-dSAFER` option) escape flaw was found in the ghostscript interpreter by…","vendor":null,"product":null,"tier":"core","eol":null,"affectedVersions":[{"vendor":"n/a","product":"ghostscript","versions":["ghostpdl 9.55.0"]}],"description":{"text":"A trivial sandbox (enabled with the `-dSAFER` option) escape flaw was found in the ghostscript interpreter by injecting a specially crafted pipe command. This flaw allows a specially crafted document to execute arbitrary commands on the system in the context of the ghostscript interpreter. The highest threat from this vulnerability is to confidentiality, integrity, as well as system availability.","provenance":"source","from":"CVE.org"},"summary":{"text":"A sandbox escape flaw in the Ghostscript interpreter lets the -dSAFER restrictions be bypassed by injecting a specially crafted pipe command. Exploitation requires an attacker to supply a specially crafted document for Ghostscript to process, with no authentication or network access specified beyond that.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-10-29T07:23:27Z"},"cvss":null,"epss":{"score":0.83913,"percentile":0.99692,"date":"2026-11-02","provenance":"source"},"kev":null,"vulncheckKev":null,"exploited":false,"otx":{"pulseCount":0,"pulses":[],"provenance":"machine"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2002271","tags":[]},{"url":"https://ghostscript.com/CVE-2021-3781.html","tags":[]},{"url":"https://security.gentoo.org/glsa/202211-11","tags":["vendor-advisory"]}],"techniques":[],"reports":[],"affected":[],"advisories":[],"euvd":{"id":"EUVD-2021-27045","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2021-27045","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[],"exploitSources":null,"exploitRefs":[],"flow":[],"timeline":[{"date":"2022-02-16","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2021-3781","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":null,"daysToKev":null},"priority":{"score":19.9,"factors":[{"name":"In a KEV catalog","points":0.0,"detail":"not listed"},{"name":"Recent KEV listing","points":0.0,"detail":"not listed"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":19.94,"detail":"percentile 0.9969"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":0.0,"detail":"none found"},{"name":"Mentioned in OTX pulses","points":0.0,"detail":"0 pulses"},{"name":"CVSS severity","points":0.0,"detail":"no CVSS"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}