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

EPSS: 0.020 (78.8th percentile) — read the EPSS interpretation.

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.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2018-20330?
CVE-2018-20330 is a high-severity vulnerability in Libjpeg-Turbo, classified under Integer Overflow or Wraparound. CVSS score: 8.8/10. Published 2018-12-21.
How severe is CVE-2018-20330?
High severity. CVSS v3 base score is 8.8 out of 10.
Is CVE-2018-20330 known to be exploited?
1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.