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

JustSystems Corporation Ichitaro "LayoutBox" stream heap-based buffer overflow vulnerability

A heap-based buffer overflow exists in Ichitaro's processing of the LayoutBox stream, specifically for element type 0x6003. An attacker could craft a malicious document that, when opened, causes memory corruption and potentially arbitrary code execution.

A member Follow

Originally disclosed on Cisco Talos

High 7.0 View original

A heap-based buffer overflow vulnerability exists in the way Ichitaro version 2022 1.0.1.57600 processes certain LayoutBox stream record types. A specially crafted document can cause a buffer overflow, leading to memory corruption, which can result in arbitrary code execution.To trigger this vulnerability, the victim…

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 a heap-based buffer overflow because a 16-bit length from the file is used to copy data into a fixed-size buffer without proper bounds checking.

Impact

This could allow arbitrary code execution under the context of the application.

What the attacker needed

Victim opens a malicious document

How it was found

  1. Open a malicious document in Ichitaro.
  2. The application processes the LayoutBox stream.
  3. For element type 0x6003, the length is read and used in a loop that writes to a fixed-size buffer.
  4. The loop can write beyond the buffer, causing 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.

Ichitaro is a word processor. A malicious document can contain a specially crafted section that, when opened, causes the program to write more data than it has space for, corrupting memory. This could let an attacker 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.