# CVE-2018-20330

- Priority: **Routine**
- Reason: Not severe (CVSS 8.8, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2018-12-21 · Modified: 2024-08-05
- Aliases: ALPINE-CVE-2018-20330, UBUNTU-CVE-2018-20330
- Record: https://cvemate.com/vulnerability/CVE-2018-20330 · JSON: https://cvemate.com/vulnerability/CVE-2018-20330/json

## Description

```text
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.
```

## Signals

- CVSS: 8.8 high (v3.0, NVD) CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- EPSS: 2.006%, percentile 81.503%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine libjpeg-turbo (Alpine Linux): \< 2.0.2-r0
- ubuntu libjpeg-turbo (Ubuntu): \< 1.3.0-0ubuntu2.1 \| \< 1.4.2-0ubuntu3.1 \| \< 1.5.2-0ubuntu5.18.04.1
- libjpeg-turbo libjpeg-turbo: 2.0.1

## References

- <https://github.com/libjpeg-turbo/libjpeg-turbo/issues/304>
- <https://usn.ubuntu.com/4190-1/>
- <https://security.alpinelinux.org/vuln/CVE-2018-20330>
- <https://ubuntu.com/security/CVE-2018-20330>
- <https://ubuntu.com/security/notices/USN-4190-1>
- <https://www.cve.org/CVERecord?id=CVE-2018-20330>

---

Data as of 2026-12-05T05:21:14.911Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
