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

Microsoft Office Excel Remote Code Execution Vulnerability (CVE-2026-118721)

A heap-based buffer overflow exists in Microsoft Office Excel. An attacker could send a crafted workbook and convince a user to open it and type a formula, potentially executing code with the user's permissions.

Jeongmin Choi Follow

Originally disclosed on Microsoft

High 8.8 View original

Description

Heap-based buffer overflow in Microsoft Office Excel allows an unauthorized attacker to execute code over a network.

FAQ

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

FAQ

How could an attacker exploit this vulnerability? An attacker could send a specially crafted Excel workbook and convince a user to open it for editing and begin typing a formula. Successful exploitation could allow the attacker to execute code with the permissions of the user running Excel. The attacker does not need an account on the affected system.

Microsoft Office Excel

Microsoft Office Excel

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by Jeongmin Choi. 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 Excel processes a crafted workbook when a formula is entered.

Impact

Successful exploitation could allow the attacker to execute code with the permissions of the user running Excel; the Preview Pane is not an attack vector.

What the attacker needed

Victim opens a crafted workbook; victim types a formula

How it was found

  1. Send a specially crafted Excel workbook to the victim.
  2. Convince the user to open the workbook for editing.
  3. Get the user to begin typing a formula.

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 memory area than it can hold, which can corrupt nearby memory. Here, opening a malicious Excel file and typing a formula could let an attacker run their own code on your computer with your user rights.

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 Jeongmin Choi

View all

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