{"id":"CVE-2026-34159","published":"2026-04-01T16:59:59Z","modified":"2026-04-02T03:56:11Z","title":"llama.cpp: Unauthenticated RCE via GRAPH_COMPUTE buffer=0 bypass in llama.cpp RPC backend","vendor":"ggml-org","product":"llama.cpp","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01658,"percentile":0.77225,"provenance":"source"},"cwes":[{"id":"CWE-119","name":"Improper Restriction of Operations within the Bounds of a Memory Buffer"}],"references":[{"url":"https://github.com/ggml-org/llama.cpp/security/advisories/GHSA-j8rj-fmpv-wcxw","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/ggml-org/llama.cpp/pull/20908","tags":["x_refsource_MISC"]},{"url":"https://github.com/ggml-org/llama.cpp/commit/39bf0d3c6a95803e0f41aaba069ffbee26721042","tags":["x_refsource_MISC"]}],"priority":{"score":27.3,"factors":[{"name":"EPSS percentile","points":15.45},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.86}]},"exploitSources":{"pocGithub":{"count":3,"skipped":0,"earliest":"2026-04-23","earliestUrl":"https://github.com/casp3r0x0/CVE-2026-34159","repos":[{"name":"casp3r0x0/CVE-2026-34159","url":"https://github.com/casp3r0x0/CVE-2026-34159","stars":28,"created":"2026-04-23"},{"name":"rohithronanki/CVE-2026-34159-Vulnerability-Research-Analysis-Detection","url":"https://github.com/rohithronanki/CVE-2026-34159-Vulnerability-Research-Analysis-Detection","stars":0,"created":"2026-05-04"},{"name":"TeamN4C/SG-2026-0021","url":"https://github.com/TeamN4C/SG-2026-0021","stars":0,"created":"2026-08-27"}]},"first":{"date":"2026-04-23","source":"PoC-in-GitHub","url":"https://github.com/casp3r0x0/CVE-2026-34159"},"provenance":"source"},"vendorSlug":"ggml-org","affectedVersions":[{"vendor":"ggml-org","product":"llama.cpp","versions":["< b8492"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2026-04-01T00:00:00+00:00","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-17975","exploited":false,"provenance":"source"}}