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

JustSystems Corporation Ichitaro 2023 DocumentViewStyles and DocumentEditStyles stream relative write vulnerabilities

An out-of-bounds write vulnerability exists in the parsers for the DocumentViewStyles and DocumentEditStyles streams of Ichitaro 2023 when processing style record type 0x2008 with sub-record types 0x0000-0x0009. A specially crafted document can cause memory corruption, potentially leading to arbitrary code execution.

A member Follow

Originally disclosed on Cisco Talos

High 7.8 View original

An out-of-bounds write vulnerability exists within the parsers for both the “DocumentViewStyles” and “DocumentEditStyles” streams of Ichitaro 2023 1.0.1.59372 when processing types 0x0000-0x0009 of a style record with the type 0x2008. A specially crafted document can cause memory corruption, which can lead to…

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

The code uses a 16-bit index from the file to access a fixed-size array of six object pointers without validating that the index is within bounds.

Impact

A specially crafted document can cause memory corruption, which could lead to arbitrary code execution.

What the attacker needed

Victim opens a malicious JTD file; Ichitaro 2023 installed

How it was found

  1. Open a malicious JTD document in Ichitaro 2023.
  2. The application parses the DocumentViewStyles and DocumentEditStyles streams.
  3. A style record of type 0x2008 is processed, reading sub-records with types 0x0000-0x0009.
  4. Each sub-record provides a 16-bit index that is used to access a six-element array without bounds checking.
  5. An out-of-bounds write occurs, 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 that opens document files. When it reads a specially made file, it can write data past the end of a small list of six items because it trusts a number from the file without checking it. This can crash the program or 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.