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: 9.3 [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]
CVE-ID: N/A
CWE-ID: CWE-787
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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.


Affected software

libjpeg-turbo

Remediation

Install updates from vendor's website.

libjpeg-turbo - update to 2.0.4

External References

Related Security Bulletins