CVE-2006-6164 json
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, whi…
published 2006-11-29 19 y ago modified 2026-06-16 4 mo ago also EUVD-2006-6147
- cvss
- 7.2
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 26%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- securitytracker.com/id?1017253 patch
- openbsd.org/errata39.html#ldso advisory
- openbsd.org/errata.html#ldso advisory
Exploit prediction
0.33% chance of exploitation in the next 30 days, higher than 26% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 7.2 | AV:L/AC:L/Au:N/C:C/I:C/A:C |
References
-
openbsd.org
/errata39.html#ldso
vendor-advisory, patch
-
openbsd.org
/errata.html#ldso
vendor-advisory, patch
-
securitytracker.com
/id?1017253
vdb-entry, patch
- matasano.com /log/592/finger-79tcp-mcdonald-dowd-and-schuh-challenge-part-2/
-
securityfocus.com
/archive/1/452428/100/0/threaded
mailing-list
-
secunia.com
/advisories/22993
third-party-advisory
-
securityfocus.com
/bid/21188
vdb-entry
-
securityfocus.com
/archive/1/452371/100/0/threaded
mailing-list
-
exchange.xforce.ibmcloud.com
/vulnerabilities/30441
vdb-entry
Sources
- CVE List CVE-2006-6164
- NVD CVE-2006-6164
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.