Gentoo Logo

Qt: Untrusted library search path


1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200503-01 / qt
Release Date March 01, 2005
Latest Revision May 22, 2006: 02
Impact normal
Exploitable local
Package Vulnerable versions Unaffected versions Architecture(s)
x11-libs/qt < 3.3.4-r2 >= 3.3.4-r2 All supported architectures

Related bugreports: #75181


Qt may load shared libraries from an untrusted, world-writable directory, resulting in the execution of arbitrary code.

2.  Impact Information


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


Tavis Ormandy of the Gentoo Linux Security Audit Team has discovered that Qt searches for shared libraries in an untrusted, world-writable directory.


A local attacker could create a malicious shared object that would be loaded by Qt, resulting in the execution of arbitrary code with the privileges of the Qt application.

3.  Resolution Information


There is no known workaround at this time.


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-r2"

4.  References


Page updated March 01, 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.