All vulnerabilities

Servers and applications

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. 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.

Severity
Critical 9.9
Published
16 Feb 2022
Last changed
17 Jun 2026
Added to UpHeron
1 Nov 2026
Sources
NVD

Affected software

SoftwareAffected versions
GhostscriptServers and applications · cpe:a:artifex:ghostscript
  • Version 9.50
  • Version 9.52
  • Version 9.53.3
  • Version 9.54.0

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2021-3781
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2021-3781