CVE-2012-0002 in Microsoft Windows Xp and 4 more products
The Remote Desktop Protocol (RDP) implementation in Microsoft Windows XP SP2 and SP3, Windows Server 2003 SP2, Windows Vista SP2, Windows Server 2008 SP2, R2, and R2 SP1, and Windows 7 Gold and SP1 does not properly process packets in memory, which allows remote attackers to execute arbitrary code by sending crafted...
Affects 5 products from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Microsoft | Windows Xp | All versions |
| Microsoft | Windows Server 2003 | All versions |
| Microsoft | Windows Vista | All versions |
| Microsoft | Windows Server 2008 | All versions |
| Microsoft | Windows 7 | All versions |
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
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Reported · reference |
Official description
The Remote Desktop Protocol (RDP) implementation in Microsoft Windows XP SP2 and SP3, Windows Server 2003 SP2, Windows Vista SP2, Windows Server 2008 SP2, R2, and R2 SP1, and Windows 7 Gold and SP1 does not properly process packets in memory, which allows remote attackers to execute arbitrary code by sending crafted RDP packets triggering access to an object that (1) was not properly initialized or (2) is deleted, aka "Remote Desktop Protocol Vulnerability."
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2012-0002 |
|---|---|
| BreachSpider ID | BS-2012-GLOBAL-179474-C |
| CVSS vector | AV:N/AC:M/Au:N/C:C/I:C/A:C |
| Published | 2012-03-13 |
| Last modified | 2026-06-16 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-94: Code Injection
Attacker injects arbitrary code that is executed by the application process.
Related attack patterns (CAPEC)
CAPEC-35 Leverage Executable Code in Non-Executable Files via CWE-94
CAPEC-77 Manipulating User-Controlled Variables via CWE-94
CAPEC-242 Code Injection via CWE-94
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
A vulnerability in the Remote Desktop Protocol (RDP) implementation in several versions of Microsoft Windows allows remote attackers to execute arbitrary code by sending specially crafted RDP packets.
The vulnerability occurs due to improper processing of packets in memory, specifically accessing an object that was not properly initialized. This can be exploited by sending crafted RDP packets to a vulnerable system.
Questions
What is CVE-2012-0002?
A vulnerability in the Remote Desktop Protocol (RDP) implementation in several versions of Microsoft Windows allows remote attackers to execute arbitrary code by sending specially crafted RDP packets.
What is the CVSS score for CVE-2012-0002?
CVE-2012-0002 has CVSS 9.3 (Critical). Vector: AV:N/AC:M/Au:N/C:C/I:C/A:C. EPSS: 75.0%.
Is CVE-2012-0002 actively exploited?
Public exploit available for CVE-2012-0002. Exploitation risk elevated.
How do I remediate CVE-2012-0002?
Priority: IMMEDIATE. Advisory: https://docs.microsoft.com/en-us/security-updates/securitybulletins/2012/ms12-020
What systems are affected by CVE-2012-0002?
CVE-2012-0002 affects Microsoft Windows Xp, Windows Server 2003, Windows Vista, Windows Server 2008, Windows 7.
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":"Microsoft","product":"Windows Xp","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.