Buffer overflow in Ghostscript - CVE-2018-10194
Published: April 20, 2018 / Updated: April 23, 2018
Vulnerability details
The vulnerability allows a remote attacker to cause DoS condition or execute arbitrary code on the target system.
The vulnerability exists in the pprintg1 function due boundary error when handling of postscript file data written to PDF. A remote unauthenticated attacker can trick the victim into opening a specially crafted PDF file, trigger memory corruption and cause the application to crash or execute arbitrary code with elevated privileges.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
Affected software
Ubuntu
Opensuse
Fedora
wireshark (Alpine package)
openSUSE Leap
ghostscript (Ubuntu package)
libgs9 (Ubuntu package)
ghostscript
How to mitigate CVE-2018-10194
ghostscript (Ubuntu package) - addressed in versions 9.10~dfsg-0ubuntu10.12, 9.18~dfsg~0-0ubuntu2.8, 9.21~dfsg+1-0ubuntu3.1, 9.22~dfsg+1-0ubuntu1.1
libgs9 (Ubuntu package) - addressed in versions 9.10~dfsg-0ubuntu10.12, 9.18~dfsg~0-0ubuntu2.8, 9.21~dfsg+1-0ubuntu3.1, 9.22~dfsg+1-0ubuntu1.1
ghostscript - addressed in versions 9.20-11.fc26, 9.22-4.fc27, 9.23-2.fc28