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.
Published: 2022-06-18
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

No analysis available yet.

Remediation

No remediation available yet.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
EUVD EUVD EUVD-2021-33478 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.
Ubuntu USN Ubuntu USN USN-5631-1 libjpeg-turbo vulnerabilities
History

No history.

Subscriptions

Libjpeg-turbo Libjpeg-turbo
Redhat Enterprise Linux
cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2024-08-04T05:17:42.633Z

Reserved: 2022-06-18T00:00:00.000Z

Link: CVE-2021-46822

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2022-06-18T16:15:08.110

Modified: 2024-11-21T06:34:45.830

Link: CVE-2021-46822

cve-icon Redhat

Severity : Moderate

Publid Date: 2021-04-07T00:00:00Z

Links: CVE-2021-46822 - Bugzilla

cve-icon OpenCVE Enrichment

No data.

Weaknesses