Skip to content
Memory corruption Advisory Advanced CVE-2023-35002

Accusoft ImageGear pictwread heap-based buffer overflow vulnerability

A heap-based buffer overflow exists in the pictwread function of Accusoft ImageGear 20.1 when parsing a malformed PICT file, due to a missing bounds check. An attacker could provide a malicious file to trigger arbitrary code execution.

Emmanuel Tacheau Follow

Originally disclosed on Cisco Talos

Critical 9.8 View original

A heap-based buffer overflow vulnerability exists in the pictwread functionality of Accusoft ImageGear 20.1. A specially crafted malformed file can lead to arbitrary code execution.

Emmanuel Tacheau, 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 perform_memcpy_or_memset function does not properly validate the destination buffer size against the size of the data being copied, leading to a write beyond the allocated heap buffer.

Impact

An attacker could achieve arbitrary code execution by providing a malicious PICT file.

What the attacker needed

Victim opens a malicious PICT 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 buffer overflow happens when a program writes more data into a memory area than it was allocated for. This can corrupt nearby memory and let an attacker run their own code. Here, opening a malicious image file could crash the program or allow code execution.

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 Emmanuel Tacheau

View all

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