---
cve: "CVE-2021-46822"
severity: "LOW"
cvss: 3.1
epss: "1%"
vendor: "n/a"
kev: false
exploited: false
published: "2022-06-18 16:15:08"
tags: [cve, security, low]
source: tsecurity.de CVE-Dossier
exported: "2026-09-10T23:11:40+02:00"
---

# CVE-2021-46822

> 3.1 LOW · 🧪 PoC

## Beschreibung

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.

## Patch verfügbar (OSV)

- f35fd27ec641c42d6b115bfa595e483ec58188d2 (Commit)

## Referenzen

- <https://github.com/libjpeg-turbo/libjpeg-turbo/commit/f35fd27ec641c42d6b115bfa595e483ec58188d2>
- <https://exchange.xforce.ibmcloud.com/vulnerabilities/221567>

---
_Exportiert aus dem [tsecurity.de CVE-Dossier](https://tsecurity.de/cve?cve=CVE-2021-46822) · Datenquellen: EUVD (ENISA), NVD, OSV, CISA KEV, FIRST EPSS, Exploit-DB, BSI BITS_
