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, 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 PackageReleaseVersionStatus
libjpeg-turbo (PTS)buster1:1.5.2-2+deb10u1fixed
bullseye1:2.0.6-4fixed
bookworm1:2.1.5-2fixed
sid, trixie1:2.1.5-3fixed

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