ACD Systems Canvas Draw 4 PlanarConfiguration Heap Overflow Code Execution Vulnerability
A heap overflow exists in Canvas Draw 4 when parsing a tiled TIFF image with the PlanarConfiguration tag set to the default chunky value. An attacker could deliver a crafted TIFF to trigger an out-of-bounds write and potentially execute code.
Originally disclosed on Cisco Talos
An exploitable heap overflow exists in the TIFF parsing functionality of Canvas Draw version 4.0.0. A specially crafted TIFF image processed via the application can lead to an out-of-bounds write, overwriting arbitrary data.
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 the loop counter for unpacking planar data is calculated incorrectly because a size value is used directly without proper bounds checking, leading to a buffer overflow.
Impact
An attacker could potentially execute arbitrary code by overwriting memory with crafted data.
What the attacker needed
Victim opens a crafted TIFF file
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 heap overflow is a memory corruption bug where a program writes more data than a buffer can hold, overwriting nearby memory. Here, a specially crafted image file causes the program to miscalculate a loop counter, leading to such an overflow. 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.