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

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

A stack-based buffer overflow exists in Microsoft Office Excel. An attacker who persuades a user to open a crafted workbook, activate an embedded chart and use Decrease Decimal on a cell in the chart's datasheet could execute code with the user's privileges.

0ccbbf129444eb66344ccafb92b00df4 Follow

Originally disclosed on Microsoft

High 8.8 View original

Description

Stack-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 convince a user to open a specially crafted workbook in an affected version of Office, activate its embedded chart, and use Decrease Decimal on a cell in the chart's datasheet. Successful exploitation could allow the attacker to execute code with the user's privileges.

Microsoft Office Excel

Microsoft Office Excel

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by 0ccbbf129444eb66344ccafb92b00df4. 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 missing length check when handling a cell value in an embedded chart's datasheet, allowing a stack buffer to be overrun.

Impact

Successful exploitation could allow the attacker to execute code with the user's privileges; the Preview Pane is not an attack vector.

What the attacker needed

Victim opens a crafted workbook; victim activates the embedded chart; victim uses Decrease Decimal on a cell

How it was found

  1. Convince the user to open a specially crafted workbook in an affected version of Office.
  2. Have the user activate the workbook's embedded chart.
  3. Have the user use Decrease Decimal on a cell in the chart's datasheet.

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.

Excel has a small area of memory set aside to hold data while it works. In this bug, a crafted workbook makes Excel write more into that area than it can hold, so the extra data spills over into neighbouring memory. An attacker can use that spill to run their own code on the victim's computer, with the same rights the victim has.

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 0ccbbf129444eb66344ccafb92b00df4

View all

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