{"id":"CVE-2026-118375","state":"PUBLISHED","title":"llama.cpp b8841 before b11865 Stack-based Buffer Overflow via ggml-rpc RDMA rdma_recv()","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.","publishedAt":"2026-10-28T02:03:22.895Z","updatedAt":"2026-10-28T02:03:22.895Z","severity":{"score":9.2,"label":"Critical","version":"4.0","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","source":"VulnCheck"},"assigner":"VulnCheck","products":["ggml-org llama.cpp"],"affected":[{"vendor":"ggml-org","product":"llama.cpp","packageURL":"pkg:github/ggml-org/llama.cpp","defaultStatus":"unaffected","versions":[{"version":"b8841","status":"affected","lessThan":"b11865","versionType":"custom"}],"repo":"https://github.com/ggml-org/llama.cpp"}],"references":["https://github.com/ggml-org/llama.cpp/pull/30399","https://github.com/ggml-org/llama.cpp/commit/9a0fde9967fa1a35b6e5dd1f47e1a3648b6fecc1","https://github.com/ggml-org/llama.cpp/blob/620d2225cc436ab0b001e3200e590e3b286ef9ab/ggml/src/ggml-rpc/transport.cpp#L510-L528","https://github.com/ggml-org/llama.cpp/releases/tag/b11865","https://github.com/ggml-org/llama.cpp","https://www.vulncheck.com/advisories/llama-cpp-b8841-before-b11865-stack-based-buffer-overflow-via-ggml-rpc-rdma-rdma-recv"],"weaknesses":["CWE-787"],"ingestedAt":"2026-10-29T20:10:52.580Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/118xxx/CVE-2026-118375.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-118375","state":"PUBLISHED","datePublished":"2026-10-28T02:03:22.895Z","dateUpdated":"2026-10-28T02:03:22.895Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-10-28T01:19:21.370Z"},"containers":{"cna":{"title":"llama.cpp b8841 before b11865 Stack-based Buffer Overflow via ggml-rpc RDMA rdma_recv()","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"ggml-org","product":"llama.cpp","packageURL":"pkg:github/ggml-org/llama.cpp","defaultStatus":"unaffected","versions":[{"version":"b8841","status":"affected","lessThan":"b11865","versionType":"custom"}],"repo":"https://github.com/ggml-org/llama.cpp"}],"references":[{"url":"https://github.com/ggml-org/llama.cpp/pull/30399","tags":["patch","issue-tracking"]},{"url":"https://github.com/ggml-org/llama.cpp/commit/9a0fde9967fa1a35b6e5dd1f47e1a3648b6fecc1","tags":["patch"]},{"url":"https://github.com/ggml-org/llama.cpp/blob/620d2225cc436ab0b001e3200e590e3b286ef9ab/ggml/src/ggml-rpc/transport.cpp#L510-L528","tags":["technical-description"]},{"url":"https://github.com/ggml-org/llama.cpp/releases/tag/b11865","tags":["release-notes"],"name":"llama.cpp b11865 Release Notes"},{"url":"https://github.com/ggml-org/llama.cpp","tags":["product"]},{"url":"https://www.vulncheck.com/advisories/llama-cpp-b8841-before-b11865-stack-based-buffer-overflow-via-ggml-rpc-rdma-rdma-recv","name":"VulnCheck Advisory: llama.cpp b8841 before b11865 Stack-based Buffer Overflow via ggml-rpc RDMA rdma_recv()","tags":["third-party-advisory"]}],"metrics":[{"format":"CVSS","cvssV4_0":{"version":"4.0","vectorString":"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","attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"PRESENT","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":9.2,"baseSeverity":"CRITICAL"}},{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":8.1,"baseSeverity":"HIGH"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-787","lang":"en","description":"Out-of-bounds Write","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-10-28T02:03:22.895Z"},"datePublic":"2026-10-24T00:00:00.000Z","cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:ggml:llama.cpp:*:*:*:*:*:*:*:*","versionStartIncluding":"b8841","versionEndExcluding":"b11865"}]}]}],"credits":[{"lang":"en","value":"Sohaib Harraoui (Ostorlab)","type":"finder"},{"lang":"en","value":"Sohaib Harraoui (Ostorlab)","type":"remediation developer"}],"x_generator":{"engine":"vulncheck-endgame"}}}}}