critical severityConfidence highHistorical record

llama.cpp RPC server writes below the buffer it meant to check (CVE-2026-137567)

Direct answer

llama.cpp RPC server writes below the buffer it meant to check (CVE-2026-137567), also tracked as CVE-2026-137567 is a critical-severity threat campaign HOL Guard tracked from Nov 23, 2026 to Nov 26, 2026, verified against 5 primary sources and last reviewed Nov 30, 2026. Active tracking has ended and the record remains published as a permanent historical research record.

CVE-2026-137567 is an out-of-bounds write in the ggml RPC server that ships with llama.cpp, in builds b11450 through b12657, fixed in b12658. The RPC server runs model compute for a client on another machine and takes tensor commands from whoever connects, with no credentials asked. Its copy_tensor handler checks a copy only at one end: the end of the write must land inside the destination buffer, and the destination pointer itself is never compared with the buffer's base address. A client can learn that base from the server's own BUFFER_GET_BASE answer, then send a copy whose destination sits below the base, and the server writes the source bytes at that heap address, which can crash the server or run code in its process. VulnCheck rates the flaw 9.8 Critical under CVSS 3.1 and 9.3 under CVSS 4.0, as CWE-787. The fix, commit 03813c56 of November 23, 2026, is the b12658 tag itself and rewrites the server's request validation in one place. This page gives operators the two readings that settle exposure (build number and who can reach the RPC port), the crash and connection hunt that works around the missing log line, the refused-write test to run after updating, and the firewall step that closes the path until then. The CVE is not in the CISA KEV catalog read for this page, and no source read here reports attacks in the wild.

Also tracked as CVE-2026-137567

First observed
Nov 23, 2026
Last observed
Nov 26, 2026
Last reviewed
Nov 30, 2026
Tracking ended
Nov 26, 2026

Uncertainty and limitations

Read the evidence limits before acting on this record.

The affected range rests on the CVE record; HOL confirmed the one-sided check in the code at the record's named commit and read the fix commit's patch, but did not reproduce the write or audit the rewritten server end to end.

  • The flaw needs a network path to the RPC server's port; a server reachable only by its one trusted client machine gives an outside attacker no way in.
  • The successful below-base write leaves no log line in the vulnerable code, because the log fires only on the upper-bound refusal the attack passes; detection works from crash, restart and connection records.
  • No exploitation in the wild is reported by any source read for this page, and the CVE is absent from the CISA KEV catalog version read in this run.
  • Builds before b11450 are outside the record's stated range and this page makes no claim about them.

Guard coverage and policy

What Guard's reviewed assertions do and do not claim for this campaign, and the reviewed starting points for defense.

Covered by Guard

  • provides evidence

    The campaign rests on the NVD record for CVE-2026-137567 read firsthand through the NVD API, the VulnCheck advisory page, the vulnerable ggml-rpc.cpp code at commit 46f4da2 (tag b12657) read firsthand, the fix commit 03813c56 read firsthand as a patch, the llama.cpp release tags read firsthand, and the CISA KEV feed, all read firsthand in this run. HOL did not reproduce the flaw.

  • Recipe available

    Update every llama.cpp RPC server host to build b12658 or later, because builds b11450 through b12657 check only the end of a copy_tensor write against the destination buffer's end and never check the destination pointer against the buffer base, so an unauthenticated client that learns the base with BUFFER_GET_BASE can write source bytes below it and crash the server or run code in its process (CVE-2026-137567)

    Hosts already on b12658 or a later build carry the fix; the policy names the first fixed build from the record and the tag line.

Safe next step. Campaign guidance is defensive context. It does not auto-apply policy or claim universal campaign coverage.

Timeline

Reviewed events, oldest first, each tied to a verified source.

  1. Disclosure

    The fix landed on November 23, 2026 as commit 03813c56 through pull request 32651: typed request helpers and a single validation step on the RPC server, with rpc_check_region checking each request against the tensor it names. The commit is the b12658 release tag itself.

    Source:llama.cpp fix commit 03813c56 (pull request 32651, the b12658 tag): typed request helpers and a single validation step on the RPC server

  2. Disclosure

    The CVE record for CVE-2026-137567 was published on November 26, 2026, naming llama.cpp b11450 before b12658, with the VulnCheck CVSS 3.1 score of 9.8, the CVSS 4.0 score of 9.3 and CWE-787.

    Sources:NVD record for CVE-2026-137567 (VulnCheck CNA, CVSS 3.1 9.8, CVSS 4.0 9.3, CWE-787)·VulnCheck advisory: llama.cpp b11450 before b12658 out-of-bounds write via RPC copy_tensor

  3. First observed

    Read in this run on November 30, 2026: the ggml-rpc.cpp code at commit 46f4da2 (tag b12657, the state the record points at) shows copy_tensor checking the write end against the buffer end only, with no comparison of the destination pointer against the buffer base.

    Source:Vulnerable ggml-rpc.cpp at commit 46f4da2 (tag b12657): copy_tensor checks the write end against the buffer end and never the destination against the buffer base

  4. First observed

    Read in this run on November 30, 2026: the CISA KEV catalog at version 2026.11.27 holds 1,808 entries and no entry for CVE-2026-137567.

    Source:CISA Known Exploited Vulnerabilities catalog, version 2026.11.27 (CVE absent)

Publication clock: 178.1 hours from reviewed disclosure timestamp to HOL publication; 12-hour critical target; historical backfill outside target.

Reviewed artifacts

The specific artifacts this record concerns, as reviewed. Names and versions are shown as text; a registry link is not recorded here.

  • llama.cpp ggml RPC server (rpc-server), copy_tensor handler in ggml-rpc.cpp@Builds b11450 through b12657; fixed in b12658genericpackage

Sources

Every claim on this record is traceable to the sources below.

Campaign questions, answered

CVE-2026-137567 is an out-of-bounds write in the ggml RPC server that ships with cpp, in builds b11450 through b12657, fixed in b12658. HOL Guard tracked the campaign from Nov 23, 2026 to Nov 26, 2026.

No. Active tracking ended Nov 26, 2026; this page remains as a labeled historical research record and does not imply the threat is currently active.

The record cites 5 primary sources, names 1 reviewed artifact, and was last fully reviewed Nov 30, 2026 by HOL Guard Security Publishing. Its uncertainty and limitations are stated on the record itself.

Campaign guidance is defensive context. It does not auto-apply policy or claim universal campaign coverage. The campaign-specific policy starting point is linked from the coverage section of this record.

The permalink above is permanent. The full record can be downloaded from this page as JSON, an artifact CSV, and a STIX 2.1 bundle, and corrections can be requested through the published correction path on the record. The affected range rests on the CVE record; HOL confirmed the one-sided check in the code at the record's named commit and read the fix commit's patch, but did not reproduce the write or audit the rewritten server end to end.

Reviewed in full by HOL Guard Security Publishing.

Published
Last full review
Last modified

Report a correction

Record HGTC-2026-76022335