Vulnerabilityin CVE-2009-4146.
Weaponized: a Metasploit exploit is public.
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.
- No source names a fix yet. Watch this page or the product for updates; we never guess a fixed version.
Not confirmed by any source yet: affected versions not confirmed; fixed version not confirmed; severity not scored yet. We show these as not confirmed instead of guessing.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 30 Nov 2009Metasploit module: FreeBSD rtld execl() Privilege Escalation.
- 1 Dec 2009CVE ID reserved by mitre.
- 2 Dec 2009Published in the CVE List.
- 7 Aug 2024CVE record last updated.
Attack code anyone can find
Exploit maturity: Weaponized (Metasploit).
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Nothing on this page links to exploit code right now. To report anything else, write to the contact point in the legal notice.
- www.securityfocus.com vdb-entry, x_refsource_BID
- www.securityfocus.com mailing-list, x_refsource_BUGTRAQ
- secunia.com third-party-advisory, x_refsource_SECUNIA
- people.freebsd.org x_refsource_CONFIRM
- www.securityfocus.com mailing-list, x_refsource_BUGTRAQ
- www.securitytracker.com vdb-entry, x_refsource_SECTRACK
- www.securityfocus.com mailing-list, x_refsource_BUGTRAQ
- packetstormsecurity.com x_refsource_MISC
Patchminder. CVE-2009-4146: Vulnerability in CVE-2009-4146. https://patchminder.com/cve/cve-2009-4146/ (accessed 5 December 2026).