CVE-2007-0038: Windows Animated Cursor Remote Code Execution Vulnerability
- Vendor
- Microsoft Corporation
CVE-2007-0038 is a stack-based buffer overflow in Microsoft Windows cursor and icon processing, affecting Windows 2000 SP4, Windows XP, Windows Server 2003, and Windows Vista. Improper format validation permits an oversized length value in the second or a subsequent anih block of a RIFF-formatted cursor or icon file to corrupt memory. Rendering malicious content through web pages, email messages, or attachments can trigger arbitrary code execution or denial of service involving persistent reboots. The vulnerability is a variant of CVE-2005-0416 and was actively exploited when Microsoft released MS07-017.
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 executes arbitrary code with the affected user's privileges. If that user has administrative privileges, exploitation can enable complete system compromise. The memory corruption can also cause denial of service through persistent reboots.
Mitigation
If you can’t patch tonight, do this now.
Use accounts with reduced privileges to limit the consequences of code execution. Internet Explorer 7 Protected Mode on Windows Vista protected against the web-based attacks known when the bulletin was published. Outlook 2007's default Microsoft Word rendering protected against the HTML email preview vector. Reading email as plain text mitigated the HTML email vector in supported Outlook versions, but not in Outlook Express; Windows Mail's plain-text protection did not extend to replying to or forwarding malicious messages. Blocking the animated-cursor filename extension alone is ineffective because malicious data can be carried in other image file types. These protections are vector-specific and do not replace the security update.
Remediation
Patch, then assume compromise.
Install the Microsoft MS07-017 security update, KB925902, which corrects validation of cursor, animated cursor, and icon formats before rendering. Restart the system after installation and verify successful deployment. The December 2008 Windows Server 2003 package revision requires no additional action on systems where the original update was successfully installed.
Exploits
2 exploits validated by Mallory's analysis. Hidden: 13 not yet analyzed, such as Exploit-DB entries.
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-2007-0038 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-2007-0038?
- Yes. Mallory tracks 2 public exploits or proofs of concept for CVE-2007-0038, the earliest disclosed Mar 28, 2007.
- Is there a patch for CVE-2007-0038?
- Install the Microsoft MS07-017 security update, KB925902, which corrects validation of cursor, animated cursor, and icon formats before rendering. Restart the system after installation and verify successful deployment.
- What products are affected by CVE-2007-0038?
- Microsoft Corporation Windows 2000, Microsoft Corporation Windows Vista, Microsoft Corporation Windows Xp, and Microsoft Corporation Windows 2003 Server.
- How severe is CVE-2007-0038?
- CVE-2007-0038 has a CVSS v2 score of 9.3 (Critical) and an EPSS score of 73.1% (99th percentile) as of Oct 16, 2026.
Recent activity
2 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.