VULNERABILITY INTELLIGENCE

CVE-2021-46822

CVSS score5.5 MEDIUM
EPSS probability1.08%
CISA KEVNot currently listed
Published2022-06-18
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Description

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.

Weakness classification

  • nvd@nist.gov: CWE-787

Primary references