#VU54089 Stack-based buffer overflow in libjpeg-turbo


Published: 2021-06-14

Vulnerability identifier: #VU54089

Vulnerability risk: High

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

CVE-ID: CVE-2020-17541

CWE-ID: CWE-121

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 execute arbitrary code on the target system.

The vulnerability exists due to a boundary error in the in the "transform" component in Libjpeg-turb. A remote attacker can create a specially crafted JPEG image, pass it to the affected aplication, trigger a stack-based buffer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

libjpeg-turbo: 1.4.0 - 2.0.3


External links
http://github.com/libjpeg-turbo/libjpeg-turbo/issues/392
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