CVE-2021-46822

EUVD-2021-33478
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.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
5.5 MEDIUM
LOCAL
LOW
NONE
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Base Score
CVSS 3.x
EPSS Score
Percentile: 34%
Affected Products (NVD)
VendorProductVersion
libjpeg-turbolibjpeg-turbo
1.5.3 <
𝑥
≤ 2.0.90
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
libjpeg-turbo
bookworm
1:2.1.5-2
fixed
bullseye
no-dsa
buster
no-dsa
sid
1:2.1.5-3
fixed
trixie
1:2.1.5-3
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
libjpeg-turbo
bionic
not-affected
focal
Fixed 2.0.3-0ubuntu1.20.04.3
released
impish
ignored
jammy
not-affected
kinetic
not-affected
trusty
not-affected
xenial
not-affected