Division by zero in Ghostscript - CVE-2016-10219

 

Division by zero in Ghostscript - CVE-2016-10219

Published: April 28, 2017 / Updated: January 9, 2018


Vulnerability identifier: #VU9879
CSH Severity: Low
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2016-10219
CWE-ID: CWE-369
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to divide-by-zero error within the intersect() function in base/gxfill.c in Ghostscript 9.20. A remote attacker can perform a denial of service (divide-by-zero error and application crash) via a specially crafted file.



Affected software

Ghostscript
Debian Linux
Ubuntu
Fedora
ghostscript (Ubuntu package)
libgs9-common (Ubuntu package)
libgs9 (Ubuntu package)
ghostscript-x (Ubuntu package)
ghostscript (Debian package)
ghostscript

How to mitigate CVE-2016-10219

Install update from vendor's website.

ghostscript (Ubuntu package) - addressed in versions 9.05~dfsg-0ubuntu4.5, 9.10~dfsg-0ubuntu10.7, 9.18~dfsg~0-0ubuntu2.4, 9.19~dfsg+1-0ubuntu6.4, 9.19~dfsg+1-0ubuntu7.2
libgs9-common (Ubuntu package) - addressed in versions 9.05~dfsg-0ubuntu4.5, 9.10~dfsg-0ubuntu10.7, 9.18~dfsg~0-0ubuntu2.4, 9.19~dfsg+1-0ubuntu6.4, 9.19~dfsg+1-0ubuntu7.2
libgs9 (Ubuntu package) - addressed in versions 9.05~dfsg-0ubuntu4.5, 9.10~dfsg-0ubuntu10.7, 9.18~dfsg~0-0ubuntu2.4, 9.19~dfsg+1-0ubuntu6.4, 9.19~dfsg+1-0ubuntu7.2
ghostscript-x (Ubuntu package) - addressed in versions 9.05~dfsg-0ubuntu4.5, 9.10~dfsg-0ubuntu10.7, 9.18~dfsg~0-0ubuntu2.4, 9.19~dfsg+1-0ubuntu6.4, 9.19~dfsg+1-0ubuntu7.2
ghostscript (Debian package) - update to 9.05~dfsg-6.3+deb7u5
ghostscript - addressed in versions 9.20-9.fc24, 9.20-9.fc25, 9.20-10.fc26

External References

Related Security Bulletins