Buffer underflow in LibTIFF - CVE-2008-2327

 

Buffer underflow in LibTIFF - CVE-2008-2327

Published: June 25, 2020


Vulnerability identifier: #VU29281
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-2008-2327
CWE-ID: CWE-119
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 vulnerability exists due to a boundary error in the LZWDecode(),  LZWDecodeCompat(), and  LZWDecodeVector() functions in tif_lzw.c in the LZW decoder in LibTIFF when processing TIFF files. A remote attacker can create a specially crafted TIFF image, trick the victim into opening it, trigger memory corruption and execute arbitrary code on the target system.

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


Affected software

LibTIFF
Gentoo Linux
tiff (Alpine package)

How to mitigate CVE-2008-2327

Install update from vendor's website.

LibTIFF - update to 3.9.0
tiff (Alpine package) - addressed in versions 3.8.2-r3, 3.9.5-r0

External References

Related Security Bulletins