7.8High

CVE-2026-116816llama.cpp b5899 before b10261 Heap Out-of-Bounds Write via plamo2 Tokenizer

ggml-org llama.cpp Published: (24 days ago)

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.

Weakness (CWE): CWE-129

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
ggml llama.cpp b5899 – < b10261
ggml-org llama.cpp b5899 – < b10261

References and patches