llama.cpp b11450 before b12658 Out-of-Bounds Write via RPC copy_tensor
CVE-2026-137567Published 26 Nov 2026, 13:13 UTC
Real-world risk
8.5/ 10High
Patch this week; within 48 h if Internet-facing
PreliminaryFrom the CVSS vector only · confidence low
CVSS
9.3
scored by the vendor (CNA), CVSS 4.0
In plain words
No plain-language summary yet. The original description is below.
Original description (from VulnCheck)
llama.cpp b11450 before b12658 contains an out-of-bounds write vulnerability in the ggml RPC server that allows unauthenticated attackers to write to arbitrary heap addresses via zero-element destination tensors. Attackers can learn buffer bases with BUFFER_GET_BASE, then send RPC_CMD_COPY_TENSOR with a destination pointer below the buffer base to crash the server or execute code.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| llama.cppNiche | >= b11450, < b12658 | b12658 |
What to do
Update to a fixed version: b12658.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Full compromiseCode execution or full control of the system or application | From the CVSS vector | 1.00 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | NoneNo account | From the CVSS vector | 1.00 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
EPSS 0.8% chance of exploitation in 30 days (percentile 57), as of 2026-12-02.
The arithmetic
- Prerequisites multiplied together1.000
- Threat T1: Nothing known0.850
- 10 × impact 1 × prerequisites 1 × threat 0.858.500
- Rounded to one decimal between 0.1 and 108.5
Exploitation and evidence timeline
- 26 Nov 2026 Published
- 2 Dec 2026 Risk 8.5 (cvss fallback)
Weakness
CWE-787
References
- https://github.com/ggml-org/llama.cpp/pull/32651issue-tracking, patch
- https://github.com/ggml-org/llama.cpp/commit/03813c56e47f6cd7a9b9bc2ad8edcebed88ce342patch
- https://github.com/ggml-org/llama.cpp/releases/tag/b12658release-notes
- https://github.com/ggml-org/llama.cpp/blob/46f4da217419ecac95708600e0f6ebc4bdb91cfd/ggml/src/ggml-rpc/ggml-rpc.cpp#L2083-L2122technical-description
- https://www.vulncheck.com/advisories/llama-cpp-b11450-before-b12658-out-of-bounds-write-via-rpc-copy-tensorthird-party-advisory
- CVE-2026-137567 on CVE.org