Unrated severityNVD Advisory· Published Jun 18, 2022· Updated Aug 4, 2024
CVE-2021-46822
CVE-2021-46822
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
7(expand)+ 1 more
- (no CPE)
- (no CPE)range: <=2.0.90
- osv-coords5 versionspkg:rpm/almalinux/libjpeg-turbopkg:rpm/almalinux/libjpeg-turbo-develpkg:rpm/almalinux/libjpeg-turbo-utilspkg:rpm/almalinux/turbojpegpkg:rpm/almalinux/turbojpeg-devel
< 2.0.90-6.el9_1+ 4 more
- (no CPE)range: < 2.0.90-6.el9_1
- (no CPE)range: < 2.0.90-6.el9_1
- (no CPE)range: < 2.0.90-6.el9_1
- (no CPE)range: < 2.0.90-6.el9_1
- (no CPE)range: < 2.0.90-6.el9_1
Patches
Vulnerability mechanics
References
2- exchange.xforce.ibmcloud.com/vulnerabilities/221567mitrex_refsource_MISC
- github.com/libjpeg-turbo/libjpeg-turbo/commit/f35fd27ec641c42d6b115bfa595e483ec58188d2mitrex_refsource_MISC
News mentions
0No linked articles in our index yet.