Gentoo Logo

imlib: Buffer overflows in image decoding


1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200412-03 / imlib
Release Date December 06, 2004
Latest Revision December 06, 2004: 01
Impact normal
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
media-libs/imlib <= 1.9.14-r2 >= 1.9.14-r3 All supported architectures

Related bugreports: #72681


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

2.  Impact Information


imlib is an advanced replacement library for image manipulation libraries like libXpm. It is called by numerous programs, including gkrellm and several window managers, to help in displaying images.


Pavel Kankovsky discovered that several overflows found in the libXpm library (see GLSA 200409-34) also applied to imlib. He also fixed a number of other potential flaws.


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

3.  Resolution Information


There is no known workaround at this time.


All imlib users should upgrade to the latest version:

Code Listing 3.1: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose ">=media-libs/imlib-1.9.14-r3"

4.  References


Page updated December 06, 2004

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.