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


Published: 2019-12-31

Vulnerability identifier: #VU23852

Vulnerability risk: High

CVSSv3.1: 8.7 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H/E:U/RL:O/RC:C]

CVE-ID: N/A

CWE-ID: CWE-787

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
libjpeg-turbo
Client/Desktop applications / Multimedia software

Vendor: The libjpeg-turbo Project

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.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

libjpeg-turbo: 2.0.0 - 2.0.3


External links
http://github.com/libjpeg-turbo/libjpeg-turbo/releases/tag/2.0.4


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability