Skip to content
Memory corruption Advisory Advanced CVE-2026-66807

Microsoft Office Graphics Component Remote Code Execution Vulnerability (CVE-2026-66807)

A stack-based buffer overflow exists in a Microsoft Office graphics component, and an attacker who convinces a user to open a crafted Office file could run code on that machine. The attack is carried out locally, though the file can be delivered remotely, and the Preview Pane is also a vector.

Sriram Sridhar Follow

Originally disclosed on Microsoft

Critical 7.8 View original

Description

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

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

According to the CVSS metric, user interaction is required (UI:R). What interaction would the user have to do? An attacker must send a user a malicious Office file and convince them to open it.

FAQ

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

Microsoft Office

Microsoft Office

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by Sriram Sridhar. 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

Impact

An attacker could execute code on the victim's machine, but only after the victim opens or previews a malicious file, so user interaction is required.

What the attacker needed

Victim opens a malicious Office file; or victim previews the file in Preview Pane

The fix

Microsoft should fix the unchecked buffer copy in the graphics component; the text only says customer action is required and does not state that a patch was released.

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.

A buffer overflow is when a program writes more data into a fixed-size memory space than it can hold, spilling into nearby memory. Here a specially made Office file triggers this in a graphics component, and the spilled data can be arranged so the program runs the attacker's instructions instead. The victim has to open the file, or even just preview it, for this to happen.

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 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.