Unscored severity · published Dec 2, 2009
CVE-2009-4147
The _rtld function in the Run-Time Link-Editor (rtld) in libexec/rtld-elf/rtld.c in FreeBSD 7.1 and 8.0 does not clear the (1) LD_LIBMAP, (2) LD_LIBRARY_PATH, (3)…
–
CVSS
3.7%
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 and 8.0 does not clear the (1) LD_LIBMAP, (2) LD_LIBRARY_PATH, (3) LD_LIBMAP_DISABLE, (4) LD_DEBUG, and (5) LD_ELF_HINTS_PATH environment variables, which allows local users to gain privileges by executing a setuid or setguid program with a modified variable containing an untrusted search path that points to a Trojan horse library, different vectors than CVE-2009-4146.
Exploitation
Is it being used?
Exploit prediction (EPSS)3.7% · 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; 8.0 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2009-4147
CVE.org
https://www.cve.org/CVERecord?id=CVE-2009-4147
packetstormsecurity.com
http://packetstormsecurity.com/files/152997/FreeBSD-rtld-execl-Privilege-Escalation.html
Patch
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
Exploit
http://www.securityfocus.com/bid/37154
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)
