Qt: Buffer overflow in the included zlib library — GLSA 200509-18

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

Affected packages

x11-libs/qt on all architectures
Affected versions < 3.3.4-r8
Unaffected versions >= 3.3.4-r8

Background

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

Description

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

Impact

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.

Workaround

Emerge Qt with the zlib USE-flag enabled.

Resolution

All Qt users should upgrade to the latest version:

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

References

Release date
September 26, 2005

Latest revision
September 26, 2005: 02

Severity
normal

Exploitable
local

Bugzilla entries