CVE-2020-36773
Artifex Ghostscript before 9.53.0 has an out-of-bounds write and use-after-free in devices/vector...
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).
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
9.8
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).
- Record
CVE-2020-36773- 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 - Weakness
- CWE-416, CWE-787
- Updated
- 2026-11-02
CVE List
9.8
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).
- Record
CVE-2020-36773- 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 - Weakness
- CWE-787, CWE-416
- Updated
- 2026-11-02
EUVDEUVD-2020-24214
9.8
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).
- Record
EUVD-2020-24214- 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 - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-mwx2-8cmg-6vmj
9.8
Artifex Ghostscript before 9.53.0 has an out-of-bounds write and use-after-free in devices/vector...
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).
- Record
GHSA-mwx2-8cmg-6vmj- 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 - Weakness
- CWE-416
- Updated
- 2026-11-02
OSV
9.8
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).
- Record
CVE-2020-36773- 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 - Updated
- 2026-11-02
OSVDEBIAN-CVE-2020-36773
9.8
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).
- Record
DEBIAN-CVE-2020-36773- 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 - Updated
- 2026-11-02
Show 5 moreShow less
OSVOESA-2024-1462
9.8
ghostscript security update
Ghostscript is an interpreter for PostScript™ and Portable Document Format (PDF) files. Ghostscript consists of a PostScript interpreter layer, and a graphics library.
Security Fix(es):
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).(CVE-2020-36773)
- Record
OESA-2024-1462- 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 - Updated
- 2026-11-02
OSVOESA-2024-1463
9.8
ghostscript security update
Ghostscript is an interpreter for PostScript™ and Portable Document Format (PDF) files. Ghostscript consists of a PostScript interpreter layer, and a graphics library.
Security Fix(es):
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).(CVE-2020-36773)
- Record
OESA-2024-1463- 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 - Updated
- 2026-11-02
OSVUBUNTU-CVE-2020-36773
9.8
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).
- Record
UBUNTU-CVE-2020-36773- 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 - Updated
- 2026-11-02
OSVSUSE-SU-2024:0920-1 No score
Security update for ghostscript
This update for ghostscript fixes the following issues:
- Fixed segfaults in gs_heap_free_object() — ref:_00D1igLOd._500Tr4BRgx:ref (bsc#1219357).
Previously fixed security issue:
- CVE-2020-36773: Fixed out-of-bounds write and use-after-free in devices/vector/gdevtxtw.c (for txtwrite) (bsc#1219554).
- Record
SUSE-SU-2024:0920-1- Updated
- 2026-11-02
OSVSUSE-SU-2024:0921-1 No score
Security update for ghostscript
This update for ghostscript fixes the following issues:
- Fixed segfaults in gs_heap_free_object() — ref:_00D1igLOd._500Tr4BRgx:ref (bsc#1219357).
Previously fixed security issue:
- CVE-2020-36773: Fixed out-of-bounds write and use-after-free in devices/vector/gdevtxtw.c (for txtwrite) (bsc#1219554).
- Record
SUSE-SU-2024:0921-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
ghostscriptDebian:12 |
before 9.53.0~dfsg-1 | 9.53.0~dfsg-1 |
ghostscriptDebian:13 |
before 9.53.0~dfsg-1 | 9.53.0~dfsg-1 |
ghostscriptDebian:14 |
before 9.53.0~dfsg-1 | 9.53.0~dfsg-1 |
ghostscriptopenEuler:20.03-LTS-SP1 |
before 9.52-11.oe1 | 9.52-11.oe1 |
ghostscriptopenEuler:20.03-LTS-SP4 |
before 9.52-13.oe2003sp4 | 9.52-13.oe2003sp4 |
ghostscriptSUSE:Linux Enterprise Module for Basesystem 15 SP5 |
before 9.52-150000.185.1 | 9.52-150000.185.1 |
ghostscriptopenSUSE:Leap 15.5 |
before 9.52-150000.185.1 | 9.52-150000.185.1 |
ghostscriptSUSE:Linux Enterprise Software Development Kit 12 SP5 |
before 9.52-23.71.1 | 9.52-23.71.1 |
ghostscriptSUSE:Linux Enterprise Server 12 SP5 |
before 9.52-23.71.1 | 9.52-23.71.1 |
ghostscriptSUSE:Linux Enterprise Server for SAP Applications 12 SP5 |
before 9.52-23.71.1 | 9.52-23.71.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected | ||
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2020-36773 is a critical vulnerability (CVSS 9.8) in Artifex Ghostscript, published February 4, 2024. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.88%, the 59th percentile. Fixed in ghostscript 9.53.0~dfsg-1.
References
bugs.ghostscript.com/show_bug.cgi?id=702229
git.ghostscript.com?p=ghostpdl.git%3Ba=commit%3Bh=8c7bd787defa071c96289b7da9397f673fddb874
bugzilla.opensuse.org/show_bug.cgi?id=1177922
github.com/ArtifexSoftware/ghostpdl-downloads/releases/tag/gs9530
nvd.nist.gov/vuln/detail/CVE-2020-36773
git.ghostscript.com?p=ghostpdl.git;a=commit;h=8c7bd787defa071c96289b7da9397f673fddb874
Show 11 moreShow less
github.com/advisories/GHSA-mwx2-8cmg-6vmj
security-tracker.debian.org/tracker/CVE-2020-36773
openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2024-1462
openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2024-1463
suse.com/support/update/announcement/2024/suse-su-20240920-1
bugzilla.suse.com/1219357
bugzilla.suse.com/1219554
suse.com/security/cve/CVE-2020-36773
suse.com/support/update/announcement/2024/suse-su-20240921-1
ubuntu.com/security/CVE-2020-36773
cve.org/CVERecord?id=CVE-2020-36773