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
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
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
- Convince the user to open a specially crafted workbook in an affected version of Office.
- Have the user activate the workbook's embedded chart.
- 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.