Heap-based buffer overflow in libjpeg-turbo - CVE-2012-2806

 

Heap-based buffer overflow in libjpeg-turbo - CVE-2012-2806

Published: August 13, 2012 / Updated: November 18, 2020


Vulnerability identifier: #VU43734
CSH Severity: Medium
CVSS v4: 6.9 [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]
CVE-ID: CVE-2012-2806
CWE-ID: CWE-122
Exploitation vector: Remote access
Exploit availability: No public exploit available

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

libjpeg-turbo
Gentoo Linux
Dynamic System Analysis (DSA) Preboot
Flex System Chassis Management Module (CMM)

How to mitigate CVE-2012-2806

Install update from vendor's website.

libjpeg-turbo - update to 1.2.1
Dynamic System Analysis (DSA) Preboot - update to dsyte2z-9.65
Flex System Chassis Management Module (CMM) - update to 2pet16d-2.5.13d

External References

Related Security Bulletins