#VU16576 Stack-based buffer overflow in Ghostscript - CVE-2018-16802
Published: December 17, 2018 / Updated: December 18, 2018
Vulnerability identifier: #VU16576
Vulnerability risk: High
CVSSv4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber
CVE-ID: CVE-2018-16802
CWE-ID: CWE-121
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vulnerable software:
Ghostscript
Ghostscript
Software vendor:
Artifex Software, Inc.
Artifex Software, Inc.
Description
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.
Remediation
Install update from vendor's website.