Kakao khaiii JSON Config File Linear.cpp open out-of-bounds
What fixes it
No source in this snapshot names a fixed version. The vendor advisories under References are the place to check.
Description
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.
Text from CVE List
Affected versions 4
- khaiiiaffected: 0.1CVE List
- khaiiiaffected: 0.2CVE List
- khaiiiaffected: 0.3CVE List
- khaiiiaffected: 0.4CVE List
References 7
- vuldb.com/cve/CVE-2026-115801Advisoryvia CVE List
- vuldb.com/submit/1022283Advisoryvia CVE List
- github.com/user-attachments/files/33260270/poc.zipExploitvia CVE List
- vuldb.com/vuln/425983Referencevia CVE List
- vuldb.com/vuln/425983/ctiReferencevia CVE List
- github.com/kakao/khaiii/issues/129Referencevia CVE List
- github.com/kakao/khaiii/Referencevia CVE List