AnyCubic Chitubox AnyCubic Plugin readDatHeadVec heap-based buffer overflow vulnerability
A heap-based buffer overflow exists in the readDatHeadVec function of the AnyCubic Chitubox plugin due to a 32-bit integer overflow when calculating the size of a vector. An attacker can provide a malicious GF file to trigger the overflow, potentially leading to code execution.
A heap-based buffer overflow vulnerability exists in the readDatHeadVec functionality of AnyCubic Chitubox AnyCubic Plugin 1.0.0. A specially-crafted GF file can lead to a heap buffer overflow.
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 32-bit integer overflow in the multiplication used to size a vector, while a later 64-bit multiplication determines the amount of data read, causing a heap buffer overflow.
Impact
An attacker could exploit this to cause a heap buffer overflow, potentially leading to code execution with the privileges of the user running the plugin.
What the attacker needed
Victim opens a malicious GF 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 memory corruption bug in a file conversion plugin. When the plugin reads a specially crafted file, it miscalculates how much memory to allocate, then writes more data than fits, which can crash the program 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.