CVE-2005-4158: Todd Miller Sudo

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

Sudo before 1.6.8 p12, when the Perl taint flag is off, does not clear the (1) PERLLIB, (2) PERL5LIB, and (3) PERL5OPT environment variables, which allows limited local users to cause a Perl script to include and execute arbitrary library files that have the same name as library files that are included by the script.

What to do

No fixed version is stated in NVD's or the CNA's structured data. The description says "before 1.6.8"; check the vendor's advisory for the release that fixes it.

Affected products

  • Todd Miller Sudo: version 1.5.6 only; version 1.5.7 only; version 1.5.8 only; version 1.5.9 only; version 1.6 only; version 1.6.1 only; …

Published 2005-12-11. Last modified 2026-06-16.