Skip to content
Heist/ feed
Back to feed
Critical

Security advisory

Type: advisorySources: OSVCVE: CVE-2020-36773

Artifex Ghostscript before 9.53.0 has an out-of-bounds write and use-after-free in devices/vector/gdevtxtw.c (for txtwrite) because a single character code in a PDF document can map to more than one Unicode code point (e.g., for a ligature).

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2020-36773
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 11:28 UTC · Revision 1

Source evidence

CVE-2020-36773

core-osv · Original source

Published 4 Feb 2024, 18:16 UTC

Artifex Ghostscript before 9.53.0 has an out-of-bounds write and use-after-free in devices/vector/gdevtxtw.c (for txtwrite) because a single character code in a PDF document can map to more than one Unicode code point (e.g., for a ligature).

osv:CVE-2020-36773
Complete source record
{
  "id": "61f0a049e39df200d6f7acbfe10d6d1ec2bbaee57ddc2baef623ca3ed66c0e4e",
  "url": "https://osv.dev/vulnerability/CVE-2020-36773",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2020-36773",
    "summary": "Artifex Ghostscript before 9.53.0 has an out-of-bounds write and use-after-free in devices/vector/gdevtxtw.c (for txtwrite) because a single character code in a PDF document can map to more than one Unicode code point (e.g., for a ligature).",
    "evidence": "osv:CVE-2020-36773",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2020-36773",
      "aliases": [
        "CVE-2020-36773"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/artifexsoftware/ghostpdl-downloads",
              "type": "GIT",
              "events": [
                {
                  "introduced": "16c7521e7784c75cbdc5ab31f4fe407eb7d72ae9"
                },
                {
                  "last_affected": "6faa77094ce388292a2797477bd4597e6b3b35ff"
                },
                {
                  "fixed": "088333d4adf1bfbd850527bfe644229a9122dc8a"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:artifex:ghostscript:9.51:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "9.51"
                      },
                      {
                        "last_affected": "9.51"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:artifex:ghostscript:9.53.0:rc1:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "9.53.0-rc1"
                      },
                      {
                        "last_affected": "9.53.0-rc1"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:artifex:ghostscript:9.53.0:rc2:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "9.53.0-rc2"
                      },
                      {
                        "last_affected": "9.53.0-rc2"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "range": [
                      {
                        "fixed": "088333d4adf1bfbd850527bfe644229a9122dc8a"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "gs9530"
                  }
                ]
              }
            }
          ],
          "versions": [
            "9.51",
            "9.53.0-rc1",
            "gs952",
            "ghostpdl-9.53.0rc2",
            "ghostpdl-9.53.0rc1",
            "gs951",
            "ghostpdl-9.51"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-36773.json"
          }
        }
      ],
      "modified": "2026-10-20T10:54:21.577156501Z",
      "provider": "osv",
      "references": [
        "https://git.ghostscript.com/?p=ghostpdl.git%3Ba=commit%3Bh=8c7bd787defa071c96289b7da9397f673fddb874",
        "https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/tag/gs9530",
        "https://bugzilla.opensuse.org/show_bug.cgi?id=1177922",
        "https://bugs.ghostscript.com/show_bug.cgi?id=702229"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:a:artifex:ghostscript:9.52.1:*:*:*:*:*:*:*",
              "cpe:2.3:a:artifex:ghostscript:9.52:*:*:*:*:*:*:*"
            ],
            "vendor_product": "artifex:ghostscript",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "9.52"
                  },
                  {
                    "last_affected": "9.52"
                  },
                  {
                    "introduced": "9.52.1"
                  },
                  {
                    "last_affected": "9.52.1"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2020-36773",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 385159,
  "published_at": "2024-02-04T18:16:00.713+00:00"
}