Buffer overflow in Ghostscript - CVE-2020-16302
Published: August 13, 2020 / Updated: August 26, 2020
Vulnerability details
The vulnerability allows a remote non-authenticated attacker to execute arbitrary code.
A buffer overflow vulnerability exists in jetp3852_print_page() in devices/gdev3852.c of Artifex Software GhostScript. A remote attacker can trick the victim to open a specially crafted PDF file, trigger memory corruption and execute arbitrary code on the 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-16302
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