CVE-2021-46822

libjpeg-turbo: heap buffer overflow in get_word_rgb_row() in rdppm.c

Published Jun 18, 2022 CVSS 3.1 · 5.5 Medium EPSS 1.1% KEV · Not listed
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

No solution or workaround provided in the CVE record

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.

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 4, 2024, 5:17 AM
Reserved
Jun 18, 2022, 12:00 AM
Status
Modified
Published
Jun 18, 2022, 4:15 PM
Modified
Jun 17, 2026, 4:15 AM
Severity
Moderate
Public date
Apr 7, 2021, 12:00 AM