在 b2731 版本之前的 llama.cpp 中,llama_model_loader 组件存在一个越界读取漏洞。攻击者可通过构造恶意的 GGUF 张量偏移量,读取映射模型文件之外的内存。攻击者可以提供一个经过篡改或截断的 GGUF 模型文件,其中包含任意的 64 位张量偏移量,从而导致进程崩溃,或将相邻进程的内存作为模型权重加载。
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-2025-71439 | 5.5 MEDIUM | llama.cpp before b5649 Heap Out-of-Bounds Read via llama_vocab::impl::print_info |