{"id":"CVE-2026-115801","kind":"vulnerability","aliases":["CVE-2026-115801"],"related":[],"title":"Kakao khaiii: crafted model config causes out-of-bounds read locally","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.","summary":"Kakao khaiii, a Korean morphological analyzer library, reads past a buffer in Linear::open when a model config file sets hidden_dim or class_num to crafted values. A local user who can write to the resource directory can trigger the out-of-bounds read, and the vendor says an attacker with that write access could already change analysis results directly.","severity":"medium","cvss":5.3,"epss":0.00159,"exploited":false,"exploited_at":null,"products":[],"ecosystems":[],"tags":["khaiii","linux","local-install","package","python"],"not_affected_if":["no-local-untrusted-users","read-only-resource-dir","supported-version"],"how_to_check":"- Check the installed khaiii version with `pip show khaiii` or the build's version string; affected versions are up to `0.4`\n- Confirm whether the resource directory passed to `--rsc-dir` is writable by users other than the service account","fix":"- The maintainer no longer supports affected versions; move to a supported khaiii release or replace the library\n- Restrict write access to the khaiii resource directory to the deploying account only","status":"open","published_at":"2026-10-23T22:16:57+00:00","first_seen_at":"2026-10-23T23:44:51+00:00","triaged_at":"2026-10-25T04:18:48+00:00","updated_at":"2026-10-25T12:38:49+00:00","category":"package","confidence":0.7,"triage":{"at":"2026-10-25T04:18:48Z","model":"claude-haiku-5-5","output":{"fix":"- The maintainer no longer supports affected versions; move to a supported khaiii release or replace the library\n- Restrict write access to the khaiii resource directory to the deploying account only","reach":"local","title":"Kakao khaiii: crafted model config causes out-of-bounds read locally","impact":"low","summary":"Kakao khaiii, a Korean morphological analyzer library, reads past a buffer in Linear::open when a model config file sets hidden_dim or class_num to crafted values. A local user who can write to the resource directory can trigger the out-of-bounds read, and the vendor says an attacker with that write access could already change analysis results directly.","category":"package","nicknames":[],"who_cares":["khaiii","python","linux","local-install"],"confidence":0.7,"needs_auth":"yes","worst_case":"local process reads out-of-bounds memory, possibly crashing the analyzer","analyst_note":"","how_to_check":"- Check the installed khaiii version with `pip show khaiii` or the build's version string; affected versions are up to `0.4`\n- Confirm whether the resource directory passed to `--rsc-dir` is writable by users other than the service account","needs_analyst":false,"not_affected_if":["supported-version","read-only-resource-dir","no-local-untrusted-users"],"who_is_affected":"Only systems running khaiii up to 0.4 where a local user can write to the resource directory given by --rsc-dir. The vendor says the defect adds nothing beyond what that write access already allows, and the flaw affects only versions the maintainer no longer supports. Teams that run a current supported release or keep the resource directory read-only can skip it.","user_interaction":"no","needs_special_setup":"yes","severity_if_unknown":"medium"},"cost_usd":0.000644,"input_tokens":3459,"output_tokens":597,"severity_before":"medium"},"analyst_status":null,"analyst_note":null,"search":"'-115801':15A,18A '-2026':14A,17A '0.4':99C 'abl':185C 'access':81B,193C 'affect':207C 'alreadi':83B,183C 'analysi':85B,199C 'analyz':31B 'approach':140C 'argument':125C 'attack':77B,136C,154C,181C,195C 'binari':171C 'bound':10A,70B,133C 'buffer':36B 'caus':6A 'chang':84B,197C 'class':49B 'compon':116C 'config':5A,43B,118C 'could':82B 'craft':3A,52B 'cve':13A,16A 'defect':179C,203C 'dim':47B 'dim/class_num':127C 'dir':165C 'direct':87B 'directori':63B,162C,190C 'discov':93C 'element':102C 'explain':157C 'exploit':142C 'file':44B,112C,119C 'flaw':90C 'function':105C 'handler':120C 'hidden':46B,126C 'impact':101C 'input':168C 'instal':23B 'json':117C 'kakao':1A,26B,95C 'khaiii':2A,19B,27B,96C,106C,158C 'korean':29B 'librari':32B,175C 'like':169C 'linear':38B,108C 'linux':20B 'local':12A,22B,55B,139C 'local-instal':21B 'longer':212C 'maintain':216C 'manipul':122C 'may':150C 'model':4A,42B 'morpholog':30B 'must':182C 'nn':107C 'num':50B 'open':39B,109C 'out-of-bound':7A,67B,130C 'packag':24B 'past':34B 'product':208C 'public':148C 'python':25B 'read':11A,33B,71B,134C 'releas':145C 'requir':137C 'resourc':62B,161C 'result':86B,128C,200C 'rsc':164C 'rsc-dir':163C 'say':75B 'secur':89C 'set':45B 'share':174C 'src/main/cpp/khaiii/nn/linear.cpp':113C 'support':213C 'treat':159C 'trigger':65B 'trust':167C 'use':152C,177C 'user':56B 'valu':53B 'vendor':74B,156C 'vulner':205C 'without':201C 'write':59B,80B,187C","nicknames":[],"mitigations":[],"who_affected":"Only systems running khaiii up to 0.4 where a local user can write to the resource directory given by --rsc-dir. The vendor says the defect adds nothing beyond what that write access already allows, and the flaw affects only versions the maintainer no longer supports. Teams that run a current supported release or keep the resource directory read-only can skip it.","tier":"C","verified":{},"analyst_revisit_at":null,"first_public_at":"2026-10-23T22:16:57+00:00","kev":null,"cvss_vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","cvss_by":"cna@vuldb.com","poc_count":0,"sources":[{"source":"nvd","external_id":"CVE-2026-115801","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-115801","severity":null,"published_at":"2026-10-23T22:16:57+00:00","modified_at":"2026-10-23T22:16:57+00:00","first_seen_at":"2026-10-23T23:44:51+00:00","fetched_at":"2026-10-23T23:44:51+00:00","note":null},{"source":"epss","external_id":"CVE-2026-115801","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-115801","severity":null,"published_at":null,"modified_at":null,"first_seen_at":"2026-10-25T12:38:49+00:00","fetched_at":"2026-10-25T12:38:49+00:00","note":null}],"documents":[],"notice":"Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai"}