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 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.
Key facts
- CVSS score
- 7.2 (v2.0)
- Severity
- HIGH
- CVSS vector
AV:L/AC:L/Au:N/C:C/I:C/A:C- Weakness (CWE)
- CWE-264
- EPSS score
- 3.9% (90th percentile)
- In CISA KEV
- No
- In EU EUVD
- Yes (EUVD-2009-4116)
- Published
- December 2, 2009
- NVD last modified
- June 16, 2026
- Status
- Modified
EU Vulnerability Database (EUVD)
This vulnerability is also tracked by ENISA as EUVD-2009-4116 in the EU Vulnerability Database. Last updated in EUVD on August 7, 2024.
View on the EU Vulnerability DatabaseAffected products
- freebsd / freebsd
- freebsd / freebsd
- freebsd / freebsd
References
- http://packetstormsecurity.com/files/152997/FreeBSD-rtld-execl-Privilege-Escalation.html
- http://people.freebsd.org/~cperciva/rtld.patch(Exploit)
- http://secunia.com/advisories/37517(Vendor Advisory)
- http://www.securityfocus.com/archive/1/508142/100/0/threaded
- http://www.securityfocus.com/archive/1/508146/100/0/threaded
- http://www.securityfocus.com/archive/1/508168/100/0/threaded
- http://www.securityfocus.com/bid/37154(Exploit)
- http://www.securitytracker.com/id?1023250
Last updated September 17, 2026 · Source: NVD, CISA KEV, FIRST.org EPSS
Query CVEs from your AI assistant
The CVE/NVD Explorer brain answers CVE questions directly inside Claude, ChatGPT, or any MCP assistant — always up to date, no setup. Add it once and stop pasting advisories into chat.
Add the CVE brain