Out-of-bounds write in LibTIFF - CVE-2017-11335

 

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.

Affected software

LibTIFF
tiff (Debian package)

How to mitigate CVE-2017-11335

Install update from vendor's website.

tiff (Debian package) - update to 4.0.8-2+deb9u2

External References

Related Security Bulletins