Integer Overflow and Heap-Based Buffer Overflow in libjpeg-turbo 2.0.1's tjLoadImage Function

Integer Overflow and Heap-Based Buffer Overflow in libjpeg-turbo 2.0.1's tjLoadImage Function

CVE-2018-20330 · MEDIUM Severity

AV:N/AC:M/AU:N/C:P/I:P/A:P

The tjLoadImage function in libjpeg-turbo 2.0.1 has an integer overflow with a resultant heap-based buffer overflow via a BMP image because multiplication of pitch and height is mishandled, as demonstrated by tjbench.

Learn more about our Web Application Penetration Testing UK.