Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2021-46822

5.5 · MEDIUM
Published Jun 18, 2022 libjpeg-turbo CWE-787 EPSS 1.05% (62th pctl)

Overview

CVE-2021-46822 is a medium-severity vulnerability affecting libjpeg-turbo libjpeg-turbo. It was published on June 18, 2022 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. It requires local or adjacent network access to exploit. No authentication or special privileges are required for exploitation.

Technical 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.

Remediation

Check the references section for vendor advisories and patches from libjpeg-turbo. Update libjpeg-turbo to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
libjpeg-turbo libjpeg-turbo 0 Affected

Frequently Asked Questions

What is CVE-2021-46822?

CVE-2021-46822 is a medium-severity vulnerability affecting libjpeg-turbo libjpeg-turbo. It was published on June 18, 2022 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

How severe is CVE-2021-46822?

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. It requires local or adjacent network access to exploit. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2021-46822?

Check the references section for vendor advisories and patches from libjpeg-turbo. Update libjpeg-turbo to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2021-46822?

CyberStrike's AI-powered security agents can automatically detect CVE-2021-46822 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.