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.
| Product | Vendor | Version |
|---|---|---|
| n/a | n/a | < 3.2.6 |
| n/a | n/a | < 9688b66d0a5e0eecf44f6286b8d9f7a161264035 |