CVE-2021-46822

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
NISTNIST
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
mitreCNA
---
---
CVEADP
---
---
Base Score
CVSS 3.x
EPSS Score
Percentile: 18%
VendorProductVersion
libjpeg-turbolibjpeg-turbo
1.5.3 <
𝑥
≤ 2.0.90
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
libjpeg-turbo
bullseye
no-dsa
buster
no-dsa
bookworm
1:2.1.5-2
fixed
sid
1:2.1.5-3
fixed
trixie
1:2.1.5-3
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
libjpeg-turbo
kinetic
not-affected
jammy
not-affected
impish
ignored
focal
Fixed 2.0.3-0ubuntu1.20.04.3
released
bionic
not-affected
xenial
not-affected
trusty
not-affected