Qt: Image loader overflows
Gentoo Linux Security Advisory
||GLSA 200408-20 / Qt
||August 22, 2004
||May 22, 2006: 02
All supported architectures
There are several bugs in Qt's image-handling code which could lead to
crashes or arbitrary code execution.
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
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).
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"