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

Published Oct 28, 2026
·
Updated

llama.cpp b8841 before b11865 contains an out-of-bounds write vulnerability in the ggml-rpc RDMA transport rdmarecv() 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 rpcserveclient(), crashing the server or potentially executing code.

Affected Software

1 affected component
Llama.cpp llama.cpp>=b8841<b11865

Event History

Oct 28, 2026
CVE Published
via MITRE·02:03 AM
Data Sourced
via MITRE·02:03 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What access does an attacker need to exploit this issue?

An attacker only needs network reachability to the rpc-server and does not need authentication or user interaction. Exploitation requires the attacker to advertise RDMA capabilities in the HELLO message and then send crafted RDMA data.

2

Which deployments are exposed?

Deployments running llama.cpp versions from b8841 up to, but not including, b11865 are affected when the ggml-rpc server is reachable by untrusted peers. The vulnerable path is the ggml-rpc RDMA transport.

3

What can happen if exploitation succeeds?

A malicious peer can write up to 256 KiB into a 1-byte stack variable in rpc_serve_client(). This can crash the rpc-server and may enable code execution.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203