What’s Vulnerable › Vulnerabilities
CVE-2021-3781
- Severity: critical (CVSS 9.9 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 83.9% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2022-02-16 · updated 2026-06-17
- Weakness: CWE-20
Description
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.
Affected products
- Artifex Ghostscript: 9.50, 9.52, 9.53.3, 9.54.0
- Fedoraproject Fedora: 34
References
- https://bugzilla.redhat.com/show_bug.cgi?id=2002271
- https://ghostscript.com/CVE-2021-3781.html
- https://security.gentoo.org/glsa/202211-11
- https://bugzilla.redhat.com/show_bug.cgi?id=2002271
- https://ghostscript.com/CVE-2021-3781.html
- https://security.gentoo.org/glsa/202211-11
Get alerted when CVE-2021-3781 or the next vulnerability affects your stack