CVE-2026-137567 ggml-org · llama.cpp
9.8 Critical
AI summary
llama.cpp versions b11450 before b12658 have an out-of-bounds write in the ggml RPC server that lets unauthenticated remote attackers write to arbitrary heap addresses, crashing the server or executing code. Critical (CVSS 9.8); update to b12658 or later urgently and do not expose the RPC server to untrusted networks.
Official 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.
- Published
- 2026-11-26 14:17 UTC
- Modified
- 2026-11-26 14:17 UTC
- CVSS
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - CWE
- CWE-787
CVSS vector
- Attack vector
- network
- Attack complexity
- low
- Privileges required
- none
- User interaction
- none
- Scope
- unchanged
- Confidentiality
- high
- Integrity
- high
- Availability
- high
References
- NVD · CVE.org
- github.com
https://github.com/ggml-org/llama.cpp/blob/46f4da217419ecac95708600e0f6ebc4bdb91cfd/ggml/src/ggml-rpc/ggml-rpc.cpp#L2083-L2122 - github.com
https://github.com/ggml-org/llama.cpp/commit/03813c56e47f6cd7a9b9bc2ad8edcebed88ce342 - github.com
https://github.com/ggml-org/llama.cpp/pull/32651 - github.com
https://github.com/ggml-org/llama.cpp/releases/tag/b12658 - www.vulncheck.com
https://www.vulncheck.com/advisories/llama-cpp-b11450-before-b12658-out-of-bounds-write-via-rpc-copy-tensor