Skip to content
Memory corruption Advisory Advanced CVE-2025-32717

Microsoft Word Remote Code Execution Vulnerability (CVE-2025-32717)

A heap-based buffer overflow exists in Microsoft Office Word, which an attacker can trigger by crafting a malicious RTF file. If a user opens the file or it is rendered in the preview pane, the attacker could execute arbitrary code in the user's context.

Haifei Li Follow

Originally disclosed on Microsoft

Critical 8.4 View original

Description

Heap-based buffer overflow in Microsoft Office Word allows an unauthorized attacker to execute code locally.

FAQ

How could an attacker exploit this vulnerability? An unauthenticated attacker could exploit this vulnerability by crafting a malicious RTF file. If a user opens the file or it is rendered in the preview pane, the attacker could execute arbitrary code in the user's context.

FAQ

Are the updates for the Microsoft 365 for Office currently available? The security update for Microsoft 365 are not immediately available. The updates will be released as soon as possible, and when they are available, customers will be notified via a revision to this CVE information.

FAQ

According to the CVSS metric, the attack vector is local (AV:L). Why does the CVE title indicate that this is a remote code execution? The word Remote in the title refers to the location of the attacker. This type of exploit is sometimes referred to as Arbitrary Code Execution (ACE). The attack itself is carried out locally. This means an attacker or victim needs to execute code from the local machine to exploit the vulnerability.

FAQ

Is the Preview Pane an attack vector for this vulnerability? Yes, the Preview Pane is an attack vector.

Microsoft Office Word

Microsoft Office Word

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by Haifei Li with EXPMON. Images and videos are our own copies; raw HTML is shown as text. View it on Microsoft Security Response Center.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely a heap-based buffer overflow in how Word parses RTF content, allowing memory corruption when a crafted file is processed.

Impact

An unauthenticated attacker could execute arbitrary code in the user's context, and the preview pane is also an attack vector, though the attack itself is carried out locally.

What the attacker needed

Victim opens a crafted RTF file; or the file is rendered in the preview pane

The fix

A security update addresses the flaw, though the Microsoft 365 for Office update was not immediately available at the time of publication.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

Word has a memory handling flaw: when it reads a specially made document in the RTF format, it can write more data into a memory area than that area can hold. A criminal can use this to make Word run their own code on the victim's computer, usually just by getting the person to open the file or even preview it.

What is Memory corruption?

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.

More by Haifei Li

View all

33 more disclosed reports, best first.

More from Microsoft

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Memory corruption

The lesson behind this report.

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.