Lucene search

K
osvGoogleOSV:CVE-2021-46822
HistoryJun 18, 2022 - 4:15 p.m.

CVE-2021-46822

2022-06-1816:15:08
Google
osv.dev
13
libjpeg-turbo
heap-based buffer overflow
ppm reader
16-bit binary files

AI Score

8.8

Confidence

High

EPSS

0.001

Percentile

22.9%

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.