CVE-2026-137567
RPC tensor copying could write outside an allocated buffer
ggml-org · llama.cpp ggml RPC server
First documented disclosure · Review checkpoint
Summary
A crafted zero-element destination tensor could evade buffer checks before a copy.
Severity and exploitation evidence
Critical · 9.3/10 · CVSS 4.0. Severity source.
Exploitation not established: Public original advisories and static source evidence only; no exploit, package, provider request or upstream test was executed. No malicious exploitation against users is established by this review.
Technical severity is not a measure of observed attacks or of risk to your deployment. Attempts, demonstrations, and successful compromise retain the qualifications in the source.
How the weakness works
The copy path accepted a destination pointer below its allocated buffer when its declared element count was zero.
Conditions required
An attacker can reach the affected RPC server; this concerns the separate RPC service, not every ordinary model HTTP endpoint.
Potential impact
Heap memory corruption can crash the service or potentially execute code with its privileges.
Affected versions and configurations
b11450 through builds before b12658, according to the CNA.
Fix and mitigation status
b12658 contains PR 32651’s typed request and tensor-region validation; GitHub marks this published build as a prerelease.
Practical next steps
Deploy a corrected RPC build and keep the RPC service on a trusted, restricted network.
Operating lesson
Validate the actual copy length and destination region, including zero-sized declarations.
Evidence and limits
CNA datePublic is November 20, when the broad hardening PR opened; its current prose is mutable. November 23 merge of the inspectable correction is the conservative verified public-correction checkpoint used here. Buildb12658 published November 24; CNA published November 26. Tagged copy_tensor calls rpc_check_region with the source byte length. This source check is not a code-execution reproduction. CNA scoresCVSS 4.0Critical 9.3 andCVSS 3.1Critical 9.8; the former is shown.
Sources
- Merged RPC validation correction
Primary source ·
- b12658 prerelease build
Primary source ·
- Tagged RPC copy and bounds validation
Primary source ·
- Exact CVE authority record
Primary source ·