Microsoft Office class attribute double-free vulnerability
A double-free vulnerability exists in Microsoft Excel's handling of the class attribute in XLS files. An attacker could provide a malicious file to trigger the vulnerability, potentially leading to arbitrary code execution.
Originally disclosed on Cisco Talos
A double-free vulnerability exists in the class attribute functionality of Microsoft Office Excel 2019 x86 - version 2207 build 15427.20210 and version 2202 build 14931.20660. A specially-crafted malformed file can lead to arbitrary 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 the pointer to the class attribute object is not set to null after being freed, so later checks fail and the object is freed again.
Impact
Proper heap grooming could give an attacker full control of this double-free vulnerability and as a result could allow it to be turned into arbitrary code execution.
What the attacker needed
Victim opens a malicious XLS file
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 double-free happens when a program frees the same memory twice. This can let an attacker control what gets written there, potentially running their own code. Here, opening a specially crafted Excel file could trigger this flaw.
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.