CVE-2009-4146
highpriority · track · 40EPSS 0.039 · 90 %ileexploit · weaponizedEUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 6.8–7.2
weaknesses
The CWE weakness classes this flaw belongs to.
exploits (2)
Public proof-of-concept and weaponised exploit code.
- exploit/freebsd/local/rtld_execl_priv_escFreeBSD rtld execl() Privilege Escalationweaponized · metasploit
- EDB-10255FreeBSD 8.0 Run-Time Link-Editor (RTLD) - Local Privilege Escalationfunctional · exploit_db
affected products (4)
Products and version ranges known to be affected.
also known as (2)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (16)
External citations — patches, advisories, analysis.
- http://packetstormsecurity.com/files/152997/FreeBSD-rtld-execl-Privilege-Escalation.htmlenisa_euvd
- http://people.freebsd.org/~cperciva/rtld.patchenisa_euvd
- http://secunia.com/advisories/37517enisa_euvd
- http://www.securityfocus.com/archive/1/508142/100/0/threadedenisa_euvd
- http://www.securityfocus.com/archive/1/508146/100/0/threadedenisa_euvd
- http://www.securityfocus.com/archive/1/508168/100/0/threadedenisa_euvd
- http://www.securityfocus.com/bid/37154enisa_euvd
- http://www.securitytracker.com/id?1023250enisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan