Vulnerability · Published Oct 28, 2026 · Assigned by VulnCheck
CVE-2026-118375llama.cpp b8841 before b11865 Stack-based Buffer Overflow via ggml-rpc RDMA rdma_recv()
High 8.1
In plain English
A high-severity out-of-bounds write in llama.cpp from ggml-org. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 31% of all known vulnerabilities).
Official description
llama.cpp b8841 before b11865 contains an out-of-bounds write vulnerability in the ggml-rpc RDMA transport rdma_recv() function that allows unauthenticated peers to overflow the rpc-server stack. Attackers advertising RDMA capabilities in the HELLO message can send up to 256 KiB into a 1-byte stack variable in rpc_serve_client(), crashing the server or potentially executing code.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:14 | llama.cpp | no fix listed | DEBIAN-CVE-2026-118375 |
| Ubuntu:26.04:LTS | llama.cpp | no fix listed | UBUNTU-CVE-2026-118375 |
| Ubuntu:26.10 | llama.cpp | no fix listed | UBUNTU-CVE-2026-118375 |
Affected products (as reported)
Weakness: CWE-787 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- https://github.com/ggml-org/llama.cpp/pull/30399 patch, issue-tracking
- https://github.com/ggml-org/llama.cpp/commit/9a0fde9967fa1a35b6e5dd1f47e1a3648b6fecc1 patch
- https://github.com/ggml-org/llama.cpp/blob/620d2225cc436ab0b001e3200e590e3b286ef9ab/ggml/src/ggml-rpc/transport.cpp#L510-L528 technical-description
- llama.cpp b11865 Release Notes release-notes
- https://github.com/ggml-org/llama.cpp product
- VulnCheck Advisory: llama.cpp b8841 before b11865 Stack-based Buffer Overflow via ggml-rpc RDMA rdma_recv() third-party-advisory