Home / Openbsd / Openbsd / CVE-2006-6164
CVE-2006-6164: is it exploited, and which versions of Openbsd are affected and fixed?
CVE-2006-6164 is a vulnerability in Openbsd. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 11:08 UTC). Affected: openbsd 3.9 and openbsd 4.0 (NVD). No fixed version is listed in the sources yet; check the vendor advisory. Severity: High (7.2, CVSS 2.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 11:08 UTC, CVE record November 19, 2026, 07:21 UTC and NVD November 19, 2026, 08:53 UTC.
What is CVE-2006-6164?
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.
From the CVE record by mitre, last updated August 7, 2024, 20:19 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| openbsd | openbsd | 3.9 | operating system |
| openbsd | openbsd | 4.0 | operating system |
NVD analysis (status Modified), last modified June 16, 2026, 22:32 UTC.
How severe is CVE-2006-6164?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.2 | CVSS 2.0 | AV:L/AC:L/Au:N/C:C/I:C/A:C | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2006-6164 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 0.33% probability of exploitation activity in the next 30 days, percentile 28.1 (FIRST EPSS, scores of December 2, 2026)
Where are the vendor advisories and references?
- [3.9] 016: SECURITY FIX: November 19, 2006 vendor-advisory, x_refsource_OPENBSD
- http://www.matasano.com/log/592/finger-79tcp-mcdonald-dowd-and-schuh-challenge-part-2/ x_refsource_MISC
- 20061123 Re: Lack of environment sanitization in the FreeBSD, OpenBSD, NetBSD dynamic loaders. mailing-list, x_refsource_BUGTRAQ
- 22993 third-party-advisory, x_refsource_SECUNIA
- 21188 vdb-entry, x_refsource_BID
- [4.0] 005: SECURITY FIX: November 19, 2006 vendor-advisory, x_refsource_OPENBSD
- 20061122 Lack of environment sanitization in the FreeBSD, OpenBSD, NetBSD dynamic loaders. mailing-list, x_refsource_BUGTRAQ
- 1017253 vdb-entry, x_refsource_SECTRACK
- openbsd-elf-privilege-escalation(30441) vdb-entry, x_refsource_XF
When was it published, and where is the official record?
- Reserved
- November 28, 2006
- Published
- November 29, 2006, 01:00 UTC
- CVE record updated
- August 7, 2024, 20:19 UTC by mitre
- NVD
- Modified, last modified June 16, 2026, 22:32 UTC
- Last checked
- CVE list November 19, 2026, 07:21 UTC; NVD November 19, 2026, 08:53 UTC; KEV December 3, 2026, 11:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Openbsd?
- Sep 30, 2026CVE-2026-103547 OpenBSD: incorrect authorization
- Sep 8, 2026CVE-2026-56101 OpenBSD: incorrect comparison
- Jun 25, 2026CVE-2026-57589 OpenBSD: use after free
- Jun 17, 2026CVE-2026-55706 OpenBSD: quantity not validated
- Apr 20, 2026CVE-2026-41285 OpenBSD: quantity not validated
- Mar 20, 2025CVE-2025-30334 OpenBSD: incorrect Calculation of Buffer Size
- Dec 6, 2024CVE-2024-11149 OpenBSD: CWE-noinfo Not enough information
- Dec 5, 2024CVE-2024-10933 OpenBSD: path traversal (reading or writing files outside the intended folder)
Questions about CVE-2006-6164
Is CVE-2006-6164 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 11:08 UTC. FIRST's EPSS gives it a 0.33% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Openbsd are affected by CVE-2006-6164?
openbsd 3.9 and openbsd 4.0, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2006-6164?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2006-6164?
High (7.2, CVSS 2.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2006-6164?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.