← Vulnerability feed

Vulnerability record · CVE-2009-0563 · published 10 June 2009

CVE-2009-0563: Microsoft Word stack buffer overflow via crafted document tag

Microsoft · Office

A stack-based buffer overflow exists in Microsoft Word and related Office components when parsing a Word document containing a crafted tag with an invalid length field. Successful exploitation allows remote code execution in the context of the user who opens the document. The flaw affects multiple Word versions and viewers, making it broadly relevant to document-handling environments.

7.8 CVSS 3.1 High CISA KEV since 8 Jun 2022 EPSS 63% · top 0.8% CWE-787 · Out-of-bounds write
7.8CVSS 3.1 base score, v2 9.3
63%EPSS exploitation probability, 30 days
YesIn CISA KEV, fix deadline passed
4Affected product versions listed by NVD
19References
16 Jun 2026Last modified by NVD

Description

Stack-based buffer overflow in Microsoft Office Word 2002 SP3, 2003 SP3, and 2007 SP1 and SP2; Microsoft Office for Mac 2004 and 2008; Open XML File Format Converter for Mac; Microsoft Office Word Viewer 2003 SP3; Microsoft Office Word Viewer; and Microsoft Office Compatibility Pack for Word, Excel, and PowerPoint 2007 File Formats SP1 and SP2 allows remote attackers to execute arbitrary code via a Word document with a crafted tag containing an invalid length field, aka "Word Buffer Overflow Vulnerability."

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 17 September 2026. Confidence: high.

critical priorityThe vulnerability is in CISA KEV with a high EPSS score and allows remote code execution via a common attack vector (malicious document), posing an immediate risk to unpatched systems.

What it is

A stack-based buffer overflow exists in Microsoft Word and related Office components when parsing a Word document containing a crafted tag with an invalid length field. Successful exploitation allows remote code execution in the context of the user who opens the document. The flaw affects multiple Word versions and viewers, making it broadly relevant to document-handling environments.

Impact

An attacker can execute arbitrary code with the privileges of the user who opens the malicious document. This can lead to full system compromise, data theft, or installation of malware.

Attack surface

The vulnerability is reached by opening a specially crafted Word document, requiring user interaction (UI:R) and no authentication (PR:N). The CVSS vector indicates local access (AV:L), consistent with opening a file on the target system.

Exploitation

CVE-2009-0563 is listed in CISA's Known Exploited Vulnerabilities catalog (added 2022-06-08), indicating active exploitation in the wild. EPSS probability is 0.63081 (99.16th percentile), reflecting a high likelihood of exploitation.

What to do

  • Apply the Microsoft security update referenced in MS09-027 immediately.
  • Disable or restrict the use of affected Word versions and viewers where patching is not possible.
  • Use Microsoft Office File Block policies to prevent opening untrusted Word documents.
  • Educate users not to open unexpected or unsolicited Word attachments.
  • Consider application whitelisting and endpoint detection to block malicious document execution.

Detection

  • Monitor for Word processes spawning child processes such as cmd.exe or powershell.exe.
  • Inspect Word documents for malformed tags or invalid length fields using static analysis or sandboxing.
  • Review endpoint logs for unusual file writes or network connections originating from WINWORD.EXE.
  • Use YARA rules to detect known exploit patterns in Word documents.

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-2009-0563 to the Known Exploited Vulnerabilities catalog on 8 June 2022 as "Microsoft Office Buffer Overflow Vulnerability". Required action: Apply updates per vendor instructions. Federal deadline 22 June 2022.

Affected products

4 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
http://osvdb.org/54959 Broken Link
http://www.securityfocus.com/archive/1/504204/100/0/threaded Broken LinkThird Party AdvisoryVDB Entry
http://www.securityfocus.com/bid/35188 Broken LinkThird Party AdvisoryVDB Entry
http://www.securitytracker.com/id?1022356 Broken LinkThird Party AdvisoryVDB Entry
http://www.us-cert.gov/cas/techalerts/TA09-160A.html Broken LinkThird Party AdvisoryUS Government Resource
http://www.vupen.com/english/advisories/2009/1546 Broken Link
http://www.zerodayinitiative.com/advisories/ZDI-09-035 Third Party AdvisoryVDB Entry
https://docs.microsoft.com/en-us/security-updates/securitybulletins/2009/ms09-027 PatchVendor Advisory
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A6133 Broken Link
http://osvdb.org/54959 Broken Link
http://www.securityfocus.com/archive/1/504204/100/0/threaded Broken LinkThird Party AdvisoryVDB Entry
http://www.securityfocus.com/bid/35188 Broken LinkThird Party AdvisoryVDB Entry
http://www.securitytracker.com/id?1022356 Broken LinkThird Party AdvisoryVDB Entry
http://www.us-cert.gov/cas/techalerts/TA09-160A.html Broken LinkThird Party AdvisoryUS Government Resource
http://www.vupen.com/english/advisories/2009/1546 Broken Link
http://www.zerodayinitiative.com/advisories/ZDI-09-035 Third Party AdvisoryVDB Entry
https://docs.microsoft.com/en-us/security-updates/securitybulletins/2009/ms09-027 PatchVendor Advisory
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A6133 Broken Link
https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2009-0563 US Government Resource

Track CVE-2009-0563 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.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2023-23397Microsoft Outlook improper input validation privilege escalationCVE-2023-23397 is a critical elevation of privilege flaw in Microsoft Outlook caused by improper input validation and an authentication bypass by cap…KEVEPSS 97%analysed8.8CVE-2023-35311Microsoft Outlook security feature bypass via TOCTOU race conditionCVE-2023-35311 is a security feature bypass in Microsoft Outlook caused by a time-of-check time-of-use (TOCTOU) race condition (CWE-367). It affects …KEVEPSS 16%analysed8.8CVE-2019-1297Microsoft Excel memory handling flaw allows remote code executionCVE-2019-1297 is a remote code execution vulnerability in Microsoft Excel caused by improper handling of objects in memory. An attacker who convinces…KEVEPSS 22%analysed8.8CVE-2019-0541Microsoft MSHTML engine input validation flaw allows remote code executionThe MSHTML engine in Microsoft Office, Internet Explorer and related viewers fails to properly validate input, allowing remote code execution. Becaus…KEVEPSS 53%analysed8.8CVE-2018-0798Microsoft Office Equation Editor memory corruption RCEEquation Editor in Microsoft Office 2007 through 2016 mishandles objects in memory, producing an out-of-bounds write (CWE-787) that can be turned int…KEVEPSS 95%analysed8.8CVE-2015-2424Microsoft Office memory corruption via crafted documentCVE-2015-2424 is an out-of-bounds write (CWE-787) in Microsoft PowerPoint and Word that is triggered when a crafted Office document is opened. A remo…KEVEPSS 40%analysed8.8CVE-2015-1770Microsoft Office uninitialized memory use allows remote code executionMicrosoft Office 2013 SP1 and 2013 RT SP1 mishandle uninitialized memory when parsing a crafted Office document, which can lead to arbitrary code exe…KEVEPSS 35%analysed8.8CVE-2012-1856Microsoft Office MSCOMCTL.OCX TabStrip ActiveX Control Remote Code ExecutionThe TabStrip ActiveX control in MSCOMCTL.OCX fails to properly handle system state, allowing a crafted document or web page to corrupt memory and exe…KEVEPSS 72%analysed

Source: NIST National Vulnerability Database (record CVE-2009-0563), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.