Skip to content
HighVulnerabilityLLM-specific

CVE-2026-116816: llama.cpp heap out-of-bounds write in PLaMo2 tokenizer via crafted GGUF models

Identifier
CVE-2026-116816
Published
Record updated
View JSON

Summary

llama.cpp versions b5899 before b10261 contain a heap out-of-bounds write in llm_tokenizer_plamo2::build. Attackers can supply a crafted GGUF model with BYTE-typed token text such as <0x-1>, whose negative parsed value writes token ids before the bytes_ buffer during model loading. The result is heap memory corruption that can cause crashes or potential code execution.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.