CVE-2026-137567: llama.cpp b11450 before b12658 Out-of-Bounds Write via RPC copy_tensor
Exploitation: None known · CVSS 9.8 Critical · Unauthenticated · Published 2026-11-26
Description
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.
Enclave's analysis
llama.cpp's optional RPC backend lets anyone on the network leak a buffer's real memory address, then send a crafted zero-element tensor-copy request that writes past it — no login needed. That's guaranteed unauthenticated remote memory corruption, and the same leak-then-write pattern has already been turned into full code execution against near-identical bugs in this exact server. No public exploit or in-the-wild abuse has shown up for this specific CVE yet, and the RPC feature is off by default, so only operators who turned it on and exposed it are actually at risk. Patch to b12658 or keep the RPC port off untrusted networks.
Fix
Upgrade ggml-org/llama.cpp (ggml RPC server) to b12658. No fixed version is listed for llama.cpp; follow the vendor advisory.
Affected versions
| Product | Vulnerable | Fixed in |
|---|---|---|
| llama.cpp | b11450 before b12658 | Not listed |
| ggml-org/llama.cpp (ggml RPC server) | >=b11450, <b12658 | b12658 |