Skip to content
Memory corruption Advisory Advanced CVE-2019-5032

Aspose Aspose.Cells for C++ LabelSst Code Execution Vulnerability

An out-of-bounds read vulnerability exists in the LabelSst record parser of Aspose.Cells for C++ 19.1.0. A specially crafted XLS file can cause an out-of-bounds read, potentially leading to remote code execution.

Marcin Noga Follow

Originally disclosed on Cisco Talos

Critical 9.8 View original

An exploitable out-of-bounds read vulnerability exists in the LabelSst record parser of Aspose Aspose.Cells for C++ 19.1.0. A specially crafted XLS file can cause an out-of-bounds read, resulting in remote code execution.

Marcin 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

The LabelSst record's isst field is not validated against the size of the SST record's string array, leading to an out-of-bounds array access.

What the attacker needed

Victim opens a malicious XLS file; vulnerable Aspose.Cells library

The fix

The vendor patched the vulnerability on 2019-08-30.

How it was found

  1. Create a specially crafted XLS file with a malicious LabelSst record.
  2. Open or convert the file using the vulnerable Aspose.Cells library.
  3. The library reads the isst field and uses it as an index without bounds checking.
  4. An out-of-bounds read occurs, leading to a crash or potential code execution.

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 library that reads spreadsheet files. When the library processes a malicious file, it reads memory outside the intended area, which can crash the program or let an attacker run their own code. The attacker only needs to trick someone into opening the 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 Noga

View all

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