CVE-2005-4158

CVE-2005-4158 is a medium-severity vulnerability in Todd Miller Sudo with a CVSS 2.0 base score of 4.6. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low.

Key facts

Description

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.

Frequently asked questions

What is CVE-2005-4158?
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.
How severe is CVE-2005-4158?
CVE-2005-4158 has a CVSS 2.0 base score of 4.6, rated medium severity.
Is CVE-2005-4158 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (61st percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2005-4158?
CVE-2005-4158 primarily affects Todd Miller Sudo. In total, 30 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
How do I fix CVE-2005-4158?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
When was CVE-2005-4158 published?
CVE-2005-4158 was published on 2005-12-11 and last updated on 2026-06-16.

References

Affected products (30)

More vulnerabilities in Todd Miller Sudo

All CVEs affecting Todd Miller Sudo →