在 b5649 版本之前的 llama.cpp 存在一个堆越界读取漏洞,该漏洞位于 函数中。攻击者可通过提供过大的特殊令牌(special token)ID,导致模型加载过程崩溃。具体而言,攻击者可构造一个包含较短 数组的 GGUF 模型,诱使 或 在读取 映射表时越界访问,从而引发程序崩溃。
Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.
| # | POC Description | Source Link | Shenlong Link |
|---|
No public POC found.
Login to generate AI POC| CVE-2024-58400 | 8.2 HIGH | llama.cpp before b3701 Out-of-Bounds Read in llama_decode via Token IDs |
| CVE-2026-116816 | 7.8 HIGH | llama.cpp b5899 before b10261 Heap Out-of-Bounds Write via plamo2 Tokenizer |
| CVE-2026-116829 | 6.6 MEDIUM | llama.cpp b10398 before b11301 Integer Overflow in gguf_init_from_reader |
| CVE-2026-116840 | 6.1 MEDIUM | llama.cpp b5854 before b11275 Integer Overflow in gguf_init_from_reader |
| CVE-2024-58399 | 6.1 MEDIUM | llama.cpp before b2731 Out-of-Bounds Read via GGUF Tensor Offsets |