CVE-2018-20330 Integer overflow in n/a
An integer overflow in libjpeg-turbo's tjLoadImage function allows heap-based buffer overflows via malicious BMP images, potentially leading to code execution or crashes.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2018-20330?
CVE-2018-20330 is a high-severity vulnerability in n/a, published on 21 Dec 2018. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official 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.
Which versions are affected by CVE-2018-20330?
It affects 1 product.
Products include Libjpeg-Turbo Libjpeg-Turbo.
How do I fix CVE-2018-20330?
Upgrade to a fixed version.
Is CVE-2018-20330 being exploited?
There is no known exploitation of CVE-2018-20330 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as ALPINE-CVE-2018-20330, CLEANSTART-2026-CV08695, GHSA-4qq8-w9wg-4qw8, JLSEC-2025-178.