GLSA-201209-13 : libjpeg-turbo: User-assisted execution of arbitrary code

Medium Nessus Plugin ID 62342


The remote Gentoo host is missing one or more security-related patches.


The remote host is affected by the vulnerability described in GLSA-201209-13 (libjpeg-turbo: User-assisted execution of arbitrary code)

A vulnerability in the get_sos() function in jdmarker.c could cause a heap-based buffer overflow.
Impact :

A remote attacker could entice a user to open a specially crafted JPEG file in an application linked against libjpeg-turbo, possibly resulting in the remote execution of arbitrary code with the permissions of the user running the application, or Denial of Service.
Workaround :

There is no known workaround at this time.


All libjpeg-turbo users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=media-libs/libjpeg-turbo-1.2.1' Packages which depend on this library may need to be recompiled. Tools such as revdep-rebuild may assist in identifying some of these packages.

See Also

Plugin Details

Severity: Medium

ID: 62342

File Name: gentoo_GLSA-201209-13.nasl

Version: $Revision: 1.6 $

Type: local

Published: 2012/09/27

Modified: 2015/04/13

Dependencies: 12634

Risk Information

Risk Factor: Medium


Base Score: 6.8

Temporal Score: 5.9

Vector: CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:P

Temporal Vector: CVSS2#E:ND/RL:OF/RC:C

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:libjpeg-turbo, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Exploit Available: false

Exploit Ease: No known exploits are available

Patch Publication Date: 2012/09/26

Reference Information

CVE: CVE-2012-2806

BID: 54480

OSVDB: 84040

GLSA: 201209-13