All vulnerabilities

Servers and applications

CVE-2011-1658

ld.so in the GNU C Library (aka glibc or libc6) 2.13 and earlier expands the $ORIGIN dynamic string token when RPATH is composed entirely of this token, which might allow local users to gain privileges by creating a hard link in an arbitrary directory to a (1) setuid or (2) setgid program with this RPATH value, and then executing the program with a crafted value for the LD_PRELOAD environment…

Severity
Low 3.7
Published
8 Apr 2011
Last changed
16 Jun 2026
Added to UpHeron
1 Nov 2026
Exploit chance
0.3% in the next 30 daysHigher than 24% of CVEs. EPSS by FIRST, 12 Nov 2026
Weakness
CWE-264
Attack
Needs local access · Only under certain conditions · No login needed
Attacker can
Read some data · Change some data · Slow it down
CVSS vector
AV:L/AC:H/Au:N/C:P/I:P/A:P
Sources
NVD

Description

ld.so in the GNU C Library (aka glibc or libc6) 2.13 and earlier expands the $ORIGIN dynamic string token when RPATH is composed entirely of this token, which might allow local users to gain privileges by creating a hard link in an arbitrary directory to a (1) setuid or (2) setgid program with this RPATH value, and then executing the program with a crafted value for the LD_PRELOAD environment variable, a different vulnerability than CVE-2010-3847 and CVE-2011-0536. NOTE: it is not expected that any standard operating-system distribution would ship an applicable setuid or setgid program.

From NVD.

Affected software

SoftwareAffected versions
GNU C LibraryServers and applications · cpe:a:gnu:glibc
  • Version 2.12.2
  • Version 2.12.1
  • Version 2.12.0
  • Version 2.11.3
All 58 release lines
  • Every version up to 2.13
  • Version 1.00
  • Version 1.01
  • Version 1.02
  • Version 1.03
  • Version 1.04
  • Version 1.05
  • Version 1.06
  • Version 1.07
  • Version 1.08
  • Version 1.09
  • Version 1.09.1
  • Version 2.0
  • Version 2.0.1
  • Version 2.0.2
  • Version 2.0.3
  • Version 2.0.4
  • Version 2.0.5
  • Version 2.0.6
  • Version 2.1
  • Version 2.1.1
  • Version 2.1.1.6
  • Version 2.1.2
  • Version 2.1.3
  • Version 2.1.3.10
  • Version 2.1.9
  • Version 2.2
  • Version 2.2.1
  • Version 2.2.2
  • Version 2.2.3
  • Version 2.2.4
  • Version 2.2.5
  • Version 2.3
  • Version 2.3.1
  • Version 2.3.2
  • Version 2.3.3
  • Version 2.3.4
  • Version 2.3.5
  • Version 2.3.6
  • Version 2.3.10
  • Version 2.4
  • Version 2.5
  • Version 2.5.1
  • Version 2.6
  • Version 2.6.1
  • Version 2.7
  • Version 2.8
  • Version 2.9
  • Version 2.10
  • Version 2.10.1
  • Version 2.10.2
  • Version 2.11
  • Version 2.11.1
  • Version 2.11.2
  • Version 2.11.3
  • Version 2.12.0
  • Version 2.12.1
  • Version 2.12.2

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2011-1658
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2011-1658