Predictive Vulnerability Intelligence.

Product

  • Product
  • Pricing
  • Documentation

Company

  • About
  • Partnerships
  • Blog
  • Support

Legal

  • Terms
  • Privacy
  • Data Licensing

© 2026 FAUCET Technologies LLC. All rights reserved.

CVE-2005-4158

21
FAUCET Score

CVE-2005-4158 describes a vulnerability in Sudo versions prior to 1.6.8 p12 where, under specific conditions (Perl taint flag off), it fails to clear critical Perl environment variables (PERLLIB, PERL5LIB, PERL5OPT). This oversight allows low-privileged local users to manipulate Perl scripts, forcing them to load and execute arbitrary library files that share names with legitimate script dependencies. The vulnerability carries a CVSS score of 4.6, indicating a medium severity. Exploitation requires local access and low attack complexity, potentially leading to compromise of confidentiality, integrity, and availability. While not listed on the KEV catalog or Metasploit, exploit code for this vulnerability is publicly available on ExploitDB. Despite this, there is no evidence of active exploitation, and it has garnered minimal community discussion or media coverage.

Impacted Technologies

VendorProductVersion(s)CPE
1.5.6CPE matchmatch criteria
cpe:2.3:a:todd_miller:sudo:1.5.6:*:*:*:*:*:*:*
1.5.7CPE matchmatch criteria
cpe:2.3:a:todd_miller:sudo:1.5.7:*:*:*:*:*:*:*
1.5.8CPE matchmatch criteria
cpe:2.3:a:todd_miller:sudo:1.5.8:*:*:*:*:*:*:*
1.5.9CPE matchmatch criteria
cpe:2.3:a:todd_miller:sudo:1.5.9:*:*:*:*:*:*:*
1.6CPE matchmatch criteria
cpe:2.3:a:todd_miller:sudo:1.6:*:*:*:*:*:*:*

CVSS Data

CVSS version used by this source: 2.0

4.6MEDIUM

AV:L/AC:L/Au:N/C:P/I:P/A:P

Confidentiality Impact
PARTIAL
Integrity Impact
PARTIAL
Availability Impact
PARTIAL
Access Vector
LOCAL
Access Complexity
LOW
Authentication
NONE
Exploitability Score
3.9
Impact Score
6.4
CvssVersion
2.0

Exploit Intelligence

EPSS Score
1.08%
Probability of exploitation in next 30 days
EPSS Percentile
61.6%
Percentile rank of EPSS score among Peer Group
As of 2026-07-27
Model: v2026.06.15
ExploitDB: EDB-27057 · Jan 9, 2006
This CVE's current EPSS score of 0.0108 is in the 91st percentile among its peer group of 3,052 CVEs.

Social Chatter

No social media mentions found for this CVE.

The average CVE in this peer group has 0.0 Twitter, 0.0 Reddit, 0.1 Bluesky, 0.0 Mastodon, and 0.4 GitHub mentions.

Media Mentions

No media coverage found for this CVE.

The average CVE in this peer group has 0.0 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.

Remediation

Vendor Advisories (1)

redhatCVE-2005-4158Low

CVE-2004-1051 bash scripts run via Sudo can be subverted (CVE-2005-4158, CVE-2006-0151)

Nov 11, 2004

References

secunia.com / advisories/17534
PatchVendor Advisory
secunia.com / advisories/18102
secunia.com / advisories/18156
secunia.com / advisories/18308
secunia.com / advisories/18463
secunia.com / advisories/18549
secunia.com / advisories/18558
secunia.com / advisories/21692
securitytracker.com / alerts/2005/Nov/1015192.html
Patch
exchange.xforce.ibmcloud.com / vulnerabilities/23102
ubuntu.com / usn/usn-235-1
debian.org / security/2006/dsa-946
mandriva.com / security/advisories
mandriva.com / security/advisories
novell.com / linux/security/advisories/2006_02_sr.html
securityfocus.com / bid/15394
ExploitPatch
sudo.ws / sudo/alerts/perl_env.html
PatchVendor Advisory
trustix.org / errata/2006/0002
vupen.com / english/advisories/2005/2386