CVE-2026-126975
High 7.8No known exploitationFix status unknownllama.cpp GGUF File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability
Record last updated
CVSS score
High on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
Higher than 22% of scored CVEs. A prediction, not evidence.
CISA remediation deadline
Not in the KEV catalog
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.
Weakness: CWE-122
Patching and mitigation
- Patch status
- Unknown: no source documents a fix
- Mitigation
- None documented
- Vendor guidance
- github.com (opens in a new tab)
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| llama.cpp | llama.cpp | b11160 (70c4e1582) | Not documented | CVE Program |
Timeline
Disclosure
CVE record published by zdi
Source: CVE Program (opens in a new tab)
Vendor guidance and references
- vendor-provided URL (opens in a new tab)vendor-advisory
- ZDI-26-976 (opens in a new tab)x_research-advisory