CVE-2018-20330Integer Overflow or Wraparound in Libjpeg-turbo

Severity
8.8HIGHNVD
OSV9.8OSV6.5
EPSS
0.3%
top 43.79%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedDec 21
Latest updateMay 6

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.

CVSS vector

CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HExploitability: 2.8 | Impact: 5.9

Affected Packages5 packages

Alpinelibjpeg-turbo/libjpeg-turbo< 2.0.2-r0+13
Ubuntulibjpeg-turbo/libjpeg-turbo< 1.4.2-0ubuntu3.3+1
Ubuntufasterxml/jackson-databind< 2.4.2-3ubuntu0.1~esm2

Patches

🔴Vulnerability Details

4
GHSA
GHSA-4qq8-w9wg-4qw8: The tjLoadImage function in libjpeg-turbo 22022-05-13
OSV
jackson-databind vulnerabilities2021-03-15
OSV
libjpeg-turbo vulnerabilities2019-11-13
OSV
CVE-2018-20330: The tjLoadImage function in libjpeg-turbo 22018-12-21

📋Vendor Advisories

3
Ubuntu
libjpeg-turbo vulnerabilities2019-11-13
Red Hat
libjpeg-turbo: heap-based buffer overflow in tjLoadImage2018-11-25
Debian
CVE-2018-20330: libjpeg-turbo - The tjLoadImage function in libjpeg-turbo 2.0.1 has an integer overflow with a r...2018

📄Research Papers

2
arXiv
Directed Greybox Fuzzing via Large Language Model2025-05-06
arXiv
Dissecting contact tracing apps in the Android platform2021-05-21

💬Community

4
Bugzilla
CVE-2018-20330 mingw-libjpeg-turbo: libjpeg-turbo: heap-based buffer overflow in tjLoadImage [epel-7]2019-01-10
Bugzilla
CVE-2018-20330 mingw-libjpeg-turbo: libjpeg-turbo: heap-based buffer overflow in tjLoadImage [fedora-all]2019-01-10
Bugzilla
CVE-2018-20330 libjpeg-turbo: heap-based buffer overflow in tjLoadImage2019-01-10
Bugzilla
CVE-2018-20330 libjpeg-turbo: heap-based buffer overflow in tjLoadImage [fedora-all]2019-01-10