CVE-2002-0043 in Todd Miller Sudo
sudo 1.6.0 through 1.6.3p7 does not properly clear the environment before calling the mail program, which could allow local users to gain root privileges by modifying environment variables and changing how the mail program is invoked.
Affects 1 product from 1 vendor. Facts below cite their sources.
Requires local access, low complexity.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Todd Miller | Sudo | 1.6 1.6.1 1.6.2 1.6.3 1.6.3_p1 1.6.3_p2+5 more1.6.3_p3 1.6.3_p4 1.6.3_p5 1.6.3_p6 1.6.3_p7 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Reported · reference |
Official description
sudo 1.6.0 through 1.6.3p7 does not properly clear the environment before calling the mail program, which could allow local users to gain root privileges by modifying environment variables and changing how the mail program is invoked.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2002-0043 |
|---|---|
| BreachSpider ID | BS-2002-GLOBAL-158766-H |
| CVSS vector | AV:L/AC:L/Au:N/C:C/I:C/A:C |
| Published | 2002-01-31 |
| Last modified | 2026-06-16 |
| Source | NVD |
Analysis AI-written, not human-reviewed
A vulnerability in sudo versions 1.6.0 through 1.6.3p7 allows local users to gain root privileges by manipulating environment variables and altering the mail program's invocation.
The vulnerability arises from sudo not clearing the environment variables before executing the mail program. An attacker can exploit this by setting specific environment variables that affect the behavior of the mail program, potentially leading to privilege escalation.
Questions
What is CVE-2002-0043?
A vulnerability in sudo versions 1.6.0 through 1.6.3p7 allows local users to gain root privileges by manipulating environment variables and altering the mail program's invocation.
What is the CVSS score for CVE-2002-0043?
CVE-2002-0043 has CVSS 7.2 (High). Vector: AV:L/AC:L/Au:N/C:C/I:C/A:C. EPSS: 0.9%.
Is CVE-2002-0043 actively exploited?
Public exploit available for CVE-2002-0043. Exploitation risk elevated.
How do I remediate CVE-2002-0043?
Priority: IMMEDIATE. PSIRT: [email protected]
What systems are affected by CVE-2002-0043?
CVE-2002-0043 affects Todd Miller Sudo.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Todd Miller","product":"Sudo","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-16.