CVE-2021-3781
A trivial sandbox (enabled with the `-dSAFER` option) escape flaw was found in the ghostscript interpreter by injecting a specially crafted pipe command.
Does this matter?
EPSS puts the probability of exploitation in the next 30 days at 83.9%, higher than 100% of all known CVEs. Patch or mitigate before the next change window.
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.
- CVSS 3.1
- 9.9 CRITICALCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
- EPSS
- 83.91% probability · 100th percentile
- Public exploits
- None in Exploit-DB
- CISA KEV
- Not listed
- Weakness
- CWE-20, CWE-78
- Affected
- artifex/ghostscript · fedoraproject/fedora
- Source
- secalert@redhat.com
EPSS 83.9% since 3 November 2026; no change recorded yet. The dashed line is the ten per cent mark our analysts treat as “patch before the next change window”. Points are recorded when the score first appears and whenever it moves by a percentage point or more.
References
- https://bugzilla.redhat.com/show_bug.cgi?id=2002271Issue Tracking, Patch, Third Party Advisory
- https://ghostscript.com/CVE-2021-3781.htmlPatch, Vendor Advisory
- https://security.gentoo.org/glsa/202211-11Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2002271Issue Tracking, Patch, Third Party Advisory
- https://ghostscript.com/CVE-2021-3781.htmlPatch, Vendor Advisory
- https://security.gentoo.org/glsa/202211-11Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA, exploits from Exploit-DB. Refreshed daily. Download this record as JSON.