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

- Severity: Critical 9.2 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.48%, higher than 43% of CVEs (2026-12-01)
- Published: 2026-10-28T02:03:22.895Z
- Modified: 2026-11-03T13:17:21.830Z
- Weaknesses: CWE-787
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: VulnCheck

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

(As written by CVE List.)

## Affected

- ggml-org llama.cpp: from b8841 before b11865

## Every score

- VulnCheck: CVSS:4.0 9.2 Critical `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`
- VulnCheck: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/ggml-org/llama.cpp/pull/30399> (issue-tracking, patch)
- <https://github.com/ggml-org/llama.cpp/commit/9a0fde9967fa1a35b6e5dd1f47e1a3648b6fecc1> (patch)
- <https://github.com/ggml-org/llama.cpp/blob/620d2225cc436ab0b001e3200e590e3b286ef9ab/ggml/src/ggml-rpc/transport.cpp#L510-L528> (technical-description)
- <https://github.com/ggml-org/llama.cpp/releases/tag/b11865> (release-notes)
- <https://github.com/ggml-org/llama.cpp> (product)
- <https://www.vulncheck.com/advisories/llama-cpp-b8841-before-b11865-stack-based-buffer-overflow-via-ggml-rpc-rdma-rdma-recv> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-118375](https://www.cve.org/CVERecord?id=CVE-2026-118375), CVE Terms of Use, modified 2026-11-03
- NVD: [CVE-2026-118375](https://nvd.nist.gov/vuln/detail/CVE-2026-118375), Public domain, modified 2026-11-03

---

Page: https://cve.day/CVE-2026-118375 · Whole record: https://cve.day/CVE-2026-118375.json · Rebuilt by cve.day 2026-11-25T22:59:47.494Z
