---
id: CVE-2026-115801
title: Kakao khaiii JSON Config File Linear.cpp open out-of-bounds
summary: >-
  A security flaw has been discovered in Kakao khaiii up to 0.4. The impacted
  element is the function khaiii::nn::Linear::open of the file
  src/main/cpp/khaiii/nn/Linear.cpp of the component JSON Config File Handler.
  The manipulation of the…
severity: medium
cvss: 5.3
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:C'
cvssSource: cna
cwe:
  - CWE-125
  - CWE-119
vendor: Kakao
product: khaiii
affected:
  - khaiii 0.1
  - khaiii 0.2
  - khaiii 0.3
  - khaiii 0.4
published: '2026-10-23'
updated: '2026-10-23'
sourceUpdated: '2026-10-23T21:45:20.151Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-115801'
references:
  - url: 'https://vuldb.com/vuln/425983'
    label: VDB-425983 | Kakao khaiii JSON Config File Linear.cpp open out-of-bounds
  - url: 'https://vuldb.com/vuln/425983/cti'
    label: 'VDB-425983 | CTI Indicators (IOB, IOC, IOA)'
  - url: 'https://vuldb.com/cve/CVE-2026-115801'
    label: CVE-2026-115801 | CVE Analysis and Report
  - url: 'https://vuldb.com/submit/1022283'
    label: >-
      Submit #1022283 | Kakao khaiii commit
      3d0c8944374163b1107fd6690ccf3a408430a02d (master, 2025-05-22; version 0.4)
      Out-of-bounds Read
  - url: 'https://github.com/kakao/khaiii/issues/129'
  - url: 'https://github.com/user-attachments/files/33260270/poc.zip'
  - url: 'https://github.com/kakao/khaiii/'
tags:
  - cve.org
ingestedAt: '2026-10-24T00:46:53.884Z'
---

## Overview

A security flaw has been discovered in Kakao khaiii up to 0.4. The impacted element is the function khaiii::nn::Linear::open of the file src/main/cpp/khaiii/nn/Linear.cpp of the component JSON Config File Handler. The manipulation of the argument hidden_dim/class_num results in out-of-bounds read. The attack requires a local approach. The exploit has been released to the public and may be used for attacks. The vendor explains: "khaiii treats the resource directory (--rsc-dir) as trusted input, like a binary or a shared library. To use this defect, an attacker must already be able to write to that directory. With that access, an attacker can change the analysis results without this defect." This vulnerability only affects products that are no longer supported by the maintainer.

## Affected

- `khaiii 0.1`
- `khaiii 0.2`
- `khaiii 0.3`
- `khaiii 0.4`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
