CVE-2026-118375
8.1 HIGHpublic exploit availablePublished 2026-10-28 · Updated 2026-10-28
AI risk analysis
- Summary
- An out-of-bounds write in llama.cpp's ggml-rpc RDMA transport allows unauthenticated remote attackers to overflow a 1-byte stack variable by sending up to 256 KiB during the rdma_recv() call, leading to server crash or potential code execution.
- Exploitability
- Exploitation requires an unauthenticated attacker to advertise RDMA capabilities in the HELLO message and send a maliciously large payload, but high attack complexity (AC:H) suggests non-trivial conditions must be met.
- Blast radius
- Successful exploitation could allow remote code execution or denial of service on any system running the vulnerable llama.cpp RPC server with RDMA enabled, affecting confidentiality, integrity, and availability.
- Detection
- No reliable host or network indicator is derivable from the published description.
- Prioritized remediation
- Upgrade to llama.cpp commit b11865 or later, which contains the fix for this vulnerability.
Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.
NVD 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.
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-787
Public exploit & PoC references
- https://github.com/ggml-org/llama.cpp
- https://github.com/ggml-org/llama.cpp/blob/620d2225cc436ab0b001e3200e590e3b286ef9ab/ggml/src/ggml-rpc/transport.cpp#L510-L528
- https://github.com/ggml-org/llama.cpp/commit/9a0fde9967fa1a35b6e5dd1f47e1a3648b6fecc1
- https://github.com/ggml-org/llama.cpp/pull/30399
- https://github.com/ggml-org/llama.cpp/releases/tag/b11865
All references
- https://github.com/ggml-org/llama.cpp
- https://github.com/ggml-org/llama.cpp/blob/620d2225cc436ab0b001e3200e590e3b286ef9ab/ggml/src/ggml-rpc/transport.cpp#L510-L528
- https://github.com/ggml-org/llama.cpp/commit/9a0fde9967fa1a35b6e5dd1f47e1a3648b6fecc1
- https://github.com/ggml-org/llama.cpp/pull/30399
- https://github.com/ggml-org/llama.cpp/releases/tag/b11865
- https://www.vulncheck.com/advisories/llama-cpp-b8841-before-b11865-stack-based-buffer-overflow-via-ggml-rpc-rdma-rdma-recv
Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.
Related CVEs
- CRITICALCVE-2026-100740
- HIGHCVE-2026-108457
- HIGHCVE-2026-115504PoC
- HIGHCVE-2026-15894PoC
- HIGHCVE-2026-70197
- CRITICALCVE-2026-76934
- CRITICALCVE-2026-91843
- HIGHCVE-2026-100111
Related by shared AI tags and CWE weakness class. Browse the full archive.