Vulnerabilities · 2006 · Openbsd
CVE-2006-6164
Openbsd vulnerability
The _dl_unsetenv function in loader.c in the ELF ld.so in OpenBSD 3.9 and 4.0 does not properly remove duplicate environment variables, which allows local users to pass dangerous variables such as LD_PRELOAD to loading processes, which might be leveraged to gain privileges.
Affected products
Openbsd. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Openbsd runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- securitytracker.com/id?1017253 · Patch
- www.openbsd.org/errata.html#ldso · Patch
- www.openbsd.org/errata39.html#ldso · Patch
- secunia.com/advisories/22993
- www.matasano.com/log/592/finger-79tcp-mcdonald-dowd-and-schuh-challenge-part-2/
- www.securityfocus.com/archive/1/452371/100/0/threaded
- www.securityfocus.com/archive/1/452428/100/0/threaded
- www.securityfocus.com/bid/21188
- nvd.nist.gov/vuln/detail/CVE-2006-6164
- cve.org/CVERecord?id=CVE-2006-6164
More vulnerabilities in Openbsd products
CVE-2025-32728CVE-2025-30334CVE-2025-26466CVE-2025-26465CVE-2024-29937CVE-2024-11149CVE-2024-11148CVE-2024-10934All 307
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.