CVE-2012-0003: MIDI Remote Code Execution Vulnerability in Microsoft Windows Media Player (winmm.dll)
- Vendor
- Microsoft Corporation
An unspecified vulnerability in winmm.dll, part of the Windows Multimedia Library used by Windows Media Player in Microsoft Windows XP SP2/SP3, Server 2003 SP2, Vista SP2, and Server 2008 SP2, allows remote attackers to execute arbitrary code via a specially crafted MIDI file. The vulnerability is triggered when the crafted MIDI file is processed, leading to memory corruption and potential code execution under the context of the user running the application.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows remote attackers to execute arbitrary code with the privileges of the user who opens the malicious MIDI file. This can lead to full system compromise if the user has administrative privileges. The vulnerability can be exploited remotely, making it suitable for drive-by attacks or targeted spear-phishing campaigns.
Mitigation
If you can’t patch tonight, do this now.
As a temporary mitigation, avoid opening untrusted MIDI files or files from unknown sources. Consider disabling automatic playback of MIDI files in Windows Media Player and restricting access to winmm.dll if patching is not immediately possible.
Remediation
Patch, then assume compromise.
Apply the security updates provided by Microsoft for the affected Windows versions. Ensure all systems are patched to the latest supported service packs and cumulative updates to mitigate this vulnerability.
Exploits
1 exploit validated by Mallory's analysis.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2012-0003 exploited in the wild?
- Yes. As of Oct 16, 2026, Mallory has reports of exploitation in the wild.
- Is there a public exploit for CVE-2012-0003?
- Yes. Mallory tracks 1 public exploit or proof of concept for CVE-2012-0003, the earliest disclosed Jan 10, 2012.
- Is there a patch for CVE-2012-0003?
- Apply the security updates provided by Microsoft for the affected Windows versions. Ensure all systems are patched to the latest supported service packs and cumulative updates to mitigate this vulnerability.
- What products are affected by CVE-2012-0003?
- Microsoft Corporation Windows Xp, Microsoft Corporation Windows 7, Microsoft Corporation Windows Server 2003, Microsoft Corporation Windows Server 2008, and Microsoft Corporation Windows Vista.
- How severe is CVE-2012-0003?
- CVE-2012-0003 has a CVSS v3.1 score of 8.1 (High) and an EPSS score of 69.9% (99th percentile) as of Oct 16, 2026.
Recent activity
1 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.