CVE-2021-3781
highpriority · attend · 69EPSS 0.839 · 100 %ileEURUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · high–critical · 9.3–9.9
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (12)
Products and version ranges known to be affected.
also known as (4)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (20)
External citations — patches, advisories, analysis.
- http://www.debian.org/security/2021/dsa-4972。Patchcnnvd
- https://access.redhat.com/security/cve/cve-2021-3781cnnvd
- https://bugzilla.redhat.com/show_bug.cgi?id=2002271cnnvd
- https://ghostscript.com/CVE-2021-3781.htmlcnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2021-3781cnnvd
- https://packetstormsecurity.com/files/164128/Ubuntu-Security-Notice-USN-5075-1.htmlcnnvd
- https://packetstormsecurity.com/files/169984/Gentoo-Linux-Security-Advisory-202211-11.htmlcnnvd
- https://security.gentoo.org/glsa/202211-11cnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan