CVE-2026-126974
7.8high
llama.cpp GGUF File Parsing Integer Overflow Remote Code Execution Vulnerability
- Severity
- 7.8high CVSS:3.0 by zdi
- Exploit likelihood
- 0.25% (higher than 17% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- zdi
Description
llama.cpp GGUF File Parsing Integer 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 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. Was ZDI-CAN-34553.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| llama.cpp llama.cpp | b11160 (70c4e1582) | CVE List |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-126974 changed 2026-11-18 | CVE Terms of Use |
| NVD | CVE-2026-126974 changed 2026-11-18 | Public domain |