Unscored severity · published Dec 2, 2009
CVE-2009-4146
The _rtld function in the Run-Time Link-Editor (rtld) in libexec/rtld-elf/rtld.c in FreeBSD 7.1, 7.2, and 8.0 does not clear the LD_PRELOAD environment variable, which allows…
–
CVSS
3.9%
EPSS
No
On KEV
Description
The _rtld function in the Run-Time Link-Editor (rtld) in libexec/rtld-elf/rtld.c in FreeBSD 7.1, 7.2, and 8.0 does not clear the LD_PRELOAD environment variable, which allows local users to gain privileges by executing a setuid or setguid program with a modified LD_PRELOAD variable containing an untrusted search path that points to a Trojan horse library, a different vector than CVE-2009-4147.
Exploitation
Is it being used?
Exploit prediction (EPSS)3.9% · higher than 90% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
FR
Freebsd · Freebsd
7.1; 7.2; 8.0 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2009-4146
CVE.org
https://www.cve.org/CVERecord?id=CVE-2009-4146
packetstormsecurity.com
http://packetstormsecurity.com/files/152997/FreeBSD-rtld-execl-Privilege-Escalation.html
Exploit
http://people.freebsd.org/~cperciva/rtld.patch
Vendor Advisory
http://secunia.com/advisories/37517
www.securityfocus.com
http://www.securityfocus.com/archive/1/508142/100/0/threaded
www.securityfocus.com
http://www.securityfocus.com/archive/1/508146/100/0/threaded
www.securityfocus.com
http://www.securityfocus.com/archive/1/508168/100/0/threaded
More from Freebsd
10.0
CVE-2024-43102
umtx Kernel panic or Use-After-Free
10.0
CVE-2018-17160
In FreeBSD before 11.2-STABLE(r341486) and 11.2-RELEASE-p6, insufficient bounds checking in one of the device models provided by bhyve can permit a guest operating system to…
9.8
CVE-2026-101306
Multiple jail filesystem root escapes
9.8
CVE-2026-58082
Stack based buffer overflow in iconv(3)
9.8
CVE-2026-58081
Heap based buffer overflow in iconv(3)
