Heap-based buffer overflow in libjpeg-turbo



| Updated: 2020-11-18
Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2012-2806
CWE-ID CWE-122
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
libjpeg-turbo
Client/Desktop applications / Multimedia software

Vendor The libjpeg-turbo Project

Security Bulletin

This security bulletin contains one medium risk vulnerability.

1) Heap-based buffer overflow

EUVDB-ID: #VU43734

Risk: Medium

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

CVE-ID: CVE-2012-2806

CWE-ID: CWE-122 - Heap-based Buffer Overflow

Exploit availability: No

Description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error in Heap-based buffer overflow in the get_sos function in jdmarker.c in libjpeg-turbo 1.2.0. A remote attacker can use a large component count in the header of a JPEG image. to trigger heap-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 update from vendor's website.

Vulnerable software versions

libjpeg-turbo: 1.2.0

CPE2.3 External links

http://libjpeg-turbo.svn.sourceforge.net/viewvc/libjpeg-turbo?view=revision&revision=830
http://osvdb.org/84040
http://secunia.com/advisories/49883
http://secunia.com/advisories/50753
http://security.gentoo.org/glsa/glsa-201209-13.xml
http://www.mandriva.com/security/advisories?name=MDVSA-2012:121
http://www.openwall.com/lists/oss-security/2012/07/17/3
http://www.securityfocus.com/bid/54480
http://bugzilla.mozilla.org/show_bug.cgi?id=759802
http://bugzilla.redhat.com/show_bug.cgi?id=826849
http://exchange.xforce.ibmcloud.com/vulnerabilities/76952


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.



###SIDEBAR###