Live threats

All CVEs / Libjpeg-turbo

CVE-2021-46822Libjpeg-turbo

Medium 5.5

Priority
33
CVSS 3.1
5.5
EPSS
1.1%
probability of exploitation in 30 days · percentile 65
Auth required
Yes
Published
Jun 18, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-787
Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Libjpeg-turbo.

Affected products (CPE)

VendorProductVersions
libjpeg-turbolibjpeg-turbo> 1.5.3 ≤ 2.0.90

Official sources

References

Links published by the sources. Open them with care.