CVE-2026-126975
HIGH 7.8CVSS 3.0llama.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.
- Published
- 18 Nov 2026
- Last modified
- 18 Nov 2026
- Assigned by
- zdi-disclosures@trendmicro.com
- NVD status
- Awaiting Analysis
- Weakness
- CWE-122
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | zdi-disclosures@trendmicro.com (Secondary) | CVSS 3.0 | HIGH 7.8 | CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
References
- https://github.com/ggml-org/llama.cpp/pull/31336
- https://www.zerodayinitiative.com/advisories/ZDI-26-976/
History
- 25 Nov 2026 21:23 UTC ยท NVD: first stored (published 18 Nov 2026)