Buffer overflow in Libjpeg-Turbo
CVE-2018-20330
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.
Vulnerability class: Integer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.020, 81.2th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Libjpeg-Turbo — versions 2.0.1
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (Cyberoiide/fuzzing-android-librairies). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- github.com/libjpeg-turbo/libjpeg-turbo/issues/304 (Patch, Third Party Advisory)
- USN-4190-1 (vendor-advisory)