BREACHSPIDER
CVE databaseVendorsIntelFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2012-0809 in Todd Miller Sudo

High 7.2 Public exploit reported

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.

CVSS 2.07.2
EPSS2.9%
EPSS percentile88th
FixUnknown

Requires local access, low complexity.

Affected products and versions

VendorProductAffected 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-exploitedNot in the CISA KEV catalog
Public exploitReported · 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 IDCVE-2012-0809
BreachSpider IDBS-2012-GLOBAL-158363-H
CVSS vectorAV:L/AC:L/Au:N/C:C/I:C/A:C
Published2012-02-01
Last modified2026-04-29
Weakness (CWE)
SourceNVD

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"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-04-29.