llama.cppPublished 27 Oct 2026NVD status: Awaiting Analysis

CVE-2026-116816

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.

Componentllama.cpp
Severityhigh (CVSS 7.8)
CVSS vectorCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Published (NVD)2026-10-27
Last modified2026-10-31
Affected versions
>= b5899, < b10261
from the CVE Program record written by the CNA that assigned the CVE
Fixed inb10261
WeaknessCWE-129
CISA KEVnot listed

Versions, checked against NVD

NVD's record (status: Awaiting Analysis) lists no affected versions of llama.cpp for this CVE. The ranges above come from the CVE record written by VulnCheck, the CNA that assigned the CVE.

NVD 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.

What to do

  • Upgrade llama.cpp to b10261 or later.
  • Do not expose the component's API or UI to the internet without authentication in front of it.

Sources