Gentoo Logo

glibc: Information leak with LD_DEBUG


1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200408-16 / glibc
Release Date August 16, 2004
Latest Revision May 28, 2006: 04
Impact low
Exploitable local
Package Vulnerable versions Unaffected versions Architecture(s)
sys-libs/glibc <= 2.3.2-r10 >= 2.3.2-r11 alpha arm hppa ia64 sparc s390
sys-libs/glibc <= >= x86 ppc
sys-libs/glibc <= >= mips
sys-libs/glibc <= >= AMD64
sys-libs/glibc <= >= ppc64

Related bugreports: #59526


glibc contains an information leak vulnerability allowing the debugging of SUID binaries.

2.  Impact Information


The GNU C library defines various Unix-like "system calls" and other basic facilities needed for a standard POSIX-like application to operate.


Silvio Cesare discovered a potential information leak in glibc. It allows LD_DEBUG on SUID binaries where it should not be allowed. This has various security implications, which may be used to gain confidentional information.


An attacker can gain the list of symbols a SUID application uses and their locations and can then use a trojaned library taking precendence over those symbols to gain information or perform further exploitation.

3.  Resolution Information


There is no known workaround at this time. All users are encouraged to upgrade to the latest available version of glibc.


All glibc users should upgrade to the latest version:

Code Listing 3.1: Resolution

# emerge sync

# emerge -pv your_version
# emerge your_version

4.  References


Page updated August 16, 2004

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.