Description
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.
References (2)
Core 2
Core References
Patch, Third Party Advisory x_refsource_misc
https://github.com/libjpeg-turbo/libjpeg-turbo/issues/304
Vendor Advisory vendor-advisory
x_refsource_ubuntu
https://usn.ubuntu.com/4190-1/
Scores
CVSS v3
8.8
EPSS
0.0201
EPSS Percentile
78.3%
Attack Vector
NETWORK
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Details
CWE
CWE-190
CWE-787
Status
published
Products (1)
libjpeg-turbo/libjpeg-turbo
2.0.1
Published
Dec 21, 2018
Tracked Since
Feb 18, 2026