CVE-2026-34159: llama.cpp: Unauthenticated RCE via GRAPH_COMPUTE buffer=0 bypass in llama.cpp RPC backend
Vulnerability summary
CVE-2026-34159 is a critical (CVSS 9.8) vulnerability in ggml-org llama.cpp. EPSS estimates a 1.66% chance of exploitation in the next 30 days, higher than 77.2% of scored vulnerabilities. 1 public exploit is recorded.
Public exploit (GitHub, Date unknown)
Source freshness unavailable
How is this decided?Timeline
- 01-04-2026PublishedVulnerability first disclosed.
- 02-04-2026Last modifiedVulnerability information updated.
Description
llama.cpp is an inference of several LLM models in C/C++. Prior to version b8492, the RPC backend's deserialize_tensor() skips all bounds validation when a tensor's buffer field is 0. An unauthenticated attacker can read and write arbitrary process memory via crafted GRAPH_COMPUTE messages. Combined with pointer leaks from ALLOC_BUFFER/BUFFER_GET_BASE, this gives full ASLR bypass and remote code execution. No authentication required, just TCP access to the RPC server port. This issue has been patched in version b8492.
CVSS metrics
4 scores · 4 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- NVDNIST9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
1.66%
Chance of exploitation in the next 30 days
Percentile
77%
Versus all other CVEs
30-day change
Increase +0.42 pp
From 1.24% on 21-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundLlama.Cpp
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Debian1 product
- llama.cpp< 8611+dfsg-1
Ggml1 product
- llama.cpp< b8492
Ggml-org1 product
- llama.cpp< b8492
Ubuntu1 product
- llama.cppAll versions (No fix recorded)
4 vendors · 4 products
References
6 links- github.com/ggml-org/llama.cpp/security/advisories/GHSA-j8rj-fmpv-wcxwX Refsource CONFIRMREPORTExploitVendor Advisory