Every CVE Search/ Get API key

CVE-2005-2959

Incomplete blacklist vulnerability in sudo 1.6.8 and earlier allows local users to gain...

4.6 MediumFix available

Incomplete blacklist vulnerability in sudo 1.6.8 and earlier allows local users to gain privileges via the (1) SHELLOPTS and (2) PS4 environment variables before executing a bash script on behalf of another user, which are not cleared even though other variables are.

Exploit likelihood

0.62%Down 0.9 points since Feb 4, 2022
90%50%10%1%

What each source reports

NVD Score used 4.6

Incomplete blacklist vulnerability in sudo 1.6.8 and earlier allows local users to gain privileges via the (1) SHELLOPTS and (2) PS4 environment variables before executing a bash script on behalf of another user, which are not cleared even though other variables are.

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

Incomplete blacklist vulnerability in sudo 1.6.8 and earlier allows local users to gain privileges via the (1) SHELLOPTS and (2) PS4 environment variables before executing a bash script on behalf of another user, which are not cleared even though other variables are.

Record
CVE-2005-2959
Updated
2026-11-02
EUVDEUVD-2005-2959 No score

Incomplete blacklist vulnerability in sudo 1.6.8 and earlier allows local users to gain privileges via the (1) SHELLOPTS and (2) PS4 environment variables before executing a bash script on behalf of another user, which are not cleared even though other variables are.

Record
EUVD-2005-2959
Updated
2026-11-03
GitHub AdvisoriesGHSA-xq6m-vcfr-h89q No score

Incomplete blacklist vulnerability in sudo 1.6.8 and earlier allows local users to gain...

Incomplete blacklist vulnerability in sudo 1.6.8 and earlier allows local users to gain privileges via the (1) SHELLOPTS and (2) PS4 environment variables before executing a bash script on behalf of another user, which are not cleared even though other variables are.

Record
GHSA-xq6m-vcfr-h89q
Updated
2026-11-02
OSV No score

Incomplete blacklist vulnerability in sudo 1.6.8 and earlier allows local users to gain privileges via the (1) SHELLOPTS and (2) PS4 environment variables before executing a bash script on behalf of another user, which are not cleared even though other variables are.

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

Incomplete blacklist vulnerability in sudo 1.6.8 and earlier allows local users to gain privileges via the (1) SHELLOPTS and (2) PS4 environment variables before executing a bash script on behalf of another user, which are not cleared even though other variables are.

Record
DEBIAN-CVE-2005-2959
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
sudo
Debian:12
before 1.6.8p9-3
1.6.8p9-3
sudo
Debian:13
before 1.6.8p9-3
1.6.8p9-3
sudo
Debian:14
before 1.6.8p9-3
1.6.8p9-3
sudo
Debian:3.0
before 1.6.6-1.4, plus listed versions
1.6.6-1.31.6.6-1.3woody1
1.6.6-1.4
sudo
Debian:3.1
before 1.6.8p7-1.2, plus listed versions
1.6.8p7-1.11.6.8p7-1.1sarge1
1.6.8p7-1.2

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

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

In short

CVE-2005-2959 is a medium vulnerability (CVSS 4.6) in Todd Miller Sudo, published October 25, 2005. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.62%, the 49th percentile. Fixed in sudo 1.6.8p9-3.

References

Show 16 moreShow less
MoveEnter Open