Gentoo Logo

Qt: Buffer overflow


1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200710-28 / qt
Release Date October 25, 2007
Latest Revision October 25, 2007: 01
Impact normal
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
x11-libs/qt < 3.3.8-r4 >= 3.3.8-r4 All supported architectures

Related bugreports: #192472


An off-by-one vulnerability has been discovered in Qt, possibly resulting in the execution of arbitrary code.

2.  Impact Information


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


Dirk Mueller from the KDE development team discovered a boundary error in file qutfcodec.cpp when processing Unicode strings.


A remote attacker could send a specially crafted Unicode string to a vulnerable Qt application, possibly resulting in the remote execution of arbitrary code with the privileges of the user running the application. Note that the boundary error is present but reported to be not exploitable in 4.x series.

3.  Resolution Information


There is no known workaround at this time.


All Qt 3.x users should upgrade to the latest version:

Code Listing 3.1: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose ">=x11-libs/qt-3.3.8-r4"

4.  References


Page updated October 25, 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.