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.
Metrics
Affected Vendors & Products
References
History
No history.
MITRE
Status: PUBLISHED
Assigner: mitre
Published: 2022-06-18T15:27:44
Updated: 2024-08-04T05:17:42.633Z
Reserved: 2022-06-18T00:00:00
Link: CVE-2021-46822
Vulnrichment
No data.
NVD
Status : Modified
Published: 2022-06-18T16:15:08.110
Modified: 2024-11-21T06:34:45.830
Link: CVE-2021-46822
Redhat