Use-after-free in Ghostscript - CVE-2020-16303
Published: August 13, 2020 / Updated: August 26, 2020
Vulnerability details
The vulnerability allows a remote attacker to compromise vulnerable system.
The vulnerability exists due to a use-after-free error when processing a crafted PDF file in devices/vector/gdevxps.c. A remote attacker can trick the victim to open a specially crafted PDF file, trigger a use-after-free error and execute arbitrary code on the target system.
Successful exploitation of the vulnerability may allow an attacker to compromise vulnerable system.
Affected software
Gentoo Linux
Red Hat CodeReady Linux Builder for ARM 64
Red Hat CodeReady Linux Builder for Power, little endian
Red Hat CodeReady Linux Builder for x86_64
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for x86_64
Ubuntu
ghostscript (Debian package)
ghostscript (Alpine package)
ghostscript (Ubuntu package)
libgs9 (Ubuntu package)
ghostscript (Red Hat package)
How to mitigate CVE-2020-16303
ghostscript (Debian package) - update to 9.27~dfsg-2+deb10u4
ghostscript (Alpine package) - update to 9.53.1-r0
ghostscript (Ubuntu package) - addressed in versions 9.26~dfsg+0-0ubuntu0.16.04.13, 9.26~dfsg+0-0ubuntu0.18.04.13, 9.50~dfsg-5ubuntu4.2
libgs9 (Ubuntu package) - addressed in versions 9.26~dfsg+0-0ubuntu0.16.04.13, 9.26~dfsg+0-0ubuntu0.18.04.13, 9.50~dfsg-5ubuntu4.2
ghostscript (Red Hat package) - update to 9.27-1.el8