Skip to content
Memory corruption Advisory Advanced CVE-2018-8429

Microsoft Excel XLS File Use-After-Free Information Disclosure Vulnerability

A use-after-free flaw in how Microsoft Excel handles .xls files lets an attacker craft a file that causes a pointer to be reused after being freed, potentially disclosing sensitive information. The attacker could combine this with other bugs to execute code at medium integrity.

Jaanus Kp Clarified Security Follow

Originally disclosed on Zero Day Initiative

This vulnerability allows remote attackers to disclose sensitive information on vulnerable installations of Microsoft Office Excel. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file.

Jaanus Kp Clarified Security, on the Zero Day Initiative

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 memory management error in Excel's .xls parsing where a pointer is used after its memory has been freed.

Impact

An attacker could disclose sensitive information and, in combination with other vulnerabilities, execute arbitrary code at medium integrity.

What the attacker needed

Victim opens a malicious .xls file

The fix

Microsoft issued an update to correct 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.

When a program frees memory but keeps using a pointer to it, that is a use-after-free. Here, opening a specially made Excel file makes Excel reuse a pointer after the memory is freed, which can leak data or help an attacker run code.

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 Jaanus Kp Clarified Security

View all

33 more disclosed reports, best first.

More from Zero Day Initiative

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.