llama.cpp b8841 before b11865 contains an out-of-bounds write vulnerability in the ggml-rpc RDMA transport rdma_recv()
Affects llama.cppSource GCVE Database
Not known to be exploited · CVSS 9.2 Critical.
Data as of 28 Oct 2026, 04:15 UTC
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 28 Oct 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
GitHubggml-org/llama.cpppkg:github/ggml-org/llama.cppOther threats | Affected– | Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Until a fix is available, restricting or disabling RDMA capability advertisement from untrusted peers may reduce exposure. Monitor for vendor updates and apply patches promptly once released.
Description
An out-of-bounds write vulnerability exists in llama.cpp versions from b8841 up to but not including b11865 in the ggml-rpc RDMA transport's rdma_recv() function. This flaw allows unauthenticated peers that advertise RDMA capabilities in the HELLO message to overflow a 1-byte stack variable by sending up to 256 KiB of data, potentially crashing the server or enabling code execution.
References
- nvd.nist.gov/vuln/detail/CVE-2026-118375 (opens in a new tab)
- github.com/ggml-org/llama.cpp/pull/30399 (opens in a new tab)
- github.com/ggml-org/llama.cpp/commit/9a0fde9967fa1a35b6e5dd1f47e1a3648b6fecc1 (opens in a new tab)
- github.com/ggml-org/llama.cpp (opens in a new tab)
- github.com/ggml-org/llama.cpp/blob/620d2225cc436ab0b001e3200e590e3b286ef9ab/ggml/src/ggml-rpc/transport.cpp (opens in a new tab)
- github.com/ggml-org/llama.cpp/releases/tag/b11865 (opens in a new tab)
- vulncheck.com/advisories/llama-cpp-b8841-before-b11865-stack-based-buffer-overflow-via-ggml-rpc-rdma-rdma-recv (opens in a new tab)