Division by zero in LibTIFF - CVE-2017-7598
Published: April 9, 2017 / Updated: July 28, 2020
Vulnerability identifier: #VU32124
CSH Severity: Low
CVSS v4: 8.4 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2017-7598
CWE-ID: CWE-369
Exploitation vector: Local access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a local non-authenticated attacker to execute arbitrary code.
tif_dirread.c in LibTIFF 4.0.7 might allow remote attackers to cause a denial of service (divide-by-zero error and application crash) via a crafted image.
Affected software
LibTIFF
Arch Linux
Gentoo Linux
Debian Linux
Fedora
tiff (Alpine package)
tiff (Debian package)
libtiff
Arch Linux
Gentoo Linux
Debian Linux
Fedora
tiff (Alpine package)
tiff (Debian package)
libtiff
How to mitigate CVE-2017-7598
Install update from vendor's website.
tiff (Alpine package) - update to 4.0.7-r2
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
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