CVE-2021-3781: Artifex Ghostscript

Critical severity, CVSS 9.9. EPSS: 83.9% chance of exploitation in the next 30 days.

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: version 9.50 only; version 9.52 only; version 9.53.3 only; version 9.54.0 only
  • Fedoraproject Fedora: version 34 only

Published 2022-02-16. Last modified 2026-06-17.