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

SoftMaker Office PlanMaker Document Record 0x800d memory corruption vulnerability

A heap-based buffer overflow exists in the PlanMaker document parser when handling record type 0x800d. An attacker could entice a victim to open a crafted document, leading to memory corruption and potential 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 PlanMaker document 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 buffer that is smaller than the size used for the…

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

The parser allocates a fixed 2048-byte buffer but then copies a record length read from the file without validating that it fits within the buffer.

Impact

This could allow an attacker to corrupt memory and potentially execute code under the context of the application.

What the attacker needed

Victim opens a crafted document

The fix

The vulnerability was fixed by the vendor in January 2021.

How it was found

  1. Craft a PlanMaker document containing a record of type 0x800d with a length field larger than 2048 bytes.
  2. Open the crafted document in PlanMaker.
  3. The parser allocates a 2048-byte buffer and then copies the record's contents using the untrusted length, causing a heap overflow.

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 buffer overflow happens when a program writes more data into a memory area than it can hold, corrupting nearby data. Here, the program trusts a length value from the file and copies that many bytes into a fixed-size buffer, allowing an attacker to overwrite memory and potentially run their own 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 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.