{"id":"CVE-2026-116816","published":"2026-10-27T00:33:58Z","modified":"2026-10-31T02:24:46Z","title":"llama.cpp b5899 before b10261 Heap Out-of-Bounds Write via plamo2 Tokenizer","vendor":"ggml-org","product":"llama.cpp","tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00135,"percentile":0.03019,"provenance":"source"},"cwes":[{"id":"CWE-129","name":"Improper Validation of Array Index"}],"references":[{"url":"https://github.com/ggml-org/llama.cpp/pull/25969","tags":["issue-tracking","patch"]},{"url":"https://github.com/ggml-org/llama.cpp/pull/26511","tags":["patch","issue-tracking"]},{"url":"https://github.com/ggml-org/llama.cpp/commit/cf06ad7dfe79e7bf2934150d4fefe1ce8db05490","tags":["patch"]},{"url":"https://github.com/ggml-org/llama.cpp/blob/b10259/src/llama-vocab.cpp#L1376-L1377","tags":["technical-description"]},{"url":"https://github.com/ggml-org/llama.cpp/releases/tag/b10261","tags":["release-notes"]},{"url":"https://www.vulncheck.com/advisories/llama-cpp-b5899-before-b10261-heap-out-of-bounds-write-via-plamo2-tokenizer","tags":["third-party-advisory"]}],"priority":{"score":6.1,"factors":[{"name":"EPSS percentile","points":0.6},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"ggml-org","affectedVersions":[{"vendor":"ggml-org","product":"llama.cpp","versions":[">= b5899, < b10261"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-10-31T02:24:33.249439Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-110569","exploited":false,"provenance":"source"}}