Division by zero in LibTIFF - CVE-2017-7595
Published: April 9, 2017 / Updated: July 28, 2020
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 JPEGSetupEncode function in tiff_jpeg.c in LibTIFF 4.0.7. A remote attacker can perform a denial of service (divide-by-zero error and application crash) via a crafted image.
Affected software
Arch Linux
Gentoo Linux
Debian Linux
Fedora
tiff (Alpine package)
tiff3 (Debian package)
tiff (Debian package)
libtiff
How to mitigate CVE-2017-7595
tiff3 (Debian package) - update to 3.9.6-11+deb7u5
tiff (Debian package) - addressed in versions 4.0.2-6+deb7u12, 4.0.3-12.3+deb8u3
libtiff - addressed in versions 4.0.7-5.fc25, 4.0.7-5.fc26