CVE-2026-126974
llama.cpp GGUF File Parsing Integer Overflow Remote Code Execution Vulnerability
- Severity
- high CVSS 7.8 (v3.0)
- Affects
- llama.cpp
- Weakness
- CWE-190: Integer Overflow or Wraparound
- Published
- 17 November 2026 by zdi
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.
Our coverage
We have not written about this one. Know why it matters? Send a tip.