Skip to content
Memory corruption Advisory Advanced CVE-2017-2886

ACDSee Ultimate 10 IDE_PSD PSD Parsing Code Execution Vulnerability

The PSD parsing plugin in ACDSee Ultimate 10 reads a 16-bit size value straight from the file and uses it as the length for a memory copy, so a crafted PSD file causes an out-of-bounds write. An attacker could send such a file to a victim and potentially achieve code execution.

Piotr Bania Follow

Originally disclosed on Cisco Talos

High 8.8 View original

A memory corruption vulnerability exists in the .PSD parsing functionality of ACDSee Ultimate 10.0.0.292. A specially crafted .PSD file can cause an out of bounds write vulnerability resulting in potential code execution.

Piotr Bania, 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 the parser uses an unchecked 16-bit length read from the PSD file as the size argument to a memory copy, without validating it against the destination buffer size.

Impact

A crafted PSD file causes an out-of-bounds write and heap corruption, which could potentially lead to code execution when the victim opens the file.

What the attacker needed

Victim opens a crafted .PSD 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.

Image viewers have to read file formats like PSD, and they trust numbers stored inside the file to know how much data to copy. Here the program took a size number from the file without checking it against the real buffer size, so it copied too much data and wrote past the end of a memory buffer. That kind of memory corruption can sometimes be turned into running an attacker's 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 Piotr Bania

View all

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