Gentoo Logo

libjpeg-turbo: User-assisted execution of arbitrary code


1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 201209-13 / libjpeg-turbo
Release Date September 26, 2012
Latest Revision September 26, 2012: 1
Impact normal
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
media-libs/libjpeg-turbo < 1.2.1 >= 1.2.1 All supported architectures

Related bugreports: #426938


A vulnerability in libjpeg-turbo could result in execution of arbitrary code or Denial of Service.

2.  Impact Information


libjpeg-turbo accelerates JPEG compression and decompression.


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


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.

3.  Resolution Information


There is no known workaround at this time.


All libjpeg-turbo users should upgrade to the latest version:

Code Listing 3.1: Resolution

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

4.  References


Page updated September 26, 2012

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

Copyright 2001-2015 Gentoo Foundation, Inc. Questions, Comments? Contact us.