CVE-2026-118375 PUBLISHED

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

Assigner: VulnCheck
Reserved: 28.10.2026 Published: 28.10.2026 Updated: 28.10.2026

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.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
CVSS Score: 9.2

Product Status

Vendor ggml-org
Product llama.cpp
Versions Default: unaffected
  • affected from b8841 to b11865 (excl.)

Credits

  • Sohaib Harraoui (Ostorlab) finder
  • Sohaib Harraoui (Ostorlab) remediation developer

References

Problem Types

  • Out-of-bounds Write CWE