VulnerabilityModified
CVE-2021-46822
This is related to a heap-based buffer overflow in the get_word_rgb_row function in rdppm.c.
MEDIUM 5.5EPSS 1.05%
Does this matter?
Lower severity and a low EPSS score (1.05%). Track it; it rarely justifies an emergency change on its own.
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.
- CVSS 3.1
- 5.5 MEDIUMCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- EPSS
- 1.05% probability · 63th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-787
- Affected
- libjpeg-turbo/libjpeg-turbo
- Source
- cve@mitre.org
References
- https://exchange.xforce.ibmcloud.com/vulnerabilities/221567Third Party Advisory, VDB Entry
- https://github.com/libjpeg-turbo/libjpeg-turbo/commit/f35fd27ec641c42d6b115bfa595e483ec58188d2Patch, Third Party Advisory
- https://exchange.xforce.ibmcloud.com/vulnerabilities/221567Third Party Advisory, VDB Entry
- https://github.com/libjpeg-turbo/libjpeg-turbo/commit/f35fd27ec641c42d6b115bfa595e483ec58188d2Patch, Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.