Out-of-bounds write in libjpeg-turbo - #VU23852

 

Out-of-bounds write in libjpeg-turbo - #VU23852

Published: December 31, 2019


Vulnerability identifier: #VU23852
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: N/A
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 within tjDecompressToYUV2() and tjDecompressToYUVPlanes() functions when attempting to decompress grayscale JPEG images that were compressed with a sampling factor other than 1. A remote attacker can create a specially crafted JPEG file, pass it to the affected application, trigger out-of-bounds write and execute arbitrary code on the target system.


Remediation

Install updates from vendor's website.

Sources