Name | CVE-2018-20330 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
libjpeg-turbo (PTS) | bullseye | 1:2.0.6-4 | fixed |
| bookworm | 1:2.1.5-2 | fixed |
| sid, trixie | 1:2.1.5-3 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
libjpeg-turbo | source | (unstable) | (not affected) | | | |
Notes
- libjpeg-turbo <not-affected> (Vulnerable code introduced later)
https://github.com/libjpeg-turbo/libjpeg-turbo/issues/304
Fixed by: https://github.com/libjpeg-turbo/libjpeg-turbo/commit/3d9c64e9f8aa1ee954d1d0bb3390fc894bb84da3