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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:libjpeg-turbo:libjpeg-turbo:*:*:*:*:*:*:*:*

History

28 Jun 2022, 16:08

Type Values Removed Values Added
References (MISC) https://exchange.xforce.ibmcloud.com/vulnerabilities/221567 - (MISC) https://exchange.xforce.ibmcloud.com/vulnerabilities/221567 - Third Party Advisory, VDB Entry
References (MISC) https://github.com/libjpeg-turbo/libjpeg-turbo/commit/f35fd27ec641c42d6b115bfa595e483ec58188d2 - (MISC) https://github.com/libjpeg-turbo/libjpeg-turbo/commit/f35fd27ec641c42d6b115bfa595e483ec58188d2 - Patch, Third Party Advisory
CVSS v2 : unknown
v3 : unknown
v2 : 4.3
v3 : 5.5
CWE CWE-787
First Time Libjpeg-turbo libjpeg-turbo
Libjpeg-turbo
CPE cpe:2.3:a:libjpeg-turbo:libjpeg-turbo:*:*:*:*:*:*:*:*

18 Jun 2022, 16:15

Type Values Removed Values Added
New CVE

Information

Published : 2022-06-18 16:15

Updated : 2023-12-10 14:22


NVD link : CVE-2021-46822

Mitre link : CVE-2021-46822

CVE.ORG link : CVE-2021-46822


JSON object : View

Products Affected

libjpeg-turbo

  • libjpeg-turbo
CWE
CWE-787

Out-of-bounds Write