Breaking: Java4Shell (CVE-2026-114938) - Less Than 0.12% of JVMs Estimated at Risk of RCE
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2005-4158

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

Overview

Published
11 Dec 2005
Modified
16 Apr 2026
Medium CVE
0 Registry packages
5 OS packages
4 Linux distributions
Yes Fix available

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.

Source: OX vulnerability database

Severity

4.6 · MEDIUM

CVSS 2.0 base score, scored by NVD.

Access vector
Local
Access complexity
Low
Authentication
None
Confidentiality
Partial
Integrity
Partial
Availability
Partial

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

Affected packages · 0

No registry package. This ID affects operating system packages only.

Operating systems · 8 fixes

debian 4 releases · 1 package

fixed 4
sudo
debian fixes for CVE-2005-4158
ReleasePackageFixed in
11 sudo 1.6.8p12-1
12 sudo 1.6.8p12-1
13 sudo 1.6.8p12-1
14 sudo 1.6.8p12-1

echo 1 release · 1 package

fixed 1
sudo
echo fixes for CVE-2005-4158
ReleasePackageFixed in
sudo 1.6.8p12-1

openSUSE 1 release · 1 package

fixed 1
sudo
openSUSE fixes for CVE-2005-4158
ReleasePackageFixed inAdvisory
Tumbleweed sudo +3 1.9.7p2-1.4 openSUSE-SU-2024:11413-1

root.io debian 2 releases · 1 package

fixed 2
rootio-sudo
root.io debian fixes for CVE-2005-4158
ReleasePackageFixed in
11 rootio-sudo 1.6.8p12-1
12 rootio-sudo 1.6.8p12-1

References

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.