{"id":"CVE-2026-116816","aliases":["DEBIAN-CVE-2026-116816","EUVD-2026-110569","GHSA-3r8c-j789-2864","UBUNTU-CVE-2026-116816"],"status":"published","title":"llama.cpp b5899 before b10261 Heap Out-of-Bounds Write via plamo2 Tokenizer","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 \u003c0x-1\u003e whose negative parsed value writes token ids before the bytes_ buffer during model loading, causing crashes or potential code execution.","severity":{"version":"4.0","score":8.5,"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","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-12","score":0.00135,"percentile":0.03007,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-129"],"published":"2026-10-27T00:33:58Z","modified":"2026-11-11T02:48:42Z","fixes":[{"ecosystem":"Debian:14","package":"llama.cpp","fixed_in":["10271+dfsg-1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:14","package":"llama.cpp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10271+dfsg-1"}]}],"versions":["10108+dfsg-1","10108+dfsg1-1","10108+dfsg1-2","10192+dfsg-1","10192+dfsg-2","10192+dfsg-2~exp1","5151+dfsg-1~exp2","5151+dfsg-1~exp3","5318+dfsg-1","5318+dfsg-2","5713+dfsg-1","5760+dfsg-1","5760+dfsg-2","5760+dfsg-3","5760+dfsg-4","5882+dfsg-1","5882+dfsg-2","5882+dfsg-3","5882+dfsg-3~exp1","5882+dfsg-3~exp2","5882+dfsg-3~exp3","5882+dfsg-4","6641+dfsg-1","6641+dfsg-2","6641+dfsg-3","7593+dfsg-1","7593+dfsg-2","7593+dfsg-3","7965+dfsg-1","8064+dfsg-1","8064+dfsg-2","8461+dfsg-1","8611+dfsg-1","8681+dfsg-1","8870+dfsg-1","8941+dfsg-1","9009+dfsg-1","9071+dfsg-1","9190+dfsg-1","9413+dfsg-1","9555+dfsg-1","9601+dfsg-1","9721+dfsg-1","9895+dfsg-1","9895+dfsg-2","9895+dfsg-3","9951+dfsg-1","9951+dfsg-2","9951+dfsg-3"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"llama.cpp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["8681+dfsg-1","9721+dfsg-1ubuntu1","10438+dfsg-1","10438+dfsg-1ubuntu1"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"llama.cpp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5882+dfsg-2","8064+dfsg-1ubuntu1","8681+dfsg-1"]}],"products":[{"vendor":"ggml-org","product":"llama.cpp"}],"references":[{"url":"https://github.com/ggml-org/llama.cpp/pull/25969","tags":["issue-tracking","patch","fix","report"]},{"url":"https://github.com/ggml-org/llama.cpp/pull/26511","tags":["patch","issue-tracking","fix","report"]},{"url":"https://github.com/ggml-org/llama.cpp/commit/cf06ad7dfe79e7bf2934150d4fefe1ce8db05490","tags":["patch","fix","report"]},{"url":"https://github.com/ggml-org/llama.cpp/blob/b10259/src/llama-vocab.cpp#L1376-L1377","tags":["technical-description","article"]},{"url":"https://github.com/ggml-org/llama.cpp/releases/tag/b10261","tags":["release-notes","advisory","report"]},{"url":"https://www.vulncheck.com/advisories/llama-cpp-b5899-before-b10261-heap-out-of-bounds-write-via-plamo2-tokenizer","tags":["third-party-advisory","advisory","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-116816","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-3r8c-j789-2864"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/116xxx/CVE-2026-116816.json","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-116816","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-116816","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-116816","tags":["report"]},{"url":"https://github.com/cveproject/cvelistv5/tree/main/cves/2026/116xxx/cve-2026-116816.json","tags":["report"]},{"url":"https://github.com/ggml-org/llama.cpp/blob/b10259/src/llama-vocab.cpp#l1376-l1377","tags":["report"]},{"url":"https://nvd.nist.gov/vuln/detail/cve-2026-116816","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2026-116816","title":"llama.cpp b5899 before b10261 Heap Out-of-Bounds Write via plamo2 Tokenizer","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 \u003c0x-1\u003e whose negative parsed value writes token ids before the bytes_ buffer during model loading, causing crashes or potential code execution.","status":"published","published":"2026-10-27T00:33:58.581Z","modified":"2026-10-31T02:24:46.005Z","cvss":[{"version":"4.0","score":8.5,"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","level":"high","assessor":"cna"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"cna"}],"cwes":["CWE-129"],"updated_at":"2026-11-02T14:20:03.827373Z"}],"euvd":[{"id":"EUVD-2026-110569","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 \u003c0x-1\u003e whose negative parsed value writes token ids before the bytes_ buffer during model loading, causing crashes or potential code execution.","status":"published","published":"2026-10-27T00:33:58Z","modified":"2026-10-31T02:24:46Z","cvss":[{"version":"4.0","score":8.5,"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","level":"high"}],"updated_at":"2026-11-02T16:59:01.198534Z"}],"ghsa":[{"id":"GHSA-3r8c-j789-2864","title":"llama.cpp b5899 before b10261 contains a heap out-of-bounds write vulnerability in...","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 \u003c0x-1\u003e whose negative parsed value writes token ids before the bytes_ buffer during model loading, causing crashes or potential code execution.","status":"published","published":"2026-10-27T03:32:10Z","modified":"2026-10-27T03:32:11Z","cvss":[{"version":"4.0","score":8.5,"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/E:X/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","level":"high"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-129"],"updated_at":"2026-11-02T15:14:28.078787Z"}],"nvd":[{"id":"CVE-2026-116816","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 \u003c0x-1\u003e whose negative parsed value writes token ids before the bytes_ buffer during model loading, causing crashes or potential code execution.","status":"published","published":"2026-10-27T01:19:06.437Z","modified":"2026-10-31T03:17:17.683Z","cvss":[{"version":"4.0","score":8.5,"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/E:X/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","level":"high","assessor":"secondary"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"secondary"}],"cwes":["CWE-129"],"updated_at":"2026-11-02T14:13:03.746397Z"}],"osv":[{"id":"CVE-2026-116816","title":"llama.cpp b5899 before b10261 Heap Out-of-Bounds Write via plamo2 Tokenizer","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 \u003c0x-1\u003e whose negative parsed value writes token ids before the bytes_ buffer during model loading, causing crashes or potential code execution.","status":"published","published":"2026-10-27T00:33:58.581Z","modified":"2026-11-11T13:20:55.789788247Z","cvss":[{"version":"4.0","score":8.5,"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","level":"high"}],"cwes":["CWE-129"],"updated_at":"2026-11-11T03:22:00.901153Z"},{"id":"DEBIAN-CVE-2026-116816","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 \u003c0x-1\u003e whose negative parsed value writes token ids before the bytes_ buffer during model loading, causing crashes or potential code execution.","status":"published","published":"2026-10-27T01:19:06.437Z","modified":"2026-10-31T10:00:51.752725078Z","cvss":[{"version":"4.0","score":8.5,"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/E:X/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","level":"high"}],"updated_at":"2026-11-02T15:45:50.923612Z"},{"id":"UBUNTU-CVE-2026-116816","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 \u003c0x-1\u003e whose negative parsed value writes token ids before the bytes_ buffer during model loading, causing crashes or potential code execution.","status":"published","published":"2026-10-27T01:19:00Z","modified":"2026-10-28T20:17:46.292413063Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"},{"version":"4.0","score":8.5,"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","level":"high"},{"version":"4.0","score":8.5,"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","level":"high"}],"updated_at":"2026-11-02T16:56:00.081948Z"}]}}
