Skip to content

An editorial team and a community building with AI

← All articles

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 b11450 up to, but not including, build b12658.
  • 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_BASE command to find buffer memory locations, then send a crafted RPC_CMD_COPY_TENSOR request 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

Written with AI assistance, strictly from the sources listed above. Before it went live, automated checks verified its dates, sources and every language edition.

Llama.cpp patches critical RCE flaw in ggml RPC server | vibecoding.inc