{"cve":"CVE-2009-4147","nvd":{"published":"2009-12-02T19:30:00.217","modified":"2026-06-16T23:13:07.797","status":"Modified","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.","cvss_v4":null,"cvss_v3":null,"cwes":["CWE-264"],"references":["http://packetstormsecurity.com/files/152997/FreeBSD-rtld-execl-Privilege-Escalation.html","http://people.freebsd.org/~cperciva/rtld.patch","http://secunia.com/advisories/37517","http://www.securityfocus.com/archive/1/508142/100/0/threaded","http://www.securityfocus.com/archive/1/508146/100/0/threaded"],"products":["freebsd:freebsd"],"source":"nvd","synced_at":"2026-10-19T19:54:26.868835795+00:00"},"epss":{"cve":"CVE-2009-4147","score":0.03709,"percentile":0.89753,"date":"2026-10-31"},"kev":null,"osv":[],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}