Skip to content
Memory corruption Advisory Advanced CVE-2020-1226

Microsoft Office Excel PivotField code execution vulnerability

A use-after-free vulnerability in Microsoft Excel's handling of HTML/XML content in XLS files allows an attacker to execute arbitrary code by providing a malformed file to the victim.

Marcin 'Icewall' Noga Follow

Originally disclosed on Cisco Talos

High 8.8 View original

An exploitable use-after-free vulnerability exists in Excel application of Microsoft Office Professional Plus 2016 x86, version 2002, build 12527.20242 and Microsoft Office 365 ProPlus x86, version 1908, build 11929.20606. A specially crafted XLS file can cause a use after free condition, resulting in a remote code…

Marcin 'Icewall' Noga, on Cisco Talos

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 object is freed but the pointer is not set to null, so later checks are bypassed and the freed memory is reused.

Impact

An attacker could achieve remote code execution with heap grooming, but the exploit requires the victim to open a malicious file.

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.

This report describes a memory corruption bug in Excel. When Excel opens a specially crafted file, it frees an object but keeps using it, which can let an attacker run their own code on the victim's computer. The attacker must convince the victim 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.

More by Marcin 'Icewall' Noga

View all

146 more disclosed reports, best first.

More from Cisco Talos

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Memory corruption

The lesson behind this report.

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.