Name | CVE-2021-46822 |
Description | The PPM reader in libjpeg-turbo through 2.0.90 mishandles use of tjLoadImage for loading a 16-bit binary PPM file into a grayscale buffer and loading a 16-bit binary PGM file into an RGB buffer. This is related to a heap-based buffer overflow in the get_word_rgb_row function in rdppm.c. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | ELA-639-1 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
libjpeg-turbo (PTS) | jessie, jessie (lts) | 1:1.3.1-12+deb8u3 | vulnerable |
| stretch (security) | 1:1.5.1-2+deb9u2 | vulnerable |
| stretch (lts), stretch | 1:1.5.1-2+deb9u3 | fixed |
| buster | 1:1.5.2-2+deb10u1 | vulnerable |
| bullseye | 1:2.0.6-4 | vulnerable |
| 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.
Notes
[bullseye] - libjpeg-turbo <no-dsa> (Minor issue)
[buster] - libjpeg-turbo <no-dsa> (Minor issue)
https://github.com/libjpeg-turbo/libjpeg-turbo/commit/f35fd27ec641c42d6b115bfa595e483ec58188d2 (2.1.0)
[jessie] - libjpeg-turbo <no-dsa> (Minor issue)