← News

Llama.cpp: Remote code execution via RPC server

CriticalAI-generated2026-11-28

CVE
CVE-2026-137567
Severity
Critical (CVSS 9.8)
Attack conditions
Remotely, over the network · No account needed · No user action needed
Exploitation probability (EPSS)
0.7% (within 30 days; FIRST EPSS, 30 November 2026)

Summary

The llama.cpp library versions before b12658 contain a flaw that lets unauthenticated attackers write to arbitrary memory locations. This can lead to crashes or code execution on the affected system.

Details

According to the NVD record, the llama.cpp library (commit b11450 up to but not including b12658) has an out-of-bounds write issue in its ggml RPC server. The vulnerability allows attackers without authentication to write to any heap address by manipulating tensor parameters.

An attacker can first discover buffer base addresses using the BUFFER_GET_BASE command, then issue an RPC_CMD_COPY_TENSOR request with a destination pointer set below that base. This can cause the server to crash or enable the attacker to execute arbitrary code.

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

  • 26 November 2026 NVD record published
  • 28 November 2026 This article was written