CVE & CISA-KEV Catalog

CVE-2005-2959

MEDIUM
4.6
CVSS v2
NVD

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.

How to fix

Remediation Available
sudoDebian
Fixed in:1.6.8p9-3CVE-2005-2959
Fixed in:1.6.8p9-3CVE-2005-2959
Fixed in:1.6.8p9-3CVE-2005-2959
Fixed in:1.6.8p9-3CVE-2005-2959

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v2 Vector

No CVSS vector data available.

Exploit Intelligence

0.62%probability of exploitation in 30 days
46thpercentile

Moderate risk: more likely to be exploited than 46% of all known CVEs.

References

Related Vulnerabilities

Other CWE-264 (Permissions, Privileges, and Access Controls) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2012-1456Medium4.3100%--
CVE-2012-1459Medium4.3100%-Fix
CVE-2012-1446Medium4.3100%--
CVE-2012-1443Medium4.3100%--
CVE-2012-1442Medium4.399%--
CVE-2012-1457Medium4.398%-Fix
Embed a live status badge for CVE-2005-2959
CVE-2005-2959 severity badge

Markdown

[![CVE-2005-2959](https://tridentstack.com/cve/badge/CVE-2005-2959.svg)](https://tridentstack.com/cve/CVE-2005-2959)

HTML

<a href="https://tridentstack.com/cve/CVE-2005-2959"><img src="https://tridentstack.com/cve/badge/CVE-2005-2959.svg" alt="CVE-2005-2959"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-04-16.