Gentoo Logo

imlib2: Buffer overflows in image decoding


1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200501-19 / imlib2
Release Date January 11, 2005
Latest Revision January 11, 2005: 01
Impact normal
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
media-libs/imlib2 < 1.2.0 >= 1.2.0 All supported architectures

Related bugreports: #77002


Multiple overflows have been found in the imlib2 library image decoding routines, potentially allowing the execution of arbitrary code.

2.  Impact Information


imlib2 is an advanced replacement for image manipulation libraries such as libXpm. It is utilized by numerous programs, including gkrellm and several window managers, to display images.


Pavel Kankovsky discovered that several buffer overflows found in the libXpm library (see GLSA 200409-34) also apply to imlib (see GLSA 200412-03) and imlib2. He also fixed a number of other potential security vulnerabilities.


A remote attacker could entice a user to view a carefully-crafted image file, which would potentially lead to the execution of arbitrary code with the rights of the user viewing the image. This affects any program that utilizes of the imlib2 library.

3.  Resolution Information


There is no known workaround at this time.


All imlib2 users should upgrade to the latest version:

Code Listing 3.1: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose ">=media-libs/imlib2-1.2.0"

4.  References


Page updated January 11, 2005

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.