Back
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…
Medium4.6EPSS 1.1%
- Published
- Updated
- Reserved
- Assigned by
- mitre
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 2.0 | Medium4.6 | AV:L/AC:L/Au:N/C:P/I:P/A:P |
- EPSS (exploitation in 30 days)
- 1.1% · top 35% of all CVEs (3 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 4.6.
Weakness
- n/a
Affected products
n/a
- affected n/a
References (19)
- MDKSA-2005:234 (opens in a new tab)vendor-advisoryx_refsource_MANDRAKEx_transferred
- 18549 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- sudo-perl-execute-code(23102) (opens in a new tab)vdb-entryx_refsource_XFx_transferred
- 18558 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 2006-0002 (opens in a new tab)vendor-advisoryx_refsource_TRUSTIXx_transferred
- 18463 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 18308 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- ADV-2005-2386 (opens in a new tab)vdb-entryx_refsource_VUPENx_transferred
- 15394 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- 18156 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 18102 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- USN-235-1 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- SUSE-SR:2006:002 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- DSA-946 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
- 1015192 (opens in a new tab)vdb-entryx_refsource_SECTRACKx_transferred
- MDKSA-2006:159 (opens in a new tab)vendor-advisoryx_refsource_MANDRIVAx_transferred
- 21692 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- http://www.sudo.ws/sudo/alerts/perl_env.html (opens in a new tab)x_refsource_CONFIRMx_transferred
- 17534 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2005-4158)Record last updated .