CVE-2012-0809 in Todd Miller Sudo
Format string vulnerability in the sudo_debug function in Sudo 1.8.0 through 1.8.3p1 allows local users to execute arbitrary code via format string sequences in the program name for sudo.
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.8.0 1.8.1 1.8.1p1 1.8.1p2 1.8.2 1.8.3+1 more1.8.3p1 |
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.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Reported · reference |
Official description
Format string vulnerability in the sudo_debug function in Sudo 1.8.0 through 1.8.3p1 allows local users to execute arbitrary code via format string sequences in the program name for sudo.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2012-0809 |
|---|---|
| BreachSpider ID | BS-2012-GLOBAL-158363-H |
| CVSS vector | AV:L/AC:L/Au:N/C:C/I:C/A:C |
| Published | 2012-02-01 |
| Last modified | 2026-04-29 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-134: CWE-134
Related attack patterns (CAPEC)
CAPEC-67 String Format Overflow in syslog() via CWE-134
CAPEC-135 Format String Injection via CWE-134
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
A format string vulnerability in the sudo_debug function in Sudo versions 1.8.0 through 1.8.3p1 allows local users to execute arbitrary code through format string sequences in the program name for sudo.
The vulnerability is triggered by a local user providing a specially crafted program name to the sudo command, which includes format string sequences. This can lead to arbitrary code execution with the privileges of the user running sudo.
Questions
What is CVE-2012-0809?
A format string vulnerability in the sudo_debug function in Sudo versions 1.8.0 through 1.8.3p1 allows local users to execute arbitrary code through format string sequences in the program name for sudo.
What is the CVSS score for CVE-2012-0809?
CVE-2012-0809 has CVSS 7.2 (High). Vector: AV:L/AC:L/Au:N/C:C/I:C/A:C. EPSS: 2.9%.
Is CVE-2012-0809 actively exploited?
Public exploit available for CVE-2012-0809. Exploitation risk elevated.
How do I remediate CVE-2012-0809?
Priority: HIGH.
What systems are affected by CVE-2012-0809?
CVE-2012-0809 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-04-29.