llama.cpp GGUF File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability
- State
- Published
- Severity
- 7.8 High
- Published
- Nov 17, 2026
- Updated
- Nov 18, 2026
- Reserved
- Nov 12, 2026
Description
llama.cpp GGUF File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability. 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. Was ZDI-CAN-34558.
| Product | Versions |
|---|---|
| llama.cpp llama.cpp | b11160 (70c4e1582) Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 3.0 | 7.8 High | zdi |
Weaknesses
- CWE-122 Heap-based Buffer Overflow
References
- ZDI-26-976
- vendor-provided URLVendor Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.