SoftMaker Office PlanMaker Excel document record 0x00fc memory corruption vulnerability
A heap buffer overflow exists in the parsing of the SST record (0x00fc) in SoftMaker Office PlanMaker 2021. An attacker can provide a malicious Excel file to trigger memory corruption, potentially leading to code execution.
A memory corruption vulnerability exists in the Excel Document SST Record 0x00fc functionality of SoftMaker Software GmbH SoftMaker Office PlanMaker 2021 (Revision 1014). A specially crafted malformed file can lead to a heap buffer overflow.
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 application allocates a fixed-size heap buffer of 0x6060 bytes but then copies a length read from the file (up to 0xffff) into it without checking the size.
Impact
This allows for memory corruption which can lead to code execution under the context of the application.
What the attacker needed
Victim opens a malicious file
How it was found
- Open the crafted Excel document in PlanMaker.
- The parser reads the SST record (type 0x00fc) and extracts a length field.
- It allocates a 0x6060-byte heap buffer.
- It copies data from the record into the buffer using the length from the file, overflowing the buffer.
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 bug in a spreadsheet program. When the program opens a specially crafted file, it copies too much data into a fixed-size memory area, causing memory corruption. An attacker could use this to run their own code on the victim's computer.
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.