CVE-2018-20330: Integer Overflow

Published Dec 21, 2018
·
Updated

Last updated 25 August 2025

Other sources

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.

Launchpad

Affected Software

2 affected componentsFixes available
Libjpeg-turbo Libjpeg-turbo=2.0.1
debian/libjpeg-turbo
1:2.0.6-41:2.1.5-21:2.1.5-4

Event History

Dec 21, 2018
CVE Published
via MITRE·09:00 AM
Data Sourced
via MITRE·09:00 AM
Description
Jan 11, 2024
Data Sourced
via Launchpad·10:58 PM
Description
Feb 20, 2026
Data Sourced
via Ubuntu·05:05 PM
RemedyDescriptionSeverityAffected Software
Data Sourced
via Debian·05:05 PM
DescriptionAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2018-20330?

CVE-2018-20330 is a vulnerability in libjpeg-turbo 2.0.1 that allows an integer overflow leading to a heap-based buffer overflow when processing BMP images.

2

What is the severity of CVE-2018-20330?

CVE-2018-20330 has a severity rating of 8.8, which is classified as high.

3

How does CVE-2018-20330 affect software?

CVE-2018-20330 affects libjpeg-turbo 2.0.1 and potentially other versions as well.

4

What is the recommended remedy for CVE-2018-20330 in debian?

For debian users, the recommended remedy for CVE-2018-20330 is to update to version 1:1.5.2-2+deb10u1, 1:2.0.6-4, or 1:2.1.5-2 of libjpeg-turbo.

5

What is the recommended remedy for CVE-2018-20330 in ubuntu?

For ubuntu users, the recommended remedy for CVE-2018-20330 is to update to version 2.0.1-0ubuntu2.2 (disco) or 2.0.2-0ubuntu1 (eoan) of libjpeg-turbo.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203