Gentoo Logo

Qt: Image loader overflows


1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200408-20 / Qt
Release Date August 22, 2004
Latest Revision May 22, 2006: 02
Impact normal
Exploitable local
Package Vulnerable versions Unaffected versions Architecture(s)
x11-libs/qt <= 3.3.2 >= 3.3.3 All supported architectures

Related bugreports: #60855


There are several bugs in Qt's image-handling code which could lead to crashes or arbitrary code execution.

2.  Impact Information


Qt is a cross-platform GUI toolkit used by KDE.


There are several unspecified bugs in the QImage class which may cause crashes or allow execution of arbitrary code as the user running the Qt application. These bugs affect the PNG, XPM, BMP, GIF and JPEG image types.


An attacker may exploit these bugs by causing a user to open a carefully-constructed image file in any one of these formats. This may be accomplished through e-mail attachments (if the user uses KMail), or by simply placing a malformed image on a website and then convicing the user to load the site in a Qt-based browser (such as Konqueror).

3.  Resolution Information


There is no known workaround at this time. All users are encouraged to upgrade to the latest available version of Qt.


All Qt users should upgrade to the latest version:

Code Listing 3.1: Resolution

# emerge sync

# emerge -pv ">=x11-libs/qt-3.3.3"
# emerge ">=x11-libs/qt-3.3.3"

4.  References


Page updated August 22, 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.