Microsoft Office Excel HTML and XML Table Code Execution Vulnerability
A malformed XLS file written in HTML/XML format triggers a use-after-free in Excel's HTML/XML table handling, leading to remote code execution. An attacker can provide a malicious file to execute arbitrary code.
Originally disclosed on Cisco Talos
An exploitable code execution vulnerability exists in the HTML and XML Table functionality of Excel in Microsoft Office 2016 Professional Plus, version 2002, build 12527.20242 x86 and Microsoft Office 365 Pro Plus x86, version 1908, build 11929.20606. A specially crafted malformed file can cause remote code execution.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
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: an object is deallocated but the pointer is not nulled, so later checks are bypassed and the freed memory is reused.
Impact
With proper heap grooming, an attacker could turn the use-after-free into arbitrary code execution.
What the attacker needed
Victim opens a malicious XLS file
The fix
The vendor patched the vulnerability.
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.
This report describes a memory bug in Microsoft Excel. When Excel opens a specially crafted spreadsheet file, it frees an object in memory but keeps using it, which can let an attacker run their own code on the victim's computer. The attacker only needs to convince someone to open the malicious file.
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.