High severity · published Dec 21, 2018
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…
8.8
CVSS
2%
EPSS
No
On KEV
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:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
Required
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)2.0% · higher than 81% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
LI
Libjpeg-turbo · Libjpeg-turbo
2.0.1 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2018-20330
CVE.org
https://www.cve.org/CVERecord?id=CVE-2018-20330
Patch
https://github.com/libjpeg-turbo/libjpeg-turbo/issues/304
usn.ubuntu.com
https://usn.ubuntu.com/4190-1/
More from Libjpeg-turbo
8.8
CVE-2020-17541
Libjpeg-turbo all version have a stack-based buffer overflow in the "transform" component
8.8
CVE-2016-3616
The cjpeg utility in libjpeg allows remote attackers to cause a denial of service (NULL pointer dereference and application crash) or execute arbitrary code via a crafted file
8.1
CVE-2020-13790
libjpeg-turbo 2.0.4, and mozjpeg 4.0.0, has a heap-based buffer over-read in get_rgb_row() in rdppm.c via a malformed PPM input file
7.1
CVE-2021-29390
libjpeg-turbo version 2.0.90 has a heap-based buffer over-read (2 bytes) in decompress_smooth_data in jdcoefct.c
6.5
CVE-2023-2804
A heap-based buffer overflow issue was discovered in libjpeg-turbo in h2v2_merged_upsample_internal() function of jdmrgext.c file
