{"id":"CVE-2026-116816","aliases":[],"title":"llama.cpp b5899 before b10261 Heap Out-of-Bounds Write via plamo2 Tokenizer","titleSource":"VulnCheck","descriptionSource":"VulnCheck","products":[{"vendor":"ggml-org","name":"llama.cpp","platforms":[],"versions":[{"version":"b5899","status":"affected","lessThan":"b10261","versionType":"custom"}],"defaultStatus":"unaffected","source":"VulnCheck","url":"https://www.cve.org/CVERecord?id=CVE-2026-116816"}],"remediation":[],"description":"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.","severity":"high","score":8.5,"published":"2026-10-27T00:33:58.581Z","modified":"2026-10-27T00:33:58.581Z","withdrawn":false,"knownExploited":false,"affected":[],"references":["https://github.com/ggml-org/llama.cpp/pull/25969","https://github.com/ggml-org/llama.cpp/pull/26511","https://github.com/ggml-org/llama.cpp/commit/cf06ad7dfe79e7bf2934150d4fefe1ce8db05490","https://github.com/ggml-org/llama.cpp/blob/b10259/src/llama-vocab.cpp#L1376-L1377","https://github.com/ggml-org/llama.cpp/releases/tag/b10261","https://www.vulncheck.com/advisories/llama-cpp-b5899-before-b10261-heap-out-of-bounds-write-via-plamo2-tokenizer"],"sources":[{"name":"CVE","id":"CVE-2026-116816","modified":"2026-10-27T00:33:58.581Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-116816"}],"assessments":[{"source":"VulnCheck","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},{"source":"VulnCheck","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.8}],"sourceAffected":[],"kev":{"status":"not-listed","checkedAt":"2026-10-28T20:45:31.448Z"},"coverage":[{"source":"NVD","status":"not-checked"},{"source":"GHSA","status":"not-checked"},{"source":"EUVD","status":"not-checked"},{"source":"EPSS","status":"not-checked"}],"evidence":[]}