CVE-2026-34159: Vulnerability in Ggml Llama.cpp

Critical. 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...

CWE-119

Exploitation
None confirmed
Severity
9.8 of 10
Attack likelihood
Unknown
Fix
Fixed version known
Patch deadline
No deadline set

Details

Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-119
Published
1 Apr 2026
Last change
26 Oct 2026

Affected products

Affected versions and the first fixed release

  • Ggml Llama.cpp Before b8492. Fixed in b8492

Advisories

Vendor and security advisories

Patches and fixes

Updates, commits and release notes

Related