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

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 member Follow

Originally disclosed on Cisco Talos

High 7.8 View original

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.

a member, 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 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

  1. Open a specially crafted .JTD document in Ichitaro 2023.
  2. The application parses the Frame stream and constructs a Frame object of type 4.
  3. During parsing of the Figure stream, an error condition causes the object to be freed while still referenced in an array.
  4. 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.

More by A member

View all

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