{
  "cveId": "CVE-2021-3781",
  "url": "https://patchblox.com/security/cve/CVE-2021-3781",
  "summary": "CVE-2021-3781 is fixed in 4 products on 1 platform, first by ghostscript 9.50~dfsg-5ubuntu4.3, released September 7, 2021. It is not reported as exploited. Patch Radar priority: Urgent.",
  "title": "ghostscript: A trivial sandbox (enabled with the \u0060-dSAFER\u0060 option) escape flaw was found in the ghostscript interpreter by injecti...",
  "description": "A trivial sandbox (enabled with the \u0060-dSAFER\u0060 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.",
  "published": "2021-09-07T18:28:24Z",
  "severity": "critical",
  "cvss": 9.9,
  "cvssVector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H",
  "epss": 0.83913,
  "epssPercentile": 0.99694,
  "priority": "Urgent",
  "priorityTier": 2,
  "exploited": false,
  "vendorExploited": false,
  "disclosed": false,
  "fixes": [
    {
      "platform": "linux",
      "product": "ghostscript",
      "release": "Debian 12.15 (bookworm)",
      "fixedVersion": "9.53.3~dfsg-8",
      "fix": "DEBIAN-CVE-2021-3781",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2021-3781",
      "released": "2022-02-16T19:15:08Z"
    },
    {
      "platform": "linux",
      "product": "ghostscript",
      "release": "Debian 13.5 (trixie)",
      "fixedVersion": "9.53.3~dfsg-8",
      "fix": "DEBIAN-CVE-2021-3781",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2021-3781",
      "released": "2022-02-16T19:15:08Z"
    },
    {
      "platform": "linux",
      "product": "ghostscript",
      "release": "Debian 14",
      "fixedVersion": "9.53.3~dfsg-8",
      "fix": "DEBIAN-CVE-2021-3781",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2021-3781",
      "released": "2022-02-16T19:15:08Z"
    },
    {
      "platform": "linux",
      "product": "ghostscript",
      "release": "Ubuntu 20.04 LTS (focal)",
      "fixedVersion": "9.50~dfsg-5ubuntu4.3",
      "fix": "ghostscript 9.50~dfsg-5ubuntu4.3",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-focal-ghostscript-9.50-dfsg-5ubuntu4.3",
      "released": "2021-09-07T18:28:24Z"
    },
    {
      "platform": "linux",
      "product": "ghostscript",
      "release": "Ubuntu 22.04.1 LTS (jammy)",
      "fixedVersion": "9.54.0~dfsg1-0ubuntu2",
      "fix": "ghostscript 9.54.0~dfsg1-0ubuntu2",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-jammy-ghostscript-9.54.0-dfsg1-0ubuntu2",
      "released": "2021-09-07T18:28:24Z"
    },
    {
      "platform": "linux",
      "product": "ghostscript-x",
      "release": "Ubuntu 20.04 LTS (focal)",
      "fixedVersion": "9.50~dfsg-5ubuntu4.3",
      "fix": "ghostscript-x 9.50~dfsg-5ubuntu4.3",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-focal-ghostscript-x-9.50-dfsg-5ubuntu4.3",
      "released": "2021-09-07T18:28:24Z"
    },
    {
      "platform": "linux",
      "product": "ghostscript-x",
      "release": "Ubuntu 22.04.1 LTS (jammy)",
      "fixedVersion": "9.54.0~dfsg1-0ubuntu2",
      "fix": "ghostscript-x 9.54.0~dfsg1-0ubuntu2",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-jammy-ghostscript-x-9.54.0-dfsg1-0ubuntu2",
      "released": "2021-09-07T18:28:24Z"
    },
    {
      "platform": "linux",
      "product": "libgs9",
      "release": "Ubuntu 20.04 LTS (focal)",
      "fixedVersion": "9.50~dfsg-5ubuntu4.3",
      "fix": "libgs9 9.50~dfsg-5ubuntu4.3",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-focal-libgs9-9.50-dfsg-5ubuntu4.3",
      "released": "2021-09-07T18:28:24Z"
    },
    {
      "platform": "linux",
      "product": "libgs9",
      "release": "Ubuntu 22.04.1 LTS (jammy)",
      "fixedVersion": "9.54.0~dfsg1-0ubuntu2",
      "fix": "libgs9 9.54.0~dfsg1-0ubuntu2",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-jammy-libgs9-9.54.0-dfsg1-0ubuntu2",
      "released": "2021-09-07T18:28:24Z"
    },
    {
      "platform": "linux",
      "product": "libgs9-common",
      "release": "Ubuntu 20.04 LTS (focal)",
      "fixedVersion": "9.50~dfsg-5ubuntu4.3",
      "fix": "libgs9-common 9.50~dfsg-5ubuntu4.3",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-focal-libgs9-common-9.50-dfsg-5ubuntu4.3",
      "released": "2021-09-07T18:28:24Z"
    },
    {
      "platform": "linux",
      "product": "libgs9-common",
      "release": "Ubuntu 22.04.1 LTS (jammy)",
      "fixedVersion": "9.54.0~dfsg1-0ubuntu2",
      "fix": "libgs9-common 9.54.0~dfsg1-0ubuntu2",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-jammy-libgs9-common-9.54.0-dfsg1-0ubuntu2",
      "released": "2021-09-07T18:28:24Z"
    }
  ],
  "noFixYet": [],
  "dataAsOf": "2026-11-08T19:12:23Z",
  "attribution": {
    "text": "Data: Patchblox Patch Radar",
    "url": "https://patchblox.com/security/patch-radar",
    "terms": "https://patchblox.com/security/patch-radar/use-the-data"
  }
}