← News

Llama.cpp: Remote code execution

HighAI-generated2026-11-04

CVE
CVE-2026-118375
Severity
High (CVSS 8.1)
Attack conditions
Remotely, over the network · No account needed · No user action needed
Exploitation probability (EPSS)
0.3% (within 30 days; FIRST EPSS, 31 October 2026)

Summary

Llama.cpp versions before b11865 contain an out-of-bounds write flaw that lets unauthenticated peers overflow a server stack variable, potentially leading to crashes or code execution.

Details

According to the NVD record, llama.cpp versions prior to commit b11865 have an out-of-bounds write issue in the ggml-rpc RDMA transport function rdma_recv(). The flaw allows unauthenticated peers that claim RDMA support in the initial HELLO message to write up to 256 KiB into a one-byte stack variable used by rpc_serve_client().

An attacker can exploit this to crash the RPC server or possibly execute arbitrary code on the affected system. No mitigation or patch information is provided in the source.

What to do

The source record does not name a specific patch, fixed version or workaround. General measures:

  • Follow the vendor's security advisories.
  • Apply the update when it is released.
  • Limit access to the product as much as possible, especially from the internet.

Sources

Timeline

  • 28 October 2026 NVD record published
  • 4 November 2026 This article was written