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
Ubuntu
Fedora
tiff (Alpine package)
mingw-libtiff
Dynamic System Analysis (DSA) Preboot
How to mitigate CVE-2017-5225
Dynamic System Analysis (DSA) Preboot - update to dsyte2z-9.65
mingw-libtiff - update to 4.0.9-1.fc28