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.
Published: 2026-10-28
Score: 9.2 Critical
EPSS: n/a
KEV: No
Impact: Remote code execution or denial of service via stack overflow
Action: Immediate Patch
AI Analysis

Impact

An out‑of‑bounds write in the ggml‑rpc RDMA transport’s rdma_recv() function can overflow a one‑byte stack variable in rpc_serve_client(), allowing an unauthenticated remote peer to crash the server or potentially execute arbitrary code. This flaw is a classic stack‑based buffer overflow (CWE‑787) that directly compromises the confidentiality, integrity, and availability of the affected service.

Affected Systems

The vulnerability affects builds of the open‑source llama.cpp project from ggml‑org, specifically any version prior to commit b11865; the defect present as early as commit b8841. Users of older releases should verify their code base and update to b11865 or later versions where the buffer boundary check has been corrected.

Risk and Exploitability

The CVSS score of 9.2 indicates a critical level of risk. Exploitation requires no authentication: an attacker can advertise RDMA capabilities in the HELLO message and deliver up to 256 KiB of data to the vulnerable stack slot, triggering a crash or possibly arbitrary code execution. With no EPSS data and no KEV listing, the likelihood of attack remains uncertain, but the high severity and public disclosure mean that a determined adversary could mount a remote attack against exposed RPC endpoints.

Generated by OpenCVE AI on October 28, 2026 at 03:24 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest llama.cpp release (commit b11865 or newer) to fix the buffer overflow bug.
  • If upgrading immediately is not feasible, disable RDMA capability advertising in the HELLO message or use configuration options to reject RDMA traffic from untrusted peers.
  • Limit network exposure of the RPC interface by restricting it to trusted hosts or subnet ranges, and monitor logs for abnormal RDMA traffic or repeated crashes.

Generated by OpenCVE AI on October 28, 2026 at 03:24 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 28 Oct 2026 02:30:00 +0000

Type Values Removed Values Added
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.
Title llama.cpp b8841 before b11865 Stack-based Buffer Overflow via ggml-rpc RDMA rdma_recv()
First Time appeared Ggml
Ggml llama.cpp
Weaknesses CWE-787
CPEs cpe:2.3:a:ggml:llama.cpp:*:*:*:*:*:*:*:*
Vendors & Products Ggml
Ggml llama.cpp
References
Metrics cvssV3_1

{'score': 8.1, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 9.2, '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-28T02:03:22.895Z

Reserved: 2026-10-28T01:19:21.370Z

Link: CVE-2026-118375

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-28T03:17:14.077

Modified: 2026-10-28T03:17:14.077

Link: CVE-2026-118375

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-28T03:30:15Z

Weaknesses