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

Atlantis Word Processor Office Open XML TTableRow double free code execution vulnerability

A double-free vulnerability exists in the Office Open XML parser of Atlantis Word Processor 3.2.5.0. A specially crafted document can cause a TTableRow object to be freed twice, leading to heap corruption that could be exploited for code execution.

A member Follow

Originally disclosed on Cisco Talos

High 8.8 View original

An exploitable double-free vulnerability exists in the Office Open XML parser of Atlantis Word Processor, version 3.2.5.0. A specially crafted document can cause a TTableRow instance to be referenced twice, resulting in a double-free vulnerability when both the references go out of scope.

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 mishandles malformed XML where an 'rPr' element spans two 'tr' elements, causing the same TTableRow object to be freed twice.

Impact

This double-free can cause heap corruption, which could be exploited to achieve code execution under the context of the application.

What the attacker needed

Victim opens a malicious document

The fix

The vendor patched the vulnerability via a beta version and later released a fixed version.

How it was found

  1. Create a malformed Office Open XML document with an 'rPr' element that opens inside one 'tr' and closes inside another 'tr'.
  2. Open the document in Atlantis Word Processor.
  3. The parser constructs two TTableRow objects that reference the same parent, leading to a double-free when the tags are closed.

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 double-free happens when a program tries to release the same piece of memory twice. This can corrupt the memory and let an attacker run their own code. Here, opening a malicious document triggers the bug.

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.