Skip to content
Heist/ feed
Back to feed
UnratedFix available

ghostscript vulnerabilities

Type: advisorySources: OSV

USN-5224-1 fixed several vulnerabilities in Ghostscript. This update provides the corresponding update for Ubuntu 16.04 ESM. Original advisory details: It was discovered that Ghostscript incorrectly handled certain PostScript files. If a user or automated system were tricked into processing a specially crafted file, a remote attacker could possibly use this issue to cause Ghostscript to crash, resulting in a denial of service, or possibly execute arbitrary code.

Products
ghostscript
Affected versions
9.16~dfsg~0-0ubuntu3, 9.16~dfsg~0-0ubuntu4, 9.18~dfsg~0-0ubuntu1, 9.18~dfsg~0-0ubuntu2, 9.18~dfsg~0-0ubuntu2.2, 9.18~dfsg~0-0ubuntu2.3, 9.18~dfsg~0-0ubuntu2.4, 9.18~dfsg~0-0ubuntu2.6, 9.18~dfsg~0-0ubuntu2.7, 9.18~dfsg~0-0ubuntu2.8, 9.18~dfsg~0-0ubuntu2.9, 9.25~dfsg+1-0ubuntu0.16.04.1, 9.25~dfsg+1-0ubuntu0.16.04.2, 9.25~dfsg+1-0ubuntu0.16.04.3, 9.26~dfsg+0-0ubuntu0.16.04.1, 9.26~dfsg+0-0ubuntu0.16.04.10, 9.26~dfsg+0-0ubuntu0.16.04.11, 9.26~dfsg+0-0ubuntu0.16.04.12, 9.26~dfsg+0-0ubuntu0.16.04.13, 9.26~dfsg+0-0ubuntu0.16.04.14, 9.26~dfsg+0-0ubuntu0.16.04.3, 9.26~dfsg+0-0ubuntu0.16.04.4, 9.26~dfsg+0-0ubuntu0.16.04.5, 9.26~dfsg+0-0ubuntu0.16.04.6, 9.26~dfsg+0-0ubuntu0.16.04.7, 9.26~dfsg+0-0ubuntu0.16.04.8, 9.26~dfsg+0-0ubuntu0.16.04.9
Fixed versions
9.26~dfsg+0-0ubuntu0.16.04.14+esm1
CVEs
CVE-2021-45944, CVE-2021-45949
Confirmed fixed CVEs
Not specified
Updated in this feed
28 Oct 2026, 10:04 UTC · Revision 1

Source evidence

ghostscript vulnerabilities

core-osv · Original source

Published 13 Jan 2022, 13:41 UTC

USN-5224-1 fixed several vulnerabilities in Ghostscript. This update provides the corresponding update for Ubuntu 16.04 ESM. Original advisory details: It was discovered that Ghostscript incorrectly handled certain PostScript files. If a user or automated system were tricked into processing a specially crafted file, a remote attacker could possibly use this issue to cause Ghostscript to crash, resulting in a denial of service, or possibly execute arbitrary code.

osv:USN-5224-2

ghostscript

Fixed versions: 9.26~dfsg+0-0ubuntu0.16.04.14+esm1

Complete source record
{
  "id": "da0fb10c81fd259ccbd61054fff4d6edb829aac1c8cd2bc7c7a7dcd27ff1b275",
  "url": "https://osv.dev/vulnerability/USN-5224-2",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "ghostscript vulnerabilities",
    "summary": "USN-5224-1 fixed several vulnerabilities in Ghostscript. This update provides the corresponding update for Ubuntu 16.04 ESM. Original advisory details: It was discovered that Ghostscript incorrectly handled certain PostScript files. If a user or automated system were tricked into processing a specially crafted file, a remote attacker could possibly use this issue to cause Ghostscript to crash, resulting in a denial of service, or possibly execute arbitrary code.",
    "evidence": "osv:USN-5224-2",
    "products": [
      {
        "name": {
          "value": "ghostscript",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "9.26~dfsg+0-0ubuntu0.16.04.14+esm1",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "9.16~dfsg~0-0ubuntu3",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "9.16~dfsg~0-0ubuntu4",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "9.18~dfsg~0-0ubuntu1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "9.18~dfsg~0-0ubuntu2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "9.18~dfsg~0-0ubuntu2.2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "9.18~dfsg~0-0ubuntu2.3",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "9.18~dfsg~0-0ubuntu2.4",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "9.18~dfsg~0-0ubuntu2.6",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "9.18~dfsg~0-0ubuntu2.7",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "9.18~dfsg~0-0ubuntu2.8",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "9.18~dfsg~0-0ubuntu2.9",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "9.25~dfsg+1-0ubuntu0.16.04.1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "9.25~dfsg+1-0ubuntu0.16.04.2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "9.25~dfsg+1-0ubuntu0.16.04.3",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "9.26~dfsg+0-0ubuntu0.16.04.1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "9.26~dfsg+0-0ubuntu0.16.04.3",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "9.26~dfsg+0-0ubuntu0.16.04.4",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "9.26~dfsg+0-0ubuntu0.16.04.5",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "9.26~dfsg+0-0ubuntu0.16.04.6",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "9.26~dfsg+0-0ubuntu0.16.04.7",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "9.26~dfsg+0-0ubuntu0.16.04.8",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "9.26~dfsg+0-0ubuntu0.16.04.9",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "9.26~dfsg+0-0ubuntu0.16.04.10",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "9.26~dfsg+0-0ubuntu0.16.04.11",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "9.26~dfsg+0-0ubuntu0.16.04.12",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "9.26~dfsg+0-0ubuntu0.16.04.13",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "9.26~dfsg+0-0ubuntu0.16.04.14",
            "evidence": "/affected/0/versions"
          }
        ]
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "USN-5224-2",
      "aliases": [
        "USN-5224-2"
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "9.26~dfsg+0-0ubuntu0.16.04.14+esm1"
                }
              ]
            }
          ],
          "package": {
            "name": "ghostscript",
            "purl": "pkg:deb/ubuntu/ghostscript?arch=source&distro=esm-infra%2Fxenial",
            "ecosystem": "Ubuntu:Pro:16.04:LTS"
          },
          "versions": [
            "9.16~dfsg~0-0ubuntu3",
            "9.16~dfsg~0-0ubuntu4",
            "9.18~dfsg~0-0ubuntu1",
            "9.18~dfsg~0-0ubuntu2",
            "9.18~dfsg~0-0ubuntu2.2",
            "9.18~dfsg~0-0ubuntu2.3",
            "9.18~dfsg~0-0ubuntu2.4",
            "9.18~dfsg~0-0ubuntu2.6",
            "9.18~dfsg~0-0ubuntu2.7",
            "9.18~dfsg~0-0ubuntu2.8",
            "9.18~dfsg~0-0ubuntu2.9",
            "9.25~dfsg+1-0ubuntu0.16.04.1",
            "9.25~dfsg+1-0ubuntu0.16.04.2",
            "9.25~dfsg+1-0ubuntu0.16.04.3",
            "9.26~dfsg+0-0ubuntu0.16.04.1",
            "9.26~dfsg+0-0ubuntu0.16.04.3",
            "9.26~dfsg+0-0ubuntu0.16.04.4",
            "9.26~dfsg+0-0ubuntu0.16.04.5",
            "9.26~dfsg+0-0ubuntu0.16.04.6",
            "9.26~dfsg+0-0ubuntu0.16.04.7",
            "9.26~dfsg+0-0ubuntu0.16.04.8",
            "9.26~dfsg+0-0ubuntu0.16.04.9",
            "9.26~dfsg+0-0ubuntu0.16.04.10",
            "9.26~dfsg+0-0ubuntu0.16.04.11",
            "9.26~dfsg+0-0ubuntu0.16.04.12",
            "9.26~dfsg+0-0ubuntu0.16.04.13",
            "9.26~dfsg+0-0ubuntu0.16.04.14"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-5224-2.json",
            "cves_map": {
              "cves": [
                {
                  "id": "CVE-2021-45944",
                  "severity": [
                    {
                      "type": "CVSS_V3",
                      "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
                    },
                    {
                      "type": "Ubuntu",
                      "score": "medium"
                    }
                  ]
                },
                {
                  "id": "CVE-2021-45949",
                  "severity": [
                    {
                      "type": "CVSS_V3",
                      "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
                    },
                    {
                      "type": "CVSS_V3",
                      "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:L"
                    },
                    {
                      "type": "Ubuntu",
                      "score": "medium"
                    }
                  ]
                }
              ],
              "ecosystem": "Ubuntu:Pro:16.04:LTS"
            }
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "ghostscript",
                "binary_version": "9.26~dfsg+0-0ubuntu0.16.04.14+esm1"
              },
              {
                "binary_name": "ghostscript-x",
                "binary_version": "9.26~dfsg+0-0ubuntu0.16.04.14+esm1"
              },
              {
                "binary_name": "libgs9",
                "binary_version": "9.26~dfsg+0-0ubuntu0.16.04.14+esm1"
              },
              {
                "binary_name": "libgs9-common",
                "binary_version": "9.26~dfsg+0-0ubuntu0.16.04.14+esm1"
              }
            ],
            "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro"
          }
        }
      ],
      "modified": "2026-10-08T19:46:33.088898005Z",
      "provider": "osv",
      "upstream": [
        "CVE-2021-45944",
        "CVE-2021-45949",
        "UBUNTU-CVE-2021-45944",
        "UBUNTU-CVE-2021-45949"
      ],
      "references": [
        "https://ubuntu.com/security/notices/USN-5224-2",
        "https://ubuntu.com/security/CVE-2021-45944",
        "https://ubuntu.com/security/CVE-2021-45949"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2021-45944",
        "evidence": "/upstream"
      },
      {
        "value": "CVE-2021-45949",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 104520,
  "published_at": "2022-01-13T13:41:53+00:00"
}