Computerinsel Photoline PSD Blending Channel Code Execution Vulnerability
A stack-based buffer overflow exists in Photoline's PSD parsing when handling blending channel data, because a length value read from the image is used directly in a memory copy into a fixed stack buffer. An attacker could deliver a crafted PSD file to trigger the overflow and potentially gain code execution.
Originally disclosed on Cisco Talos
A memory corruption vulnerability exists in the PSD-parsing functionality of Computerinsel Photoline 20.54. A specially crafted PSD image processed via the application can lead to a stack overflow, 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
Impact
A crafted PSD could overwrite stack data and potentially lead to code execution, though a stack cookie is present and would need to be circumvented.
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.
A PSD file is an image format that can contain layers and extra data. This program reads a size value from the file and uses it to copy data into a small fixed area of memory without checking the size, so a huge value spills over into nearby memory. That spill can crash the program and, in the right conditions, 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.