Heap-based buffer overflow in libjpeg-turbo - CVE-2018-20330
Published: January 13, 2020
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to a boundary error within the tjLoadImage() function in libjpeg-turbo 2.0.1. A remote attacker can trigger a 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
libjpeg-turbo (Ubuntu package)
libjpeg-turbo (Alpine package)
mingw-libjpeg-turbo
libjpeg-turbo
Fedora
How to mitigate CVE-2018-20330
libjpeg-turbo (Ubuntu package) - addressed in versions 1.4.2-0ubuntu3.3, 1.5.2-0ubuntu5.18.04.3, 2.0.1-0ubuntu2.2
libjpeg-turbo (Alpine package) - update to 2.0.4-r0
mingw-libjpeg-turbo - update to 2.0.0-2.fc29
libjpeg-turbo - update to 2.0.0-3.fc29