JustSystems Corporation Ichitaro "Figure" stream use-after-free vulnerability
A use-after-free vulnerability in the Figure stream parsing of Ichitaro 2023 allows a crafted document to cause memory corruption, potentially leading to arbitrary code execution when the victim opens the file.
A use-after-free vulnerability exists in the Figure stream parsing functionality of Ichitaro 2023 1.0.1.59372. A specially crafted document can cause memory corruption, resulting in 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 the code frees an object that was already stored in an array, leaving a dangling pointer that is later used.
Impact
A crafted document could cause memory corruption, potentially leading to arbitrary code execution under the context of the user.
What the attacker needed
Victim opens a malicious .JTD file
How it was found
- Open a specially crafted .JTD document in Ichitaro 2023.
- The application parses the Frame stream and constructs a Frame object of type 4.
- During parsing of the Figure stream, an error condition causes the object to be freed while still referenced in an array.
- Later, the application iterates over the array and calls a virtual method on the freed object, leading to memory corruption.
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 bug in a word processor. When the program opens a malicious document, it frees a piece of memory but keeps a pointer to it, and later uses that pointer again. An attacker can exploit this to run their own code on the victim's computer.
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.