Heap-based buffer overflow in Ghostscript - CVE-2016-10317
Published: May 14, 2018 / Updated: May 14, 2018
Vulnerability identifier: #VU12609
CSH Severity: Low
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2016-10317
CWE-ID: CWE-122
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a remote attacker to cause DoS condition on the target system.
The weakness exists in the fill_threshhold_buffer function in base/gxht_thresh.c due to heap-based buffer overflow. A remote attacker can submit a specially crafted PostScript document, trigger memory corruption and cause the service to crash.
The weakness exists in the fill_threshhold_buffer function in base/gxht_thresh.c due to heap-based buffer overflow. A remote attacker can submit a specially crafted PostScript document, trigger memory corruption and cause the service to crash.
Affected software
Ghostscript
Ubuntu
Fedora
ghostscript (Ubuntu package)
libgs9 (Ubuntu package)
ghostscript
Ubuntu
Fedora
ghostscript (Ubuntu package)
libgs9 (Ubuntu package)
ghostscript
How to mitigate CVE-2016-10317
Install update from vendor's website.
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-9.fc24, 9.20-9.fc25, 9.20-10.fc26
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-9.fc24, 9.20-9.fc25, 9.20-10.fc26