{
    "id": "CVE-2009-4146",
    "published": "2009-12-02 18:30:00",
    "last_modified": "2026-06-16 23:13:07",
    "cvss_score": "7.2",
    "cvss_severity": "HIGH",
    "cvss_version": "2.0",
    "cvss_vector": "AV:L/AC:L/Au:N/C:C/I:C/A:C",
    "cwe": "CWE-264",
    "description": "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.",
    "epss_score": "0.03903",
    "epss_percentile": "0.89995",
    "kev": 0,
    "kev_due": null,
    "has_exploit": 1,
    "updated_at": "2026-10-07 18:17:08",
    "priority": {
        "rank": 2,
        "label": "Patch early",
        "why": "A public exploit exists."
    },
    "products": [
        {
            "vendor": "freebsd",
            "product": "freebsd"
        }
    ],
    "kev_detail": null,
    "exploits": [
        {
            "source": "exploit-db",
            "ref_id": "10255",
            "title": "FreeBSD 8.0 Run-Time Link-Editor (RTLD) - Local Privilege Escalation",
            "date": "2009-11-30",
            "url": "https://www.exploit-db.com/exploits/10255"
        }
    ],
    "refs_list": [
        "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",
        "http://www.securityfocus.com/archive/1/508168/100/0/threaded",
        "http://www.securityfocus.com/bid/37154",
        "http://www.securitytracker.com/id?1023250",
        "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",
        "http://www.securityfocus.com/archive/1/508168/100/0/threaded",
        "http://www.securityfocus.com/bid/37154",
        "http://www.securitytracker.com/id?1023250"
    ]
}