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

No history.

Information

Published : 2022-06-18 16:15

Updated : 2024-02-28 19:09


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