与同批堆溢出同源,补丁需一并覆盖,GGUF 加载路径均受影响。
rcellm整数溢出cve
llama.cpp GGUF File Parsing Integer Overflow Remote Code Execution Vulnerability
November 13th, 2026
ZDI-26-975
ZDI-CAN-34553
CVE ID
CVE-2026-126974
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 user-supplied data, which can result in an integer overflow before writing to memory. 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
Adam Bedard
Back to Advisories