CVE-2005-2959: Todd Miller Sudo

Medium severity, CVSS 4.6. EPSS: 0.6% probability of exploitation activity in the next 30 days.

Incomplete blacklist vulnerability in sudo 1.6.8 and earlier allows local users to gain privileges via the (1) SHELLOPTS and (2) PS4 environment variables before executing a bash script on behalf of another user, which are not cleared even though other variables are.

What to do

No fixed version is stated in NVD's or the CNA's structured data. Check the vendor's advisory among the references.

Affected products

  • Todd Miller Sudo: version 1.6 only; version 1.6.1 only; version 1.6.2 only; version 1.6.3 only; version 1.6.3_p1 only; version 1.6.3_p2 only; …

Published 2005-10-25. Last modified 2026-06-16.