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: 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-2016-3945
CWE-ID: CWE-787
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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.

Affected software

LibTIFF
tiff (Alpine package)
Ubuntu

How to mitigate CVE-2016-3945

Install update from vendor's website.

tiff (Alpine package) - update to 4.0.6-r2

External References

Related Security Bulletins