OFFSITE.DARK
← Signals

Nov 26, 2026

2 min

llama.cpp

  • ai
  • llm
  • llama-cpp
  • ggml
  • rpc
  • rce
  • heap-overflow

news

llama.cpp ggml RPC Server Out-of-Bounds Write (CVE-2026-137567)

Critical up to 9.8

Unauthenticated clients reaching llama.cpp rpc-server port 50052 can trigger a heap out-of-bounds write via RPC_CMD_COPY_TENSOR (CVSS 4.0 9.3, CVSS 3.1 9.8). Fixed in build b12658; local llama-cli and llama-server are unaffected; not in CISA KEV.

Record
CVE-2026-137567
Score
Critical up to 9.8
Status
Not KEVChecked, not listed
Organization
llama.cpp

Summary

On 26 November 2026, VulnCheck CNA published CVE-2026-137567 (CVSS 4.0 9.3 Critical, CVSS 3.1 9.8 Critical, reported by Min P. Hong of SEWORKS), an unauthenticated heap out-of-bounds write in the ggml rpc-server distributed inference helper bundled with llama.cpp. Builds b11450 through < b12658 are vulnerable; the fix landed on 24 November 2026 in build b12658 (commit 03813c56, PR #32651).

Because rpc-server listens on TCP port 50052 with no built-in authentication, any client able to reach the RPC port can send crafted BUFFER_GET_BASE and RPC_CMD_COPY_TENSOR commands targeting a zero-element destination tensor to corrupt server heap memory and potentially achieve remote code execution. Single-host deployments running only llama-cli or llama-server without rpc-server are not affected, and the issue is not in CISA KEV catalog 2026.11.25.

Third critical ggml RPC flaw in five weeks

CVEDateBug Class & PrimitiveFixed Build
CVE-2026-13756726 Nov 2026RPC_CMD_COPY_TENSOR zero-element destination tensor heap out-of-bounds write (CVSS 4.0 9.3 / 3.1 9.8)b12658
CVE-2026-13261523 Nov 2026alloc_buffer fails to clear buffers, leaking prior client weights and KV cache data to subsequent RPC callers (CVSS 3.1 7.5 High, ggml-rpc)Unspecified in CVE record
CVE-2026-118375Oct 2026RDMA receive path stack buffer overflow (up to 256 KiB written into a 1-byte stack variable, CVSS 4.0 9.2 / 3.1 8.1)b11865

The cluster underscores upstream maintainers' and security researcher Chris Rohlf's long-standing warning: rpc-server has no authentication, transport encryption, or process sandboxing by design and must never be exposed on shared or public networks.

Operator actions

  1. Check every host running distributed inference workers:
    pgrep -af rpc-server
    ss -ltnp | grep 50052
    
  2. Rebuild or upgrade all llama.cpp RPC nodes to build b12658 or later, then restart rpc-server.
  3. Bind rpc-server strictly to localhost or an isolated private cluster VLAN / WireGuard mesh reachable only by trusted inference coordinators.

Related Signals

Sources

→ Source