{"id":"CVE-2026-116816","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> w…","severity":"high","cvss":7.8,"cvssVector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","cvssSource":"cna","cwe":["CWE-129"],"vendor":"ggml-org","product":"llama.cpp","affected":["llama.cpp >= b5899 < b10261"],"published":"2026-10-27","updated":"2026-10-27","sourceUpdated":"2026-10-27T00:33:58.581Z","source":"CVEORG","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-116816","references":[{"url":"https://github.com/ggml-org/llama.cpp/pull/25969"},{"url":"https://github.com/ggml-org/llama.cpp/pull/26511"},{"url":"https://github.com/ggml-org/llama.cpp/commit/cf06ad7dfe79e7bf2934150d4fefe1ce8db05490"},{"url":"https://github.com/ggml-org/llama.cpp/blob/b10259/src/llama-vocab.cpp#L1376-L1377"},{"url":"https://github.com/ggml-org/llama.cpp/releases/tag/b10261","label":"llama.cpp b10261 Release Notes"},{"url":"https://www.vulncheck.com/advisories/llama-cpp-b5899-before-b10261-heap-out-of-bounds-write-via-plamo2-tokenizer","label":"VulnCheck Advisory: llama.cpp b5899 before b10261 Heap Out-of-Bounds Write via plamo2 Tokenizer"}],"tags":["cve.org"],"epss":0.00135,"epssPercentile":0.02925,"ingestedAt":"2026-10-27T16:11:59.179Z","slug":"CVE-2026-116816","body":"## Overview\n\nllama.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.\n\n## Affected\n\n- `llama.cpp >= b5899 < b10261`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"twilight","depthScore":43,"depthScoreParts":{"impact":42.9,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}