cve.bz

CVE-2005-2959 todd miller sudo

no score yetExploit referenceEPSS 0.6%Fix available

todd miller sudo: no CVSS score yet. EPSS 0.6% estimated probability of exploitation activity in the next 30 days.

On this page
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.
EPSS
0.6% (unchanged from 0.6% a week ago; 0.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 51st percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-264 Permissions, Privileges, and Access Controls
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2005-2959 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2005-2959?via=ask-ai-copy and https://cve.bz/cve/CVE-2005-2959?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2005-2959 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
todd_miller:sudo1.6
todd_miller:sudo1.6.1
todd_miller:sudo1.6.2
todd_miller:sudo1.6.3
todd_miller:sudo1.6.3_p1
todd_miller:sudo1.6.3_p2
todd_miller:sudo1.6.3_p3
todd_miller:sudo1.6.3_p4
todd_miller:sudo1.6.3_p5
todd_miller:sudo1.6.3_p6
todd_miller:sudo1.6.3_p7
todd_miller:sudo1.6.3p1
todd_miller:sudo1.6.3p2
todd_miller:sudo1.6.3p3
todd_miller:sudo1.6.3p4
todd_miller:sudo1.6.3p5
todd_miller:sudo1.6.3p6
todd_miller:sudo1.6.3p7
todd_miller:sudo1.6.4
todd_miller:sudo1.6.4_p1
todd_miller:sudo1.6.4_p2
todd_miller:sudo1.6.4p1
todd_miller:sudo1.6.4p2
todd_miller:sudo1.6.5
todd_miller:sudo1.6.5_p1
todd_miller:sudo1.6.5_p2
todd_miller:sudo1.6.5p1
todd_miller:sudo1.6.5p2
todd_miller:sudo1.6.6
todd_miller:sudo1.6.7
todd_miller:sudo1.6.7_p5
todd_miller:sudo1.6.8

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian3.0sudo1.6.6-1.4DSA-870-1
Debian3.1sudo1.6.8p7-1.2DSA-870-1
Debian12, 13, 14sudo1.6.8p9-3DEBIAN-CVE-2005-2959

From the distributions' data via OSV.dev: the Debian Security Tracker. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian.

References

Check your stackJSON