The PPM reader in libjpeg-turbo through 2.0.90 mishandles...
Moderate severity
Unreviewed
Published
Jun 19, 2022
to the GitHub Advisory Database
•
Updated Jan 27, 2023
Description
Published by the National Vulnerability Database
Jun 18, 2022
Published to the GitHub Advisory Database
Jun 19, 2022
Last updated
Jan 27, 2023
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.
References