CVE-2021-46822
Last modified
CVE-2021-46822 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. 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.. EPSS estimates a 1.00% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Libjpeg-Turbo | Libjpeg-Turbo | > 1.5.3, <= 2.0.90 |
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
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-46822?
How severe is CVE-2021-46822?
How do I fix CVE-2021-46822?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-46814The video framework has an out-of-bounds memory read/write v…7.5
- CVE-2021-46815Rejected reason: DO NOT USE THIS CANDIDATE NUMBER. ConsultID…
- CVE-2021-46816Adobe Premiere Pro version 15.4 (and earlier) are affected b…7.8
- CVE-2021-46817Adobe Media Encoder version 15.4 (and earlier) are affected …7.8
- CVE-2021-46818Adobe Media Encoder version 15.4 (and earlier) are affected …7.8
- CVE-2021-46820Arbitrary File Deletion vulnerability in XOS-Shop xos_shop_s…8.1
- CVE-2021-46823python-ldap before 3.4.0 is vulnerable to a denial of servic…6.5
- CVE-2021-46824Cross Site Scripting (XSS) vulnerability in sourcecodester S…5.4
- CVE-2021-46825Symantec Advanced Secure Gateway (ASG) and ProxySG are susce…9.1
- CVE-2021-46827An issue was discovered in Oxygen XML WebHelp before 22.1 bu…6.1
- CVE-2021-46828In libtirpc before 1.3.3rc1, remote attackers could exhaust …7.5
- CVE-2021-46829GNOME GdkPixbuf (aka GDK-PixBuf) before 2.42.8 allows a heap…7.8
Are you affected by CVE-2021-46822?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
