CVE-2021-46822
5.5
MEDIUM
CVSS 3.1
EPSS 0.15%
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.
How to fix CVE-2021-46822
No fixed version has been published yet. Mitigate by removing the affected package or applying upstream guidance from the references below.
- Debian/libjpeg-turbo—no fix listed
Is CVE-2021-46822 being exploited?
Low — EPSS is 0.1%, meaning exploitation activity has not been observed at scale.
Affected packages (1)
- from 0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |