cbcvebase.
CVE-2021-46822
published 2022-06-18

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…

PriorityP420medium5.5CVSS 3.1
AVLACLPRNUIRSUCNINAH
EPSS
1.01%
59.0th percentile
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.

Affected

8 ranges
VendorProductVersion rangeFixed in
debianlibjpeg-turbo< libjpeg-turbo 1:2.1.1-1 (bookworm)libjpeg-turbo 1:2.1.1-1 (bookworm)
libjpeg-turbolibjpeg-turbo<= 2.0.90
libjpeg-turbolibjpeg-turbo>= 0 < 1:2.1.1-11:2.1.1-1
libjpeg-turbolibjpeg-turbo>= 0 < 1:2.1.1-11:2.1.1-1
libjpeg-turbolibjpeg-turbo>= 0 < 1:2.1.1-11:2.1.1-1
libjpeg-turbolibjpeg-turbo>= 0 < 1.5.2-0ubuntu5.18.04.61.5.2-0ubuntu5.18.04.6
libjpeg-turbolibjpeg-turbo>= 0 < 2.0.3-0ubuntu1.20.04.32.0.3-0ubuntu1.20.04.3
msrccm1_libjpeg-turbo_2.1.2-1_on_cbl_mariner_1.0

CVSS provenance

nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
nvdv2.04.3MEDIUMAV:N/AC:M/Au:N/C:N/I:N/A:P
osv7.5HIGH
vendor_ubuntu7.5HIGH
vendor_debian5.5MEDIUM
vendor_msrc5.5MEDIUM
vendor_redhat5.5MEDIUM
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.