CVE-2026-137567
llama.cpp b11450 before b12658 contains an out-of-bounds write vulnerability in the ggml RPC server that allows unauthenticated attackers to write to arbitrary…
Impact
llama.cpp b11450 before b12658 contains an out-of-bounds write vulnerability in the ggml RPC server that allows unauthenticated attackers to write to arbitrary heap addresses via zero-element destination tensors. Attackers can learn buffer bases with BUFFER_GET_BASE, then send RPC_CMD_COPY_TENSOR with a destination pointer below the buffer base to crash the server or execute code.
An attacker can exploit this over the network, without logging in, without any action by a user. If it succeeds: high risk of data being read, high risk of data or systems being changed, high risk of outages.
Affected products (Ggml-org)
| Product | Affected versions |
|---|---|
| Llama.cpp | from b11450 before b12658 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/ggml-org/llama.cpp/pull/32651
- https://github.com/ggml-org/llama.cpp/commit/03813c56e47f6cd7a9b9bc2ad8edcebed88ce342
- https://github.com/ggml-org/llama.cpp/releases/tag/b12658
- https://github.com/ggml-org/llama.cpp/blob/46f4da217419ecac95708600e0f6ebc4bdb91cfd/ggml/src/ggml-rpc/ggml-rpc.cpp#L2083-L2122
- https://www.vulncheck.com/advisories/llama-cpp-b11450-before-b12658-out-of-bounds-write-via-rpc-copy-tensor
- https://github.com/advisories/GHSA-8fqh-8p37-cc5h
- https://nvd.nist.gov/vuln/detail/CVE-2026-137567