Stack-based buffer overflow in Ghostscript - CVE-2018-16802
Published: December 17, 2018 / Updated: December 18, 2018
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to incorrect "restoration of privilege" checking when running out of stack during exception handling. A remote unauthenticated attacker can supply specially crafted PostScript, trigger memory corruption and execute code using the "pipe" instruction.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
Note: the vulnerability exists due to an incomplete fix for CVE-2018-16509.
Affected software
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux Desktop
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Scientific Computing
Red Hat Enterprise Linux Server
Red Hat Enterprise Linux for Power
Fedora
ghostscript (Debian package)
ghostscript (Alpine package)
ghostscript
How to mitigate CVE-2018-16802
ghostscript (Alpine package) - update to 9.25-r0
ghostscript - update to 9.24-3.fc28