Qt: Image loader overflows — GLSA 200408-20

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

Affected Packages

x11-libs/qt on all architectures
Affected versions <= 3.3.2
Unaffected versions >= 3.3.3

Background

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

Description

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.

Impact

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).

Workaround

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

Resolution

All Qt users should upgrade to the latest version:

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

References

Release Date
August 22, 2004

Latest Revision
May 22, 2006: 02

Severity
normal

Exploitable
local

Bugzilla entries