Microsoft Office Excel Remote Code Execution Vulnerability (CVE-2026-118299)
A heap-based buffer overflow exists in Microsoft Office Excel. An attacker could convince a user to open a specially crafted spreadsheet and apply AutoFormat to its cells, potentially executing code with the user's privileges.
0ccbbf129444eb66344ccafb92b00df4 Follow
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 convince a user to open a specially crafted spreadsheet in an affected version of Excel and apply AutoFormat to its cells. 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 heap-based buffer overflow in how Excel processes spreadsheet data when AutoFormat is applied.
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 spreadsheet; victim applies AutoFormat to cells; affected version of Excel
How it was found
- Convince a user to open a specially crafted spreadsheet in an affected version of Excel.
- Apply AutoFormat to its cells.
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 spreadsheet and using a formatting feature could let an attacker run their own code on the victim's computer, with the same permissions as the victim.
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.