CVE-2018-20330
Published: August 31, 2023Last modified: July 22, 2025
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.
Severity score breakdown
| Parameter | Value |
|---|---|
| Base score | 8.8 |
| Attack Vector | NETWORK |
| Attack complexity | LOW |
| Privileges required | NONE |
| User interaction | REQUIRED |
| Scope | UNCHANGED |
| Confidentiality | HIGH |
| Integrity impact | HIGH |
| Availability impact | HIGH |
| Vector | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Status
| Product | Release | Package | Status |
|---|---|---|---|
| Alpaquita Linux | 23 LTS | libjpeg-turbo | Not affected (2.1.4-r0) |
| Stream | libjpeg-turbo | Not affected (3.0.0-r1) | |
| Hardened Containers | 23 LTS | libjpeg-turbo | Not affected (2.1.4-r0) |
| Stream | libjpeg-turbo | Not affected (3.0.0-r1) |