Skip to content

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

CriticalCVSS 9.8 EPSS 0.88%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
UbuntuDebian

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

Upgrade path

6 packages: 5 fixed.

PackageAffectedFixed inStatus
debian/ghostscript(Debian 12) < 9.53.0~dfsg-1 9.53.0~dfsg-1 Fixed
debian/ghostscript(Debian 13) < 9.53.0~dfsg-1 9.53.0~dfsg-1 Fixed
debian/ghostscript(Debian 14) < 9.53.0~dfsg-1 9.53.0~dfsg-1 Fixed
ubuntu/ghostscript(Ubuntu 20.04) < 9.50~dfsg-5ubuntu4.11; = 9.27~dfsg+0-0ubuntu3; = 9.27~dfsg+0-0ubuntu4; = 9.50~dfsg-5ubuntu1 +13 more 9.50~dfsg-5ubuntu4.11 Fixed
ubuntu/ghostscript(Ubuntu 22.04) < 9.55.0~dfsg1-0ubuntu5.5; = 9.54.0~dfsg1-0ubuntu2; = 9.55.0~dfsg1-0ubuntu4; = 9.55.0~dfsg1-0ubuntu5 +4 more 9.55.0~dfsg1-0ubuntu5.5 Fixed
artifex ghostscript = 9.51; = 9.52; = 9.52.1; = 9.53.0-rc1 +1 more No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
debian/ghostscript(Debian:12) < 9.53.0~dfsg-1 9.53.0~dfsg-1
debian/ghostscript(Debian:13) < 9.53.0~dfsg-1 9.53.0~dfsg-1
debian/ghostscript(Debian:14) < 9.53.0~dfsg-1 9.53.0~dfsg-1
artifex ghostscript = 9.51 No fix listed
artifex ghostscript = 9.52 No fix listed
artifex ghostscript = 9.52.1 No fix listed
artifex ghostscript = 9.53.0-rc1 No fix listed
artifex ghostscript = 9.53.0-rc2 No fix listed
ubuntu/ghostscript(Ubuntu:20.04) < 9.50~dfsg-5ubuntu4.11 9.50~dfsg-5ubuntu4.11
ubuntu/ghostscript(Ubuntu:20.04) = 9.27~dfsg+0-0ubuntu3 No fix listed
ubuntu/ghostscript(Ubuntu:20.04) = 9.27~dfsg+0-0ubuntu4 No fix listed
ubuntu/ghostscript(Ubuntu:20.04) = 9.50~dfsg-5ubuntu1 No fix listed
ubuntu/ghostscript(Ubuntu:20.04) = 9.50~dfsg-5ubuntu2 No fix listed
ubuntu/ghostscript(Ubuntu:20.04) = 9.50~dfsg-5ubuntu3 No fix listed
ubuntu/ghostscript(Ubuntu:20.04) = 9.50~dfsg-5ubuntu4 No fix listed
ubuntu/ghostscript(Ubuntu:20.04) = 9.50~dfsg-5ubuntu4.1 No fix listed
ubuntu/ghostscript(Ubuntu:20.04) = 9.50~dfsg-5ubuntu4.2 No fix listed
ubuntu/ghostscript(Ubuntu:20.04) = 9.50~dfsg-5ubuntu4.3 No fix listed
ubuntu/ghostscript(Ubuntu:20.04) = 9.50~dfsg-5ubuntu4.4 No fix listed
ubuntu/ghostscript(Ubuntu:20.04) = 9.50~dfsg-5ubuntu4.5 No fix listed
ubuntu/ghostscript(Ubuntu:20.04) = 9.50~dfsg-5ubuntu4.6 No fix listed
ubuntu/ghostscript(Ubuntu:20.04) = 9.50~dfsg-5ubuntu4.7 No fix listed
ubuntu/ghostscript(Ubuntu:20.04) = 9.50~dfsg-5ubuntu4.8 No fix listed
ubuntu/ghostscript(Ubuntu:20.04) = 9.50~dfsg-5ubuntu4.9 No fix listed
ubuntu/ghostscript(Ubuntu:20.04) = 9.50~dfsg-5ubuntu4.10 No fix listed
Show 8 more
ProductAffected versionsFixed in
ubuntu/ghostscript(Ubuntu:22.04) < 9.55.0~dfsg1-0ubuntu5.5 9.55.0~dfsg1-0ubuntu5.5
ubuntu/ghostscript(Ubuntu:22.04) = 9.54.0~dfsg1-0ubuntu2 No fix listed
ubuntu/ghostscript(Ubuntu:22.04) = 9.55.0~dfsg1-0ubuntu4 No fix listed
ubuntu/ghostscript(Ubuntu:22.04) = 9.55.0~dfsg1-0ubuntu5 No fix listed
ubuntu/ghostscript(Ubuntu:22.04) = 9.55.0~dfsg1-0ubuntu5.1 No fix listed
ubuntu/ghostscript(Ubuntu:22.04) = 9.55.0~dfsg1-0ubuntu5.2 No fix listed
ubuntu/ghostscript(Ubuntu:22.04) = 9.55.0~dfsg1-0ubuntu5.3 No fix listed
ubuntu/ghostscript(Ubuntu:22.04) = 9.55.0~dfsg1-0ubuntu5.4 No fix listed

References