Out-of-bounds write in LibTIFF - CVE-2016-3945

 

Out-of-bounds write in LibTIFF - CVE-2016-3945

Published: July 1, 2016 / Updated: May 15, 2018


Vulnerability identifier: #VU3803
CSH Severity: High
CVSS v4.0: 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/E:U/U:Amber
CVE-ID: CVE-2016-3945
CWE-ID: CWE-787
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: LibTIFF
Affected software:
LibTIFF

Detailed vulnerability description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The weakness exists in the (1) cvt_by_strip and (2) cvt_by_tile functions in the tiff2rgba tool due to integer overflow when -b mode is enabled. A remote attacker can trick the victim into opening a specially crafted TIFF image, trigger out-of-bounds write and cause the service to crash or execute arbitrary code.

Successful exploitation of the vulnerability may result in system compromise.

How to mitigate CVE-2016-3945

Install update from vendor's website.

Sources