Skip to main content
CVE-2026-116816VulnerabilityPublished

llama.cpp b5899 before b10261 contains a heap out-of-bounds write vulnerability in llm_tokenizer_plamo2::build that

Source GCVE Database

0
Authoritative record:CVE-2026-116816· High 8.5

Not known to be exploited · CVSS 8.5 High : upgrade to b10261 soon.

Data as of 27 Oct 2026, 04:17 UTC

CVSS 4.0 base score
8.5High
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in b10261
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 27 Oct 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Upgrade llama.cpp to b10261.

Affected software

ProductAffectedFixed in
ggml-orgllama.cppAffected
  • =b5899
Fixed in
  • b10261
GitHubllama.cpppkg:github/llama.cppOther threatsAffected
  • =b5899
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

If you cannot patch yet, avoid loading untrusted or crafted GGUF models to mitigate risk.

Description

A heap out-of-bounds write vulnerability exists in llama.cpp versions from b5899 up to but not including b10261 in the function llm_tokenizer_plamo2::build. This flaw allows attackers to corrupt heap memory by supplying crafted GGUF models containing BYTE-typed token text with negative parsed values. The vulnerability can cause application crashes and may lead to potential code execution during model loading.

References

Community reviews

Loading reviews…