Skip to content
Memory corruption Advisory Advanced CVE-2020-27247CVE-2020-27248CVE-2020-27249CVE-2020-27250CVE-2020-28587

SoftMaker Office PlanMaker Excel document CEscherObject::ReadNativeProperties multiple heap buffer overflow vulnerabilities

A heap-based buffer overflow exists in PlanMaker's parsing of Office Art records inside Excel documents, where a record's declared length is copied into a fixed-size buffer in an object that is too small. An attacker could entice a victim to open a crafted document to trigger the overflow, potentially leading to code execution.

A member Follow

Originally disclosed on Cisco Talos

High 8.8 View original

An exploitable heap-based buffer overflow vulnerability exists in the Office Art record-parsing functionality of SoftMaker Office 2021’s PlanMaker application. A specially crafted document can cause the document parser to copy data from a particular record type into a static-sized buffer within an object that is…

a member, 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 parser copies a record's declared length into a fixed-size buffer inside an object without checking that the buffer is large enough.

Impact

Opening a crafted document could corrupt heap memory, which may allow an attacker to execute code in the context of the user, though the text does not demonstrate a working exploit.

What the attacker needed

Victim opens a crafted Excel document

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.

Spreadsheet programs read files made of many small labelled chunks called records. Here the program trusted a length written in the file and copied that many bytes into a fixed-size space in memory, so a longer length spills over into neighbouring memory. A booby-trapped file could therefore corrupt the program's memory when opened.

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 A member

View all

110 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.