CVE-2021-3781
CRITICAL9.9EPSS 6.5%ghostscript - security update
Published: 2/16/2022Modified: 4/28/2026
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 packages (3)
- Alpine/ghostscriptfrom 0, < 9.53.3-r1
- Debian/ghostscriptfrom 0, < 9.53.3~dfsg-7+deb11u1
- Debian/ghostscriptfrom 0, < 9.53.3~dfsg-7+deb11u1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | CRITICAL9.9 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |