CVE-2026-137567: ggml-org llama.cpp
AI-assisted summary built from NVD and CISA data. Verify against the linked sources before acting.
Summary
The llama.cpp ggml RPC server has an out-of-bounds write that unauthenticated network attackers can trigger via crafted tensor copy requests. This can crash the server or lead to code execution.
Impact: remote code execution or denial of service
Affected technologies
- llama.cpp b11450 before b12658 (ggml RPC server)
Recommended action
Upgrade llama.cpp to build b12658 or later, and do not expose the RPC server to untrusted networks.
Details
| CVSS | 9.3 (Critical) |
| Vendor / product | ggml-org llama.cpp |
| Published | 2026-11-26 |
| Weakness | CWE-787 |
| Vector | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
Original 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.
References
- NVD record
- https://github.com/ggml-org/llama.cpp/blob/46f4da217419ecac95708600e0f6ebc4bdb91cfd/ggml/src/ggml-rpc/ggml-rpc.cpp#L2083-L2122
- https://github.com/ggml-org/llama.cpp/commit/03813c56e47f6cd7a9b9bc2ad8edcebed88ce342
- https://github.com/ggml-org/llama.cpp/pull/32651
- https://github.com/ggml-org/llama.cpp/releases/tag/b12658
- https://www.vulncheck.com/advisories/llama-cpp-b11450-before-b12658-out-of-bounds-write-via-rpc-copy-tensor