7.2
CWE
264
Advisory Published
Updated

CVE-2009-4146

First published: Wed Dec 02 2009(Updated: )

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.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
FreeBSD Kernel=8.0
FreeBSD Kernel=7.1
FreeBSD Kernel=7.2

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2009-4146?

    CVE-2009-4146 is classified as a high severity vulnerability due to its potential to allow local users to gain elevated privileges.

  • How do I fix CVE-2009-4146?

    To fix CVE-2009-4146, you should upgrade to a patched version of FreeBSD that addresses this vulnerability.

  • Who is affected by CVE-2009-4146?

    CVE-2009-4146 affects users of FreeBSD versions 7.1, 7.2, and 8.0.

  • What type of vulnerability is CVE-2009-4146?

    CVE-2009-4146 is a local privilege escalation vulnerability in the Run-Time Link-Editor.

  • What can exploit CVE-2009-4146?

    CVE-2009-4146 can be exploited by executing a setuid or setguid program with a modified LD_PRELOAD variable.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203