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.
Originally disclosed on Microsoft
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
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
- Send a specially crafted Excel workbook to the victim.
- Convince the user to open the workbook for editing.
- 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.