Out-of-bounds write in LibTIFF - CVE-2017-11335
Published: May 15, 2018
Vulnerability identifier: #VU12657
CSH Severity: High
CVSS v4: 8.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2017-11335
CWE-ID: CWE-787
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a remote attacker to cause DoS condition or execute arbitrary code on the target system.
The weakness exists in the ZIPDecode function in tif_zip.c in tools/tiff2pdf.c due to heap-based buffer overflow. A remote attacker can trick the victim into opening a specially crafted PlanarConfig=Contig image, trigger a more than one hundred bytes out-of-bounds write and cause the service to crash or execute arbitrary code.
Successful exploitation of the vulnerability may result in system compromise.
The weakness exists in the ZIPDecode function in tif_zip.c in tools/tiff2pdf.c due to heap-based buffer overflow. A remote attacker can trick the victim into opening a specially crafted PlanarConfig=Contig image, trigger a more than one hundred bytes out-of-bounds write and cause the service to crash or execute arbitrary code.
Successful exploitation of the vulnerability may result in system compromise.
Affected software
LibTIFF
Debian Linux
tiff3 (Debian package)
tiff (Debian package)
Debian Linux
tiff3 (Debian package)
tiff (Debian package)
How to mitigate CVE-2017-11335
Install update from vendor's website.
tiff3 (Debian package) - update to 3.9.6-11+deb7u8
tiff (Debian package) - addressed in versions 4.0.2-6+deb7u16, 4.0.3-12.3+deb8u5, 4.0.8-2+deb9u2
tiff (Debian package) - addressed in versions 4.0.2-6+deb7u16, 4.0.3-12.3+deb8u5, 4.0.8-2+deb9u2