---
title: "CVE-2026-118375: llama.cpp - Buffer Overflow"
description: "llama.cpp before b11865 contains a buffer overflow caused by out-of-bounds write in ggml-rpc RDMA transport rdma_recv() function, letting unauthenticated peers crash the server or execute code, exploit requires attacker to advertise RDMA capabilities."
url: https://panop.io/threat-heartbeat/CVE-2026-118375/
---

# CVE-2026-118375 llama.cpp - Buffer Overflow

llama.cpp before b11865 contains a buffer overflow caused by out-of-bounds write in ggml-rpc RDMA transport rdma\_recv() function, letting unauthenticated peers crash the server or execute code, exploit requires attacker to advertise RDMA capabilities.

CVSS base score 8.1 /10

High

CISA KEV

Not listed

Public exploit

None known

Authentication

Not required

EPSS

0.37% chance of exploitation in 30 days

[View the NVD record ↗](https://nvd.nist.gov/vuln/detail/CVE-2026-118375)

## Details

Type

Buffer Overflow

Impact

Remote Code Execution, Denial Of Service

CVSS vector

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Published

28 October 2026

Updated

29 October 2026

Weakness

[CWE-787](https://cwe.mitre.org/data/definitions/787.html)

## Vendor fix

Update to version b11865 or later.

Patching closes this CVE. It does not tell you which of your systems run the affected version, or what else is exposed alongside them.

## References

- [https://nvd.nist.gov/vuln/detail/CVE-2026-118375](https://nvd.nist.gov/vuln/detail/CVE-2026-118375)
- [https://github.com/ggml-org/llama.cpp/pull/30399](https://github.com/ggml-org/llama.cpp/pull/30399)
- [https://github.com/ggml-org/llama.cpp/releases/tag/b11865](https://github.com/ggml-org/llama.cpp/releases/tag/b11865)
- [https://www.vulncheck.com/advisories/llama-cpp-b8841-before-b11865-stack-based-buffer-overflow-via-ggml-rpc-rdma-rdma-recv](https://www.vulncheck.com/advisories/llama-cpp-b8841-before-b11865-stack-based-buffer-overflow-via-ggml-rpc-rdma-rdma-recv)
- [https://github.com/ggml-org/llama.cpp](https://github.com/ggml-org/llama.cpp)
- [https://github.com/ggml-org/llama.cpp/blob/620d2225cc436ab0b001e3200e590e3b286ef9ab/ggml/src/ggml-rpc/transport.cpp#L510-L528](https://github.com/ggml-org/llama.cpp/blob/620d2225cc436ab0b001e3200e590e3b286ef9ab/ggml/src/ggml-rpc/transport.cpp#L510-L528)
- [https://github.com/ggml-org/llama.cpp/commit/9a0fde9967fa1a35b6e5dd1f47e1a3648b6fecc1](https://github.com/ggml-org/llama.cpp/commit/9a0fde9967fa1a35b6e5dd1f47e1a3648b6fecc1)

[← All CVEs](https://panop.io/threat-heartbeat/)

## What this record can't tell you

- Whether you run the affected software, and where
- Whether an attacker can actually reach and exploit it
- The misconfigurations that never get a CVE number
- What it would cost the business, ranked into what to fix first

Panop answers these inside your environment, for this CVE and every other finding.

[Book a demo](https://panop.io/demo)
