Every CVE Search/ Get API key

CVE-2005-4158

Sudo before 1.6.8 p12, when the Perl taint flag is off, does not clear the (1) PERLLIB, (2)...

4.6 MediumPublic exploitFix available

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.

Exploit likelihood

1.08%Down 2.1 points since Feb 4, 2022
90%50%10%1%

What each source reports

NVD Score used 4.6

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.

Record
CVE-2005-4158
CVSS 2.0
4.6 MediumAV:L/AC:L/Au:N/C:P/I:P/A:P
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2005-4158
Updated
2026-11-02
EUVDEUVD-2005-4153 No score

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.

Record
EUVD-2005-4153
Updated
2026-11-03
GitHub AdvisoriesGHSA-h6pw-5prw-wv25 No score

Sudo before 1.6.8 p12, when the Perl taint flag is off, does not clear the (1) PERLLIB, (2)...

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.

Record
GHSA-h6pw-5prw-wv25
Updated
2026-11-02
OSV No score

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.

Record
CVE-2005-4158
Updated
2026-11-02
OSVDEBIAN-CVE-2005-4158 No score

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.

Record
DEBIAN-CVE-2005-4158
Updated
2026-11-02
OSVopenSUSE-SU-2024:11413-1 No score

sudo-1.9.7p2-1.4 on GA media

These are all security issues fixed in the sudo-1.9.7p2-1.4 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:11413-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
sudo
Debian:12
before 1.6.8p12-1
1.6.8p12-1
sudo
Debian:13
before 1.6.8p12-1
1.6.8p12-1
sudo
Debian:14
before 1.6.8p12-1
1.6.8p12-1
sudo
Debian:3.0
From an advisory covering 2 CVEs
before 1.6.6-1.6, plus listed versions
1.6.6-1.31.6.6-1.3woody11.6.6-1.41.6.6-1.5
1.6.6-1.6
sudo
Debian:3.1
From an advisory covering 2 CVEs
before 1.6.8p7-1.4, plus listed versions
1.6.8p7-1.11.6.8p7-1.1sarge11.6.8p7-1.21.6.8p7-1.3
1.6.8p7-1.4
sudo
openSUSE:Tumbleweed
From an advisory covering 11 CVEs
before 1.9.7p2-1.4
1.9.7p2-1.4

Public exploits

Links only. Every CVE stores no exploit code.

History

History
RecordedChangedSources
affected, facts
aliasesEUVD
first indexedCVE List, Exploit-DB, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2005-4158 is a medium vulnerability (CVSS 4.6) in Todd Miller Sudo, published December 11, 2005. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 1.08%, the 65th percentile. Fixed in sudo 1.6.8p12-1.

References

Show 27 moreShow less
MoveEnter Open