Gentoo Logo

Qt: Multiple format string vulnerabilities


1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200708-16 / qt
Release Date August 22, 2007
Latest Revision August 22, 2007: 01
Impact normal
Exploitable remote, local
Package Vulnerable versions Unaffected versions Architecture(s)
x11-libs/qt < 3.3.8-r3 >= 3.3.8-r3 All supported architectures

Related bugreports: #185446


Format string vulnerabilities in Qt 3 may lead to the remote execution of arbitrary code in some Qt applications.

2.  Impact Information


Qt is a cross-platform GUI framework, which is used e.g. by KDE.


Tim Brown of Portcullis Computer Security Ltd and Dirk Mueller of KDE reported multiple format string errors in qWarning() calls in files qtextedit.cpp, qdatatable.cpp, qsqldatabase.cpp, qsqlindex.cpp, qsqlrecord.cpp, qglobal.cpp, and qsvgdevice.cpp.


An attacker could trigger one of the vulnerabilities by causing a Qt application to parse specially crafted text, which may lead to the execution of arbitrary code.

3.  Resolution Information


There is no known workaround at this time.


All Qt 3 users should upgrade to the latest version:

Code Listing 3.1: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose "=x11-libs/qt-3*"

4.  References


Page updated August 22, 2007

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.