CVE-2006-6164: OpenBSD

High severity, CVSS 7.2. EPSS: 0.3% chance of exploitation in the next 30 days.

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 OpenBSD: version 3.9 only; version 4.0 only

Published 2006-11-29. Last modified 2026-06-16.