Buffer overflow in Libjpeg-Turbo
CVE-2021-46822
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS: 0.011 (62.9th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 63rd percentile — 62.9% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.010 · newest: 0.011 · change: +0.000
Affected products
Weakness classification (CWE)
Public proof-of-concept exploits
References
- github.com/libjpeg-turbo/libjpeg-turbo/commit/f35fd27ec641c42d6b115bfa595e483ec… (Patch, Third Party Advisory)
- exchange.xforce.ibmcloud.com/vulnerabilities/221567 (VDB Entry, Third Party Advisory)
Frequently asked questions
- What is CVE-2021-46822?
- CVE-2021-46822 is a medium-severity vulnerability in Libjpeg-Turbo, classified under Out-of-bounds Write. CVSS score: 5.5/10. Published 2022-06-18.
- How severe is CVE-2021-46822?
- Medium severity. CVSS v3 base score is 5.5 out of 10.
- Is CVE-2021-46822 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.