CVE-2023-21716: Microsoft Word RTF Heap Corruption Remote Code Execution
- Vendor
- Microsoft Corporation
CVE-2023-21716 is a critical remote code execution vulnerability in Microsoft Word caused by heap corruption in the Microsoft Office wwlib component while parsing Rich Text Format content. The flaw resides in the Word RTF parser and can be triggered by a specially crafted RTF document. Successful exploitation occurs when the malicious document is opened in Word, and reporting also indicates the bug can be triggered when the document is merely previewed through Microsoft Outlook's preview pane. The vulnerability affects Microsoft Office and enables attacker-controlled memory corruption during document processing.
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 allows remote code execution in the security context of the user running Microsoft Word or previewing the document through Outlook-integrated Word rendering. This can lead to full compromise of the affected workstation, including execution of follow-on payloads, malware installation, data theft, persistence, and potential lateral movement depending on the victim's privileges and enterprise controls.
Mitigation
If you can’t patch tonight, do this now.
If immediate patching is not possible, reduce exposure by blocking or restricting RTF document handling, especially from untrusted or unsolicited sources, and by warning users not to open unexpected email attachments. Additional temporary risk reduction can include disabling or limiting document preview workflows in email clients where feasible and enforcing attachment filtering and detonation controls for Office and RTF content.
Remediation
Patch, then assume compromise.
Apply the Microsoft security updates released on 2023-02-14 for the affected Microsoft Office and Word products. Organizations should ensure all supported Office installations, including Microsoft 365 Apps and other affected Word-capable products, are updated to the vendor-fixed versions through normal patch management channels.
Exploits
5 exploits validated by Mallory's analysis. Hidden: 2 rejected by Mallory's analysis as not a working exploit.
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.
Frequently asked questions
- Is CVE-2023-21716 exploited in the wild?
- As of Oct 16, 2026, Mallory has no reports of CVE-2023-21716 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2023-21716?
- Yes. Mallory tracks 5 public exploits or proofs of concept for CVE-2023-21716, the earliest disclosed Mar 7, 2023.
- Is there a patch for CVE-2023-21716?
- Apply the Microsoft security updates released on 2023-02-14 for the affected Microsoft Office and Word products. Organizations should ensure all supported Office installations, including Microsoft 365 Apps and other affected Word-capable products, are updated to the vendor-fixed versions through normal patch management channels.
- What products are affected by CVE-2023-21716?
- Microsoft Corporation Microsoft Office, Microsoft Corporation Word, Microsoft Corporation Office Long Term Servicing Channel, Microsoft Corporation Office Online Server, Microsoft Corporation Office Web Apps, and 4 more.
- How severe is CVE-2023-21716?
- CVE-2023-21716 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 9.8% (96th percentile) as of Oct 16, 2026.
Recent activity
15 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.