Heap-based buffer overflow in LibTIFF - CVE-2016-3991

 

Heap-based buffer overflow in LibTIFF - CVE-2016-3991

Published: September 21, 2016 / Updated: July 28, 2020


Vulnerability identifier: #VU32197
CSH Severity: Medium
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-2016-3991
CWE-ID: CWE-122
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

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

The vulnerability exists due to a boundary error in Heap-based buffer overflow in the loadImage function in the tiffcrop tool in LibTIFF 4.0.6 and earlier. A remote attacker can use a crafted TIFF image with zero tiles. to trigger heap-based buffer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

LibTIFF
tiff (Alpine package)

How to mitigate CVE-2016-3991

Cybersecurity Help is currently unaware of any official solution to address this vulnerability.

tiff (Alpine package) - update to 4.0.6-r2

External References

Related Security Bulletins