🛡️ CVE-2021-46822 on Debian — libjpeg-turbo
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.
Distribution advisory
This page covers CVE-2021-46822 as tracked by Debian, for the package libjpeg-turbo. The fix is available in version 1:2.1.1-1; earlier versions remain affected.
How this vulnerability can be exploited
This issue can be reached with local access to the system, attack complexity is low, an attacker needs no privileges on the target. A user must be tricked into taking some action. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality none, integrity none, availability high.
Affected software
DEBIAN-CVE-2021-46822 is recorded against 1 package.
- libjpeg-turbo (fixed in 1:2.1.1-1)
Timeline and source
Published on 18 June 2022 and last revised on 4 August 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.
References
CVE-2021-46822 on other distributions
Each distribution ships its own build and its own fixed version. Pick the one you run:
Details
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| libjpeg-turbo | — | 1:2.1.1-1 |
References
Similar Threats
- Unknown CGA-34c5-qwrj-fq2c
- Unknown ALSA-2025:7540
- Unknown CLSA-2025-1744631931
- Unknown openSUSE-SU-2024:10357-1
- Unknown openSUSE-SU-2024:10952-1
Free Vulnerability Check
Is your site affected by DEBIAN-CVE-2021-46822?
BotEraser helps you identify potentially vulnerable plugins and themes by checking your installation against DEBIAN-CVE-2021-46822 and other known CVE records.
Scan My Site Free →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.