Out-of-bounds write in libjpeg-turbo - CVE-2021-46822

 

Out-of-bounds write in libjpeg-turbo - CVE-2021-46822

Published: September 22, 2022


Vulnerability identifier: #VU67590
CSH Severity: High
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber
CVE-ID: CVE-2021-46822
CWE-ID: CWE-787
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: The libjpeg-turbo Project
Affected software:
libjpeg-turbo

Detailed vulnerability description

The vulnerability allows a remote attacker to compromise vulnerable system.

The vulnerability exists due to a boundary error when processing images within the  get_word_rgb_row() function in rdppm.c. A remote attacker can pass a specially crafted file to the affected software, trigger an out-of-bounds write and execute arbitrary code on the target system.


How to mitigate CVE-2021-46822

Install updates from vendor's website.

Sources