CVE-2005-4158: todd_miller sudo
Vulnerability summary
CVE-2005-4158 is a medium (CVSS 4.6) vulnerability in todd_miller sudo. EPSS estimates a 1.08% chance of exploitation in the next 30 days, higher than 66.1% of scored vulnerabilities. 4 public exploits are recorded.
Weaponized exploit (exploit-database, 09-01-2006)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 2 · Related 1Timeline
- 11-12-2005PublishedVulnerability first disclosed.
- 07-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
1 score · 1 source · 1 versionEPSS trend
Probability
1.08%
Chance of exploitation in the next 30 days
Percentile
66%
Versus all other CVEs
30-day change
No change 0.00 pp
From 1.08% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
4 foundExploit Reference (securityfocus.com)
Maturity: unknown
Sudo 1.6.x - 'PYTHONPATH' Environment Variable Handling Security Bypass
Maturity: weaponized
Sudo < 1.6.8p12 - 'PERLLIB'/'PERL5OPT' Environment Variable Handling Security Bypass
Maturity: weaponized
Weaknesses
CWE · root causeNo weakness data has been published for this record.
Affected systems
Known conditions: local access, no authentication (CVSS vector). Other conditions: not stated in public data.
Debian1 product
- sudo< 1.6.8p12-1
Todd_miller1 product
- sudo1.5.6 | 1.5.7 | 1.5.8 | 1.5.9 | 1.6 | 1.6.1 | 1.6.2 | 1.6.3 | 1.6.3_p1 | 1.6.3_p2 | 1.6.3_p3 | 1.6.3_p4 | 1.6.3_p5 | 1.6.3_p6 | 1.6.3_p7 | 1.6.4 | 1.6.4_p1 | 1.6.4_p2 | 1.6.5 | 1.6.5_p1 | 1.6.5_p2 | 1.6.6 | 1.6.7 | 1.6.7_p5 | 1.6.8 | 1.6.8_p1 | 1.6.8_p5 | 1.6.8_p7 | 1.6.8_p8 | 1.6.8_p9
2 vendors · 2 products