Vulnerability record · CVE-2012-2539 · published 12 December 2012
CVE-2012-2539: Microsoft Word RTF listoverridecount memory corruption RCE
Microsoft · Office Compatibility Pack
Microsoft Word, Word Viewer, Office Compatibility Pack and Office Web Apps mishandle crafted RTF data, causing an out-of-bounds write (CWE-787) that corrupts memory. Successful exploitation allows arbitrary code execution in the context of the opening user, and the flaw is listed in CISA KEV, so it is a confirmed real-world target.
Description
Microsoft Word 2003 SP3, 2007 SP2 and SP3, and 2010 SP1; Word Viewer; Office Compatibility Pack SP2 and SP3; and Office Web Apps 2010 SP1 allow remote attackers to execute arbitrary code or cause a denial of service (memory corruption) via crafted RTF data, aka "Word RTF 'listoverridecount' Remote Code Execution Vulnerability."
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Automated analysis
high priorityConfirmed exploitation via CISA KEV and very high EPSS, but exploitation requires a user to open a crafted RTF file, limiting it below critical.
What it is
Microsoft Word, Word Viewer, Office Compatibility Pack and Office Web Apps mishandle crafted RTF data, causing an out-of-bounds write (CWE-787) that corrupts memory. Successful exploitation allows arbitrary code execution in the context of the opening user, and the flaw is listed in CISA KEV, so it is a confirmed real-world target.
Impact
An attacker gains arbitrary code execution with the privileges of the user who opens the document, or can crash the application to cause a denial of service.
Attack surface
Reached by a user opening a crafted RTF document or previewing it in an affected Office product; the CVSS vector shows local access with user interaction and no privileges required, so the victim must open or preview the malicious file.
Exploitation
CVE-2012-2539 is in CISA KEV (added 2022-03-28) and has a high EPSS 30-day probability of 0.53159 (99th percentile), indicating observed exploitation and elevated risk.
What to do
- Apply Microsoft security bulletin MS12-079 updates to all affected Word, Word Viewer, Office Compatibility Pack and Office Web Apps installations.
- Retire or isolate unsupported end-of-life versions (Word 2003 SP3, 2007 SP2/SP3, 2010 SP1) that cannot be patched.
- Block or strip inbound RTF attachments at mail and web gateways where business needs allow.
- Disable RTF preview in Outlook and Windows Explorer to remove the preview-based attack path.
- Run Office with least privilege and consider Protected View for documents from untrusted sources.
Detection
- Hunt for Office processes (WINWORD.EXE, wordview.exe) spawning child processes such as cmd.exe, powershell.exe or wscript.exe.
- Monitor for Word or Word Viewer crashes and memory-corruption events tied to RTF file opens.
- Alert on RTF files arriving as email attachments or downloads from external sources, especially with embedded objects.
- Review endpoint telemetry for document files written to temp or startup locations shortly after an Office document is opened.
This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.
Exploitation in the wild
CISA added CVE-2012-2539 to the Known Exploited Vulnerabilities catalog on 28 March 2022 as "Microsoft Word Remote Code Execution Vulnerability". Required action: Apply updates per vendor instructions. Federal deadline 18 April 2022.
Affected products
5 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| http://www.us-cert.gov/cas/techalerts/TA12-346A.html | Third Party AdvisoryUS Government Resource |
| https://docs.microsoft.com/en-us/security-updates/securitybulletins/2012/ms12-079 | PatchVendor Advisory |
| https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A16073 | Broken Link |
| http://www.us-cert.gov/cas/techalerts/TA12-346A.html | Third Party AdvisoryUS Government Resource |
| https://docs.microsoft.com/en-us/security-updates/securitybulletins/2012/ms12-079 | PatchVendor Advisory |
| https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A16073 | Broken Link |
| https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2012-2539 | US Government Resource |
Track CVE-2012-2539 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-2539), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.