模型文件常被当作可信数据,本地推理与模型分发链路普遍受影响。
rcellm缓冲区溢出cve
llama.cpp GGUF File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability
November 13th, 2026
ZDI-26-976
ZDI-CAN-34558
CVE ID
CVE-2026-126975
CVSS Score
7.8
AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Affected Vendors
llama.cpp
Affected Products
llama.cpp
Vulnerability Details
This vulnerability allows remote attackers to execute arbitrary code on affected installations of llama.cpp. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file.
The specific flaw exists within the parsing of GGUF files. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a heap-based buffer. An attacker can leverage this vulnerability to execute arbitrary code in the context of the current process.
Additional Details
llama.cpp has issued an update to correct this vulnerability. More details can be found at:
https://github.com/ggml-org/llama.cpp/pull/31336
Disclosure Timeline
2026-10-28
- Vulnerability reported to vendor
2026-11-13
- Coordinated public release of advisory
2026-11-13
- Advisory Updated
Credit
lucasfutures
Back to Advisories