7.8
CWE
NVD-CWE-Other
Advisory Published
Updated

CVE-2006-6165

First published: Wed Nov 29 2006(Updated: )

** DISPUTED ** ld.so in FreeBSD, NetBSD, and possibly other BSD distributions does not remove certain harmful environment variables, which allows local users to gain privileges by passing certain environment variables to loading processes. NOTE: this issue has been disputed by a third party, stating that it is the responsibility of the application to properly sanitize the environment.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
FreeBSD Kernel=6.2-stable
NetBSD current=2.0.4

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-2006-6165?

    The severity of CVE-2006-6165 is considered moderate due to potential local privilege escalation.

  • How do I fix CVE-2006-6165?

    To fix CVE-2006-6165, ensure that your operating system is updated to a patched version that mitigates the handling of harmful environment variables.

  • Which systems are affected by CVE-2006-6165?

    CVE-2006-6165 affects FreeBSD and NetBSD systems, specifically version 2.0.4 of NetBSD and 6.2-stable of FreeBSD.

  • Can CVE-2006-6165 be exploited remotely?

    No, CVE-2006-6165 can only be exploited locally by logged-in users with the ability to modify environment variables.

  • Is CVE-2006-6165 still a relevant vulnerability?

    While CVE-2006-6165 is an older vulnerability, its relevance depends on the use of the affected BSD systems and their current security posture.

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