CVEsggml-orgCVE-2026-118375Published Oct 28, 02:03 · Updated Oct 28, 02:03 UTC
8.1
HighCVSS 3.1 · from VulnCheck
CVE-2026-118375

llama.cpp b8841 before b11865 Stack-based Buffer Overflow via ggml-rpc RDMA rdma_recv()

llama.cpp · Out-of-bounds write · CWE-787
Affectedllama.cpp
FixA patch is linked in the references.
PublishedOct 28, 02:03 · VulnCheck
ScoredOct 28 · 8.1 · VulnCheck
Exploit code publicNone known · checked 21:18 UTC
ExploitedNone known · CISA KEV checked 22:10 UTC

What we know

No known exploitation. CISA KEV, checked 22:10 UTC.
No public exploit code known. Exploit-DB, Metasploit, Nuclei, checked 21:18 UTC.
An attacker only needs network access to the target. No login needed. CVSS: network, no privileges.
It only works under certain conditions, which makes it harder to pull off. CVSS: high attack complexity.
A successful attack can read and change data and take the service down. CVSS: high impact on confidentiality, integrity and availability.

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.

From VulnCheck

Affected and fixed versions

ProductAffectedFixed inllama.cppb8841 – before b11865–

Exploit code

Exploit-DBnone knownMetasploitnone knownNucleinone known

References

github.com/ggml-org/llama.cpp/pull/30399 · github.compatchissue trackinggithub.com/ggml-org/llama.cpp/commit/9a0fde9967fa1a35b6e5dd1f47e1a3648b6fecc1 · github.compatchgithub.com/ggml-org/llama.cpp/blob/620d2225cc436ab0b001e3200e590e3b286ef9ab/ggml/src/ggml-rpc/transport.cpp#L510-L528 · github.comtechnical descriptionllama.cpp b11865 Release Notes · github.comrelease notesgithub.com/ggml-org/llama.cpp · github.comproductVulnCheck Advisory: llama.cpp b8841 before b11865 Stack-based Buffer Overflow via ggml-rpc RDMA rdma_recv() · vulncheck.comthird party advisory

Other CVEs in llama.cpp

All 34 →
7.5llama.cpp b2877 before b11935 ggml-rpc Server DoS via Oversized recv_msg Length · CVE-2026-119052Oct 296.1llama.cpp b5854 before b11275 Integer Overflow in gguf_init_from_reader · CVE-2026-116840Oct 276.6llama.cpp b10398 before b11301 Integer Overflow in gguf_init_from_reader · CVE-2026-116829Oct 27