libjpeg-turbo: heap-based buffer overflow in tjLoadImage
Published Dec 21, 2018
8.8
HIGHCVSS 3.0
EPSS 2.01%
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.
Affected products
No data.
- 2.0.1
No data.
Red Hat Enterprise Linux 6
libjpeg-turbo
Not affected
Red Hat Enterprise Linux 7
libjpeg-turbo
Not affected
Red Hat Enterprise Linux 8
libjpeg-turbo
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 6 | libjpeg-turbo | Not affected | n/a |
| Red Hat Enterprise Linux 7 | libjpeg-turbo | Not affected | n/a |
| Red Hat Enterprise Linux 8 | libjpeg-turbo | Not affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
This issue did not affect the versions of libjpeg-turbo as shipped with Red Hat Enterprise Linux 6 and 7.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
1 other source (Red Hat) ▾
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
AV:N/AC:M/Au:N/C:P/I:P/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v5
Percentile over time
- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v5
Table of values (13 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 2.01% (0.02006) | 80.10th | v5 (v2026.06.15) |
| Jun 15, 2026 | 2.01% (0.02006) | 78.20th | v5 (v2026.06.15) |
| Jul 20, 2024 | 0.30% (0.00304) | 70.01th | v3 (v2023.03.01) |
| Feb 8, 2024 | 0.30% (0.00304) | 68.89th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.30% (0.00304) | 64.95th | v3 (v2023.03.01) |
| Mar 6, 2023 | 0.89% (0.00885) | 27.89th | v2 (v2022.01.01) |
| Sep 10, 2022 | 0.89% (0.00885) | 26.24th | v2 (v2022.01.01) |
| Apr 1, 2022 | 0.89% (0.00885) | 24.24th | v2 (v2022.01.01) |
| Feb 4, 2022 | 0.89% (0.00885) | 10.50th | v2 (v2022.01.01) |
| Feb 3, 2022 | 0.62% (0.00624) | 17.80th | v1 |
| Jan 6, 2022 | 0.62% (0.00624) | 17.24th | v1 |
| Sep 1, 2021 | 0.62% (0.00624) | 45.04th | v1 |
| Apr 14, 2021 | 0.62% (0.00624) | 0.00th | v1 |
References (6)
- https://access.redhat.com/security/cve/CVE-2018-20330 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1665223 Issue Tracking
- https://github.com/libjpeg-turbo/libjpeg-turbo/issues/304 x_refsource_MISCPatchThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2018-20330
- https://usn.ubuntu.com/4190-1/ vendor-advisoryx_refsource_UBUNTU
- https://www.cve.org/CVERecord?id=CVE-2018-20330
| Link | Providers | Tags |
|---|---|---|
| https://access.redhat.com/security/cve/CVE-2018-20330 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1665223 | Issue Tracking | |
| https://github.com/libjpeg-turbo/libjpeg-turbo/issues/304 | x_refsource_MISCPatchThird Party Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2018-20330 | ||
| https://usn.ubuntu.com/4190-1/ | vendor-advisoryx_refsource_UBUNTU | |
| https://www.cve.org/CVERecord?id=CVE-2018-20330 |
Change history (0)
No recorded changes yet.