# 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 singl…

- Severity: Critical 9.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.88%, higher than 60% of CVEs (2026-12-01)
- Published: 2024-02-04T00:00:00.000Z
- Modified: 2026-06-17T03:16:11.957Z
- Weaknesses: CWE-416, CWE-787
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: mitre

## Description

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

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- artifex ghostscript: 9.51; 9.52; 9.52.1; 9.53.0

## Every score

- CISA-ADP: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://bugs.ghostscript.com/show_bug.cgi?id=702229> (issue-tracking, patch)
- <https://git.ghostscript.com/?p=ghostpdl.git%3Ba=commit%3Bh=8c7bd787defa071c96289b7da9397f673fddb874> (broken-link)
- <https://bugzilla.opensuse.org/show_bug.cgi?id=1177922> (issue-tracking)
- <https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/tag/gs9530> (release-notes)

## Sources

- CVE List: [CVE-2020-36773](https://www.cve.org/CVERecord?id=CVE-2020-36773), CVE Terms of Use, modified 2025-05-22
- NVD: [CVE-2020-36773](https://nvd.nist.gov/vuln/detail/CVE-2020-36773), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-36773 · Whole record: https://cve.day/CVE-2020-36773.json · Rebuilt by cve.day 2026-11-25T22:57:58.945Z
