Computerinsel Photoline SVG Parsing Code Execution Vulnerability
A memory corruption vulnerability exists in the SVG parsing functionality of Computerinsel Photoline 20.02. A specially crafted SVG file can cause memory corruption, potentially leading to arbitrary code execution.
Originally disclosed on Cisco Talos
An memory corruption vulnerability exists in the .SVG parsing functionality of Computerinsel Photoline 20.02. A specially crafted .SVG file can cause a vulnerability resulting in memory corruption, which can potentially lead to arbitrary code execution.
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 size value derived from the SVG path's D attribute is converted from float to int and then multiplied without proper bounds checking, leading to an out-of-bounds write in memset.
Impact
This could potentially lead to arbitrary code execution.
What the attacker needed
Victim opens a malicious SVG 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.
This report describes a bug in an image editing program when it opens a special SVG file. The program makes a mistake in calculating how much memory to use, which can crash it or 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.