CVE-2018-20330

NameCVE-2018-20330
DescriptionThe 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
NVD severitymedium (attack range: remote)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libjpeg-turbo (PTS)jessie1:1.3.1-12fixed
jessie (security)1:1.3.1-12+deb8u2fixed
stretch1:1.5.1-2fixed
bullseye, sid, buster1:1.5.2-2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
libjpeg-turbosource(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

Search for package or bug name: Reporting problems