A critical out-of-bounds write in the ggml RPC server of llama.cpp lets unauthenticated remote attackers write to arbitrary heap addresses, which can crash the server or execute code.
What Is It
CVE-2026-137567 is an out-of-bounds write (CWE-787) in the ggml RPC server in llama.cpp. VulnCheck disclosed it, and NVD published it on 2026-11-26. NVD's analysis status is "Awaiting Analysis."
The flaw involves destination tensors that have zero elements. According to the record, an attacker first uses BUFFER_GET_BASE to learn buffer base addresses. The attacker then sends an RPC_CMD_COPY_TENSOR command whose destination pointer sits below the buffer base. This lets them write to arbitrary heap addresses. The result can be a server crash or code execution.
Why It Matters
VulnCheck scores the flaw at CVSS 3.1 9.8 (Critical) with the vector AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. The CVSS 4.0 score is 9.3 (Critical). In practical terms:
- Network-reachable: the attack is carried out remotely against the RPC server.
- No authentication: the attacker needs no privileges.
- No user interaction: no action is needed from anyone on the target side.
- Low complexity: there are no special attack requirements.
- High impact: confidentiality, integrity and availability are all rated high.
Exploitation status: The supplied CISA KEV data contains no entry for this CVE, so KEV does not confirm active exploitation. The CVSS 4.0 exploit maturity field is "Not Defined."
What's Vulnerable
- Vendor: ggml-org
- Product: llama.cpp
- Component: ggml RPC server (
ggml/src/ggml-rpc/ggml-rpc.cpp) - Affected versions: b11450 up to, but not including, b12658
Builds outside this range are listed as unaffected by default. The record lists no CPEs.
Patch Status
The affected range ends at b12658, so the record treats b12658 as the first version that is not vulnerable. The record links to the b12658 release tag, a related commit and a related pull request (#32651).
Required action: Upgrade any llama.cpp deployment running an affected build of the ggml RPC server to b12658 or later. There is no CISA KEV entry, so no federal remediation deadline applies.