CVE & CISA-KEV Catalog

CVE-2005-4158

MEDIUM
4.6
CVSS v2
NVD

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.

How to fix

Remediation Available
sudoDebian
Fixed in:1.6.8p12-1CVE-2005-4158
Fixed in:1.6.8p12-1CVE-2005-4158
Fixed in:1.6.8p12-1CVE-2005-4158
Fixed in:1.6.8p12-1CVE-2005-4158

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v2 Vector

No CVSS vector data available.

Exploit Intelligence

1.08%probability of exploitation in 30 days
61stpercentile

Moderate risk: more likely to be exploited than 61% of all known CVEs.

References

Embed a live status badge for CVE-2005-4158
CVE-2005-4158 severity badge

Markdown

[![CVE-2005-4158](https://tridentstack.com/cve/badge/CVE-2005-4158.svg)](https://tridentstack.com/cve/CVE-2005-4158)

HTML

<a href="https://tridentstack.com/cve/CVE-2005-4158"><img src="https://tridentstack.com/cve/badge/CVE-2005-4158.svg" alt="CVE-2005-4158"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-04-16.