CVE-2026-137567
Description
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Mitigation details
CVE-2026-137567 NameCVE-2026-137567 Descriptionllama.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…
CVE-2026-137567
| Name | CVE-2026-137567 |
| Description | 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| llama.cpp (PTS) | forky | 1:1.0.0+dfsg-1 | vulnerable |
| sid | 1:1.1.0+dfsg-2 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| llama.cpp | source | (unstable) | 1:1.1.0+dfsg-1 |
Notes
https://github.com/ggml-org/llama.cpp/pull/32651
https://github.com/ggml-org/llama.cpp/commit/03813c56e47f6cd7a9b9bc2ad8edcebed88ce342 (v1.1.0)
Apply commands
https://github.com/ggml-org/llama.cpp/pull/32651https://github.com/ggml-org/llama.cpp/commit/03813c56e47f6cd7a9b9bc2ad8edcebed88ce342 (v1.1.0)
OS impact
Debian Mixed 2 releases
| Version | Package | Status | Fixed in |
|---|---|---|---|
| sid | llama.cpp |
Fixed | 1:1.1.0+dfsg-1 |
| forky | llama.cpp |
Affected | — |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| ggml-org | llama.cpp | {"startIncluding":"b11450","endExcluding":"b12658"} | b12658 |
References
- https://github.com/ggml-org/llama.cpp/blob/46f4da217419ecac95708600e0f6ebc4bdb91cfd/ggml/src/ggml-rpc/ggml-rpc.cpp#L2083-L2122
- https://github.com/ggml-org/llama.cpp/commit/03813c56e47f6cd7a9b9bc2ad8edcebed88ce342
- https://github.com/ggml-org/llama.cpp/pull/32651
- https://github.com/ggml-org/llama.cpp/releases/tag/b12658
- https://www.vulncheck.com/advisories/llama-cpp-b11450-before-b12658-out-of-bounds-write-via-rpc-copy-tensor
- https://security-tracker.debian.org/tracker/CVE-2026-137567
CWEs
CWE-787
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.