Skip to content
Memory corruption Advisory Advanced CVE-2016-8730

Corel PHOTO-PAINT X8 GIF Filter Code Execution Vulnerability

A memory corruption vulnerability exists in the GIF parsing functionality of Corel PHOTO-PAINT X8. A specially crafted GIF file can cause an out-of-bounds write, potentially leading to code execution.

Piotr Bania Follow

Originally disclosed on Cisco Talos

High 8.8 View original

An of bound write / memory corruption vulnerability exists in the GIF parsing functionality of Core PHOTO-PAINT X8 18.1.0.661. A specially crafted GIF file can cause a vulnerability resulting in potential memory corruption resulting in 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 program uses a value from the GIF file to calculate a loop count without proper bounds checking, leading to an out-of-bounds write.

Impact

An attacker could potentially execute arbitrary code by sending a victim a malicious GIF file.

What the attacker needed

Victim opens a malicious GIF 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 how Corel PHOTO-PAINT opens GIF image files. A malicious GIF can trick the program into writing data past the end of a memory buffer, which could let an attacker run their own code on your computer. You would need to open the specially crafted GIF file to trigger it.

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.