CVE-2005-2959
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.
Exploit likelihood
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 Medium
AV: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
| Package | Affected | Fixed |
|---|---|---|
sudoDebian:12 |
before 1.6.8p9-3 | 1.6.8p9-3 |
sudoDebian:13 |
before 1.6.8p9-3 | 1.6.8p9-3 |
sudoDebian:14 |
before 1.6.8p9-3 | 1.6.8p9-3 |
sudoDebian: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 |
sudoDebian: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
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE 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
sudo.ws/bugs/show_bug.cgi?id=182
secunia.com/advisories/17666
secunia.com/advisories/18549
us-cert.gov/cas/techalerts/TA07-072A.html
mandriva.com/security/advisories?name=MDKSA-2005:201
lists.apple.com/archives/security-announce/2007/Mar/msg00002.html
Show 16 moreShow less
docs.info.apple.com/article.html?artnum=305214
debian.org/security/2005/dsa-870
secunia.com/advisories/17322
secunia.com/advisories/17390
novell.com/linux/security/advisories/2006_02_sr.html
securityfocus.com/bid/15191
secunia.com/advisories/17345
vupen.com/english/advisories/2007/0930
secunia.com/advisories/17318
usn.ubuntu.com/213-1
securityfocus.com/advisories/9643
openpkg.org/security/OpenPKG-SA-2006.002-sudo.html
secunia.com/advisories/24479
nvd.nist.gov/vuln/detail/CVE-2005-2959
github.com/advisories/GHSA-xq6m-vcfr-h89q
security-tracker.debian.org/tracker/CVE-2005-2959