Heap-based buffer overflow in libjpeg-turbo - CVE-2012-2806
Published: August 13, 2012 / Updated: November 18, 2020
Vulnerability details
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.
Affected software
Gentoo Linux
Dynamic System Analysis (DSA) Preboot
Flex System Chassis Management Module (CMM)
How to mitigate CVE-2012-2806
Dynamic System Analysis (DSA) Preboot - update to dsyte2z-9.65
Flex System Chassis Management Module (CMM) - update to 2pet16d-2.5.13d
External References
- 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
- 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