llama.cpp heap corruption in Plamo2 tokenizer model loading
ggml-org llama.cpp
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| ggml-org llama.cpp |
| No fix yet |
Original 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.
From the CVE record · VulnCheck