Microsoft Office Excel Remote Code Execution Vulnerability (CVE-2026-124187)
A use-after-free flaw in Microsoft Office Excel could let an attacker run code on a victim's machine. The attacker sends a crafted workbook and persuades the user to open it and review tracked changes, after which code may run in the user's context.
Originally disclosed on Microsoft
Description
Use after free 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
According to the CVSS metric, the attack vector is network (AV:N) and user interaction is required (UI:R). What is the target context of the remote code execution? This attack requires a user to open a specially crafted file from the attacker to initiate remote code execution.
FAQ
How could an attacker exploit this vulnerability? An attacker could send a specially crafted Excel workbook and convince a user to open it and review tracked changes. Successful exploitation could allow the attacker to execute code in the user's context.
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 use-after-free in Excel's handling of tracked changes, where memory is freed but still referenced.
Impact
Successful exploitation could allow the attacker to execute code in the user's context, but the victim must open the file and review tracked changes, and the Preview Pane is not an attack vector.
What the attacker needed
Victim opens a crafted workbook; victim reviews tracked changes
How it was found
- Create a specially crafted Excel workbook.
- Send the workbook to the victim.
- Convince the victim to open it and review tracked changes.
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 memory bug where it keeps using a piece of memory after freeing it, which is called a use-after-free. If a victim opens a malicious spreadsheet and looks at tracked changes, the attacker may be able to run their own code as that user. The victim has to be tricked into opening the file, so it is not something that happens on its own.
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.