News · ggml-org (llama.cpp) · 2 min read
Event date: · Published:
Llama.cpp patches critical RCE flaw in ggml RPC server
The llama.cpp project patched a critical, unauthenticated remote code execution vulnerability in its ggml RPC server, disclosed on November 26, 2026 with a CVSS score of 9.3.
The llama.cpp project disclosed and patched a critical remote code execution vulnerability in its ggml RPC server, with the fix announced on November 26, 2026 in an advisory from the GitHub Advisory Database. The flaw lets an unauthenticated network attacker crash the server or run arbitrary code by sending crafted tensor copy commands.
What changed
- Advisory
GHSA-8fqh-8p37-cc5h(CVE-2026-137567) was published on November 26, 2026, with a Critical severity rating and a CVSS score of 9.3. - Affected versions run from build
b11450up to, but not including, buildb12658. - The vulnerability is fixed in build
b12658. - The weakness is classified as
CWE-787, an out-of-bounds write. - An unauthenticated attacker can use the
BUFFER_GET_BASEcommand to find buffer memory locations, then send a craftedRPC_CMD_COPY_TENSORrequest with a zero-element destination tensor and a pointer below the buffer base to trigger an out-of-bounds heap write.
Why it matters for builders
llama.cpp's RPC backend is widely used to distribute local LLM inference across multiple machines, so any exposed RPC port becomes remotely exploitable for full code execution without authentication. Anyone self-hosting inference with this backend needs to treat an open RPC port as a direct path to server compromise, not just a performance convenience.
What to do next
Self-hosted AI developers should upgrade to build b12658 or later, where the out-of-bounds write is fixed. Where an immediate upgrade is not possible, the RPC port should not be exposed to untrusted networks, since exploitation requires no authentication and can result in remote code execution or a crashed server.
Sources
- llama.cpp ggml RPC server out-of-bounds write (GHSA-8fqh-8p37-cc5h) (GitHub Advisory Database, November 26, 2026, official)
Written with AI assistance, strictly from the sources listed above. Before it went live, automated checks verified its dates, sources and every language edition.