Gentoo Logo

Qt: Buffer overflow in the included zlib library


1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200509-18 / qt
Release Date September 26, 2005
Latest Revision September 26, 2005: 02
Impact normal
Exploitable local
Package Vulnerable versions Unaffected versions Architecture(s)
x11-libs/qt < 3.3.4-r8 >= 3.3.4-r8 All supported architectures

Related bugreports: #105695


Qt is vulnerable to a buffer overflow which could potentially lead to the execution of arbitrary code.

2.  Impact Information


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


Qt links to a bundled vulnerable version of zlib when emerged with the zlib USE-flag disabled. This may lead to a buffer overflow.


By creating a specially crafted compressed data stream, attackers can overwrite data structures for applications that use Qt, resulting in a Denial of Service or potentially arbitrary code execution.

3.  Resolution Information


Emerge Qt with the zlib USE-flag enabled.


All Qt users should upgrade to the latest version:

Code Listing 3.1: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose ">=x11-libs/qt-3.3.4-r8"

4.  References


Page updated September 26, 2005

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.