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
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

CVSSv4.0: 2.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:U/U:Green]

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

https://libjpeg-turbo.svn.sourceforge.net/viewvc/libjpeg-turbo?view=revision&revision=830
https://osvdb.org/84040
https://secunia.com/advisories/49883
https://secunia.com/advisories/50753
https://security.gentoo.org/glsa/glsa-201209-13.xml
https://www.mandriva.com/security/advisories?name=MDVSA-2012:121
https://www.openwall.com/lists/oss-security/2012/07/17/3
https://www.securityfocus.com/bid/54480
https://bugzilla.mozilla.org/show_bug.cgi?id=759802
https://bugzilla.redhat.com/show_bug.cgi?id=826849
https://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###