{"id":"CVE-2026-116816","aliases":["CVE-2026-116816"],"related":[],"kind":"vulnerability","state":"published","title":"llama.cpp b5899 before b10261 Heap Out-of-Bounds Write via plamo2 Tokenizer","summary":"llama.cpp b5899 before b10261 contains a heap out-of-bounds write vulnerability in llm_tokenizer_plamo2::build that allows attackers to corrupt heap memory via crafted GGUF models. Attackers can supply BYTE-typed token text like <0x-1> whose negative parsed value writes token ids before the bytes_ buffer during model loading, causing crashes or potential code execution.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"llama.cpp b5899 before b10261 contains a heap out-of-bounds write vulnerability in llm_tokenizer_plamo2::build that allows attackers to corrupt heap memory via crafted GGUF models. Attackers can supply BYTE-typed token text like <0x-1> whose negative parsed value writes token ids before the bytes_ buffer during model loading, causing crashes or potential code execution.","source":"cvelist"}],"published":"2026-10-27T00:33:58.581Z","modified":"2026-10-31T03:17:17.683Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","score":8.5,"rating":"HIGH"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","score":8.5,"rating":"HIGH"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-129"],"affected":[{"ranges":[{"type":"custom","introduced":"b5899","fixed":"b10261","status":"affected"}],"vendor":"ggml-org","product":"llama.cpp","source":"cvelist"}],"references":[{"url":"https://github.com/ggml-org/llama.cpp/pull/25969","tags":["issue-tracking","patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/ggml-org/llama.cpp/pull/26511","tags":["issue-tracking","patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/ggml-org/llama.cpp/commit/cf06ad7dfe79e7bf2934150d4fefe1ce8db05490","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/ggml-org/llama.cpp/blob/b10259/src/llama-vocab.cpp#L1376-L1377","tags":["technical-description"],"sources":["cvelist","nvd"]},{"url":"https://github.com/ggml-org/llama.cpp/releases/tag/b10261","tags":["release-notes"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/llama-cpp-b5899-before-b10261-heap-out-of-bounds-write-via-plamo2-tokenizer","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["Pedro Cruz (g4nkd)","Jeongwoo Lee","CISC"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-10-31T02:24:33.249Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-116816","url":"https://www.cve.org/CVERecord?id=CVE-2026-116816","licence":"CVE Terms of Use","modified":"2026-10-31T02:24:46.005Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-116816","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-116816","licence":"Public domain","modified":"2026-10-31T03:17:17.683Z"}],"updatedAt":"2026-11-25T22:59:47.320Z","epss":{"score":0.0017,"percentile":0.0661,"date":"2026-12-01T12:00:22.000Z"}}