CVE-2005-2959

CVE-2005-2959 is a medium-severity vulnerability in Todd Miller Sudo with a CVSS 2.0 base score of 4.6. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-264.

Key facts

Description

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.

Frequently asked questions

What is CVE-2005-2959?
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.
How severe is CVE-2005-2959?
CVE-2005-2959 has a CVSS 2.0 base score of 4.6, rated medium severity.
Is CVE-2005-2959 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (46th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2005-2959?
CVE-2005-2959 primarily affects Todd Miller Sudo. In total, 32 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
How do I fix CVE-2005-2959?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
When was CVE-2005-2959 published?
CVE-2005-2959 was published on 2005-10-25 and last updated on 2026-06-16.

References

Affected products (32)

More vulnerabilities in Todd Miller Sudo

All CVEs affecting Todd Miller Sudo →

Other CWE-264 (Permissions, Privileges, and Access Controls) vulnerabilities

Browse all CWE-264 (Permissions, Privileges, and Access Controls) vulnerabilities →