CVE-2026-126975: llama.cpp GGUF File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability
Vulnerability summary
CVE-2026-126975 is a high (CVSS 7.8) Heap-based Buffer Overflow vulnerability in llama.cpp. EPSS estimates a 0.29% chance of exploitation in the next 30 days, higher than 21.6% of scored vulnerabilities.
Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 17-11-2026PublishedVulnerability first disclosed.
- 18-11-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
3 scores · 3 sources · 1 version- NVDNIST7.8HighCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.29%
Chance of exploitation in the next 30 days
Percentile
22%
Versus all other CVEs
30-day change
Change unavailable
Change unavailable
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Llama.cpp1 product
- llama.cppb11160 (70c4e1582)
Ubuntu1 product
- llama.cppAll versions (No fix recorded)
2 vendors · 2 products
References
4 links- www.zerodayinitiative.com/advisories/ZDI-26-976/X Research Advisory
- github.com/ggml-org/llama.cpp/pull/31336Vendor Advisory