Gentoo Logo

JPEG library: Denial of Service


1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200606-11 / jpeg
Release Date June 11, 2006
Latest Revision July 29, 2006: 02
Impact normal
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
media-libs/jpeg < 6b-r7 >= 6b-r7 All supported architectures

Related bugreports: #130889


The JPEG library is vulnerable to a Denial of Service.

2.  Impact Information


The JPEG library is able to load, handle and manipulate images in the JPEG format.


Tavis Ormandy of the Gentoo Linux Auditing Team discovered that the vulnerable JPEG library ebuilds compile JPEG without the --maxmem feature which is not recommended.


By enticing a user to load a specially crafted JPEG image file an attacker could cause a Denial of Service, due to memory exhaustion.

3.  Resolution Information


There is no known workaround at this time.


JPEG users should upgrade to the latest version:

Code Listing 3.1: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose ">=media-libs/jpeg-6b-r7"

4.  References


Page updated June 11, 2006

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.