Vulnerability record · CVE-2012-0003 · published 10 January 2012
CVE-2012-0003: Windows Media Player winmm.dll MIDI remote code execution
Microsoft · Windows 7
An unspecified vulnerability in winmm.dll in the Windows Multimedia Library, reachable through Windows Media Player, allows remote code execution when a crafted MIDI file is processed. The record gives no root-cause detail beyond the flaw class, but the affected platforms are legacy Windows XP, Server 2003, Vista and Server 2008 builds. Because code execution is at the level of the media player process, it matters for any environment still running those platforms.
Description
Unspecified vulnerability in winmm.dll in Windows Multimedia Library in Windows Media Player (WMP) in Microsoft Windows XP SP2 and SP3, Server 2003 SP2, Vista SP2, and Server 2008 SP2 allows remote attackers to execute arbitrary code via a crafted MIDI file, aka "MIDI Remote Code Execution Vulnerability."
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Automated analysis
high priorityRemote code execution with high EPSS despite no KEV listing, but impact is confined to unsupported legacy Windows platforms that are increasingly rare.
What it is
An unspecified vulnerability in winmm.dll in the Windows Multimedia Library, reachable through Windows Media Player, allows remote code execution when a crafted MIDI file is processed. The record gives no root-cause detail beyond the flaw class, but the affected platforms are legacy Windows XP, Server 2003, Vista and Server 2008 builds. Because code execution is at the level of the media player process, it matters for any environment still running those platforms.
Impact
A remote attacker can execute arbitrary code in the context of the process handling the MIDI file, giving full control of confidentiality, integrity and availability on the host. No privilege escalation is required beyond that context.
Attack surface
The vector is network-reachable with no privileges and no user interaction required per CVSS (AV:N/AC:H/PR:N/UI:N), meaning a crafted MIDI file delivered to the affected component can trigger it. The description does not specify the exact delivery path, so whether it is opened locally, embedded in a document or streamed is not stated.
Exploitation
CISA KEV does not list this CVE and no reference carries an exploit tag, but EPSS is 0.69647 (99.3rd percentile), indicating a high modeled likelihood of exploitation activity. The record provides no confirmed in-the-wild or public exploit evidence.
What to do
- Apply Microsoft security bulletin MS12-004, which addresses this vulnerability, to all affected Windows XP, Server 2003, Vista and Server 2008 SP2 systems.
- Where patching is not possible, restrict or block processing of untrusted MIDI files and remove or disable MIDI file association with Windows Media Player.
- Retire or isolate the legacy platforms listed as affected, since they no longer receive current security support.
- Enforce email and web gateway filtering of MIDI attachments and downloads reaching these hosts.
- Limit user privileges so that code execution in the media player context does not inherit administrative rights.
Detection
- Monitor for Windows Media Player or winmm.dll loading MIDI files from email attachments, downloads or removable media on affected hosts.
- Alert on unexpected child processes spawned by wmplayer.exe or processes loading winmm.dll with unusual command lines.
- Hunt for MIDI file creation or execution events in user download, temp and mail attachment directories on legacy Windows systems.
- Review host telemetry for crashes or memory corruption in winmm.dll as a possible exploitation attempt.
This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.
Affected products
5 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
Track CVE-2012-0003 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2012-0003), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.