4.6

CVE-2005-4158: todd_miller sudo

Modified
AliasesDEBIAN-CVE-2005-4158
Published 11-12-2005Last modified 07-08-2024

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.

Priority
Prioritiseweaponized exploit

Weaponized exploit (exploit-database, 09-01-2006)

Source freshness unavailable

How is this decided?
CVSS score
4.6/10
010
Medium · v2.0 (NVD)
EPSS score
1.08%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits4reference, exploit-database

Advisory lineage

Upstream 0 · Downstream 2 · Related 1

Timeline

  1. 11-12-2005
    PublishedVulnerability first disclosed.
  2. 07-08-2024
    Last 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 version

EPSS 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

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

4 found
  • referenceUnverified

    Exploit Reference (securityfocus.com)

    Maturity: unknown

  • exploit-databaselocallinuxVerified

    Sudo 1.6.x - 'PYTHONPATH' Environment Variable Handling Security Bypass

    Maturity: weaponized

  • exploit-databaselocallinuxVerified

    Sudo < 1.6.8p12 - 'PERLLIB'/'PERL5OPT' Environment Variable Handling Security Bypass

    Maturity: weaponized

Show all 4 exploits
  • exploit-databaselocallinuxVerified

    Sudo Perl 1.6.x - Environment Variable Handling Security Bypass

    Maturity: weaponized

Weaknesses

CWE · root cause

No weakness data has been published for this record.

Affected systems

Version check

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

References

20 links
Show all 20 references