Excel arbitrary code execution exploited in the wild (CVE-2009-0238)
CVE-2009-0238
Actively exploited Excel flaw grants unauthenticated RCE on Windows via malicious .xls. Update to MS09-009 patched version now.
Actively exploited in the wild - CVE-2009-0238 is a high-severity memory corruption vulnerability in Microsoft Excel 2000 SP3 through 2007 SP1 and Excel Viewer that grants an attacker arbitrary code execution with user privileges when a crafted file is opened. Apply Microsoft’s MS09-009 patch immediately.
Overview
A critical vulnerability in Microsoft Excel allows attackers to execute arbitrary code on a victim’s computer. The flaw is triggered when a user opens a specially crafted Excel file, which causes the software to access an invalid object in memory. This vulnerability, tracked as CVE-2009-0238, is confirmed by CISA to be actively exploited by attackers.
Affected Products
The vulnerability impacts a wide range of Microsoft Excel versions:
- Microsoft Office Excel 2000 SP3, 2002 SP3, 2003 SP3, and 2007 SP1
- Excel Viewer 2003 (Gold and SP3)
- Excel Viewer
- Compatibility Pack for Word, Excel, and PowerPoint 2007 File Formats SP1
- Microsoft Office 2004 and 2008 for Mac
Impact and Exploitation
An attacker who successfully exploits this vulnerability can execute arbitrary code with the privileges of the logged-in user. This could lead to a complete compromise of the affected system, including data theft, installation of malware, or creation of backdoors for persistent access. The primary attack vector is social engineering, where a user is tricked into opening a malicious Excel file, often delivered via email.
This vulnerability has been actively exploited in the wild since at least February 2009, with malware like Trojan.Mdropper.AC using it to infect systems. Its high EPSS score of 57.2% indicates a very high probability of continued exploitation attempts in the next 30 days.
Remediation and Mitigation
The primary remediation is to apply the security updates Microsoft provided in Security Bulletin MS09-009. Patches are available for all supported, affected versions of Excel.
If immediate patching is not possible, consider these mitigations:
- Do not open untrusted files: Enforce policies and user training to avoid opening Excel files from unknown or untrusted sources.
- Use Microsoft Office Isolated Conversion Environment (MOICE): When opening files from untrusted sources, use MOICE to help protect Office 2003 installations. Detailed guidance is in Microsoft Security Advisory 935865.
- Restrict file access: Use the Microsoft Office File Block policy to prevent the opening of Excel 2003 and earlier documents from unknown or untrusted sources. Note that this is a workaround and not a complete fix.
Security Insight
CVE-2009-0238 is a classic example of how legacy document-based exploits remain potent tools for initial access. Attack groups, including state-linked APTs like APT28, have long relied on such vulnerabilities to establish footholds. Its presence on the CISA KEV list over a decade after patching underscores the persistent risk posed by unpatched, end-of-life software in enterprise environments, a challenge also seen in modern campaigns by groups like Storm-1175.
Update - May 2026
On 2026-05-13, CVE-2009-0238 was added to the CISA Known Exploited Vulnerabilities (KEV) catalog, reflecting current active exploitation in the wild. The Exploit Prediction Scoring System (EPSS) score has risen sharply from 0.57177 to 0.7491 (99th percentile), indicating a high probability of imminent exploitation attempts targeting unpatched Excel installations.
No new patches have been released; organizations must rely on the original Microsoft security update (MS09-017) from April 2009, or deploy the more recent Office cumulative updates. No additional CVEs in the Excel memory corruption attack pattern have been linked to this vulnerability.
Detection signatures for CVE-2009-0238 exploitation focus on malformed Excel files with crafted record objects triggering stack-based buffer overflows. Network defenders should monitor for unusual Excel file downloads and enable file reputation scanning. SIEM rules should alert on Office application crashes or unusual child process creation from Excel.
Recommended actions: Immediately apply available Office updates to all Excel 2000–2007 and Excel Viewer installations. If patching is not feasible, restrict macro execution, block legacy file formats (XLS, XLA) via Group Policy, and enable Protected View for all downloaded Office files. Prioritize systems handling financial data or with public-facing email.
Further Reading
Never miss a critical vulnerability
Get real-time security alerts delivered to your preferred platform.
Related Advisories
IBM Langflow Desktop 1.0.0 through 1.8.4 Langflow allows an attacker to execute arbitrary commands with the privileges of the process running Langflow. This allows reading sensitive environment variab...
Cockpit CMS contains an authenticated remote code execution vulnerability in the /cockpit/collections/save_collection endpoint that allows authenticated attackers with collection management privileges...
PraisonAI is a multi-agent teams system. Prior to 4.5.115, the create_agent_centric_tools() function returns tools (like acp_create_file) that process file content using template rendering. When user ...
The ReviewX – WooCommerce Product Reviews with Multi-Criteria, Reminder Emails, Google Reviews, Schema & More plugin for WordPress is vulnerable to arbitrary method calls in all versions up to, and in...