CVE-2026-118375

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

Published Oct 28, 2026 CVSS 4.0 · 9.2 Critical EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

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 available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Ggml-org
Ggml-org llama.cpp
Vendors & Products Ggml-org
Ggml-org llama.cpp
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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 3, 2026, 12:43 PM
Reserved
Oct 28, 2026, 1:19 AM
Status
Awaiting Analysis
Published
Oct 28, 2026, 3:17 AM
Modified
Nov 3, 2026, 1:17 PM