Gentoo Logo

GTK+ 2, gdk-pixbuf: Multiple image decoding vulnerabilities


1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200409-28 / gtk+
Release Date September 21, 2004
Latest Revision September 21, 2004: 01
Impact normal
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
x11-libs/gtk+ < 2.4.9-r1 >= 2.4.9-r1, < 2.0.0 All supported architectures
media-libs/gdk-pixbuf < 0.22.0-r3 >= 0.22.0-r3 All supported architectures

Related bugreports: #64230


The GdkPixbuf library, which is also included in GTK+ 2, contains several vulnerabilities that could lead to a Denial of Service or the execution of arbitrary code.

2.  Impact Information


GTK+ (GIMP Toolkit +) is a toolkit for creating graphical user interfaces. The GdkPixbuf library provides facilities for image handling. It is available as a standalone library as well as shipped with GTK+ 2.


A vulnerability has been discovered in the BMP image preprocessor (CAN-2004-0753). Furthermore, Chris Evans found a possible integer overflow in the pixbuf_create_from_xpm() function, resulting in a heap overflow (CAN-2004-0782). He also found a potential stack-based buffer overflow in the xpm_extract_color() function (CAN-2004-0783). A possible integer overflow has also been found in the ICO decoder.


With a specially crafted BMP image an attacker could cause an affected application to enter an infinite loop when that image is being processed. Also, by making use of specially crafted XPM or ICO images an attacker could trigger the overflows, which potentially allows the execution of arbitrary code.

3.  Resolution Information


There is no known workaround at this time.


All GTK+ 2 users should upgrade to the latest version:

Code Listing 3.1: Resolution

# emerge sync
# emerge -pv ">=x11-libs/gtk+-2.4.9-r1"
# emerge ">=x11-libs/gtk+-2.4.9-r1"

All GdkPixbuf users should upgrade to the latest version:

Code Listing 3.2: Resolution

# emerge sync
# emerge -pv ">=media-libs/gdk-pixbuf-0.22.0-r3"
# emerge ">=media-libs/gdk-pixbuf-0.22.0-r3"

4.  References


Page updated September 21, 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.