Vulnerability Details : 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).
Vulnerability category: Memory Corruption
Products affected by CVE-2020-36773
- cpe:2.3:a:artifex:ghostscript:9.52:*:*:*:*:*:*:*
- cpe:2.3:a:artifex:ghostscript:9.53.0:rc1:*:*:*:*:*:*
- cpe:2.3:a:artifex:ghostscript:9.53.0:rc2:*:*:*:*:*:*
- cpe:2.3:a:artifex:ghostscript:9.51:*:*:*:*:*:*:*
- cpe:2.3:a:artifex:ghostscript:9.52.1:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2020-36773
0.09%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 23 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2020-36773
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
9.8
|
CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
3.9
|
5.9
|
NIST | 2024-02-13 |
CWE ids for CVE-2020-36773
-
The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.Assigned by: nvd@nist.gov (Primary)
-
The product writes data past the end, or before the beginning, of the intended buffer.Assigned by: nvd@nist.gov (Primary)
References for CVE-2020-36773
-
https://bugzilla.opensuse.org/show_bug.cgi?id=1177922
1177922 – ghostscript: txtwrite has memory issuesIssue Tracking
-
https://bugs.ghostscript.com/show_bug.cgi?id=702229
702229 – txtwrite: use after free in 9.51 on some files (regression from 9.50)Issue Tracking;Patch
-
https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/tag/gs9530
Release Ghostscript/GhostPDL 9.53.0 · ArtifexSoftware/ghostpdl-downloads · GitHubRelease Notes
-
https://git.ghostscript.com/?p=ghostpdl.git%3Ba=commit%3Bh=8c7bd787defa071c96289b7da9397f673fddb874
git.ghostscript.com GitBroken Link
Jump to