Heap-based buffer overflow in LibTIFF - CVE-2017-5225
Published: March 6, 2017 / Updated: March 7, 2017
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to boundary error in "tools/tiffcp.cwhen" processing images. A remote attacker can create an image with specially crafted BitsPerSample value, trigger heap-based buffer overflow and execute arbitrary code on the target system with privileges of the current user.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
Affected software
Gentoo Linux
Debian Linux
Ubuntu
Fedora
tiff (Alpine package)
libtiff4 (Ubuntu package)
libtiff-tools (Ubuntu package)
tiff (Debian package)
mingw-libtiff
Dynamic System Analysis (DSA) Preboot
How to mitigate CVE-2017-5225
libtiff4 (Ubuntu package) - update to 3.9.5-2ubuntu1.11
libtiff-tools (Ubuntu package) - update to 3.9.5-2ubuntu1.11
tiff (Debian package) - addressed in versions 4.0.2-6+deb7u9, 4.0.3-12.3+deb8u3
mingw-libtiff - update to 4.0.9-1.fc28
Dynamic System Analysis (DSA) Preboot - update to dsyte2z-9.65