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

ACD Systems Canvas Draw 5 Resolution_Set out-of-bounds write code execution vulnerability

A specially crafted TIFF image with a tiled layout and a malicious resolution tag causes an out-of-bounds write in Canvas Draw 5. An attacker could deliver such an image to trigger the write and potentially gain code execution.

Tyler Bohan Follow

Originally disclosed on Cisco Talos

High 8.8 View original

An exploitable out-of-bounds write exists in the TIFF-parsing functionality of Canvas Draw version 5.0.0. A specially crafted TIFF image processed via the application can lead to an out-of-bounds write, overwriting arbitrary data.

Tyler Bohan, 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, a user-controlled value from the TIFF resolution tag is used to calculate a destination address without proper bounds checking, leading to an out-of-bounds write.

Impact

An attacker could exploit this to gain code execution by crafting a special TIFF image.

What the attacker needed

Victim opens a malicious TIFF image

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.

An out-of-bounds write happens when a program writes data past the end of a memory buffer, corrupting other memory. Here, opening a malicious TIFF image causes the program to write to an address it should not, which can let an attacker 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 Tyler Bohan

View all

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