CVE-2012-2806

Publication date 13 August 2012

Last updated 30 May 2025


Ubuntu priority

Cvss 3 Severity Score

8.8 · High

Score breakdown

Heap-based buffer overflow in the get_sos function in jdmarker.c in libjpeg-turbo 1.2.0 allows remote attackers to cause a denial of service (application crash) and possibly execute arbitrary code via a large component count in the header of a JPEG image.

Read the notes from the security team

Status

Package Ubuntu Release Status
libjpeg-turbo 12.04 LTS precise
Not affected
11.10 oneiric
Not affected
11.04 natty Not in release
10.04 LTS lucid Not in release
8.04 LTS hardy Not in release

Notes


sbeattie

this vulnerability was introduced by http://libjpeg-turbo.svn.sourceforge.net/viewvc/libjpeg-turbo?view=revision&revision=740 which is not in oneiric, precise, and quantal's versions. Also, example reproducers from the firefox bug report did not crash the djpeg tool from libjpeg-turbo-tools in those releases.

Patch details

For informational purposes only. We recommend not to cherry-pick updates. How can I get the fixes?

Package Patch details
libjpeg-turbo

Severity score breakdown

Parameter Value
Base score 8.8 · High
Attack vector Network
Attack complexity Low
Privileges required None
User interaction Required
Scope Unchanged
Confidentiality High
Integrity impact High
Availability impact High
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H