Division by zero in Ghostscript - CVE-2016-10219
Published: April 28, 2017 / Updated: January 9, 2018
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
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
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