{"id":"UBUNTU-CVE-2026-118375","details":"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.","modified":"2026-10-28T20:16:02.613393492Z","published":"2026-10-28T03:17:00Z","upstream":["CVE-2026-118375"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-118375"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-118375"},{"type":"REPORT","url":"https://github.com/ggml-org/llama.cpp/pull/30399"},{"type":"REPORT","url":"https://github.com/ggml-org/llama.cpp"},{"type":"REPORT","url":"https://github.com/ggml-org/llama.cpp/blob/620d2225cc436ab0b001e3200e590e3b286ef9ab/ggml/src/ggml-rpc/transport.cpp#L510-L528"},{"type":"REPORT","url":"https://github.com/ggml-org/llama.cpp/commit/9a0fde9967fa1a35b6e5dd1f47e1a3648b6fecc1"},{"type":"REPORT","url":"https://github.com/ggml-org/llama.cpp/releases/tag/b11865"},{"type":"REPORT","url":"https://www.vulncheck.com/advisories/llama-cpp-b8841-before-b11865-stack-based-buffer-overflow-via-ggml-rpc-rdma-rdma-recv"}],"affected":[{"package":{"name":"llama.cpp","ecosystem":"Ubuntu:26.10","purl":"pkg:deb/ubuntu/llama.cpp?arch=source&distro=stonking"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["8681+dfsg-1","9721+dfsg-1ubuntu1","10438+dfsg-1","10438+dfsg-1ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_name":"libllama0","binary_version":"10438+dfsg-1ubuntu1"},{"binary_name":"llama.cpp","binary_version":"10438+dfsg-1ubuntu1"},{"binary_version":"10438+dfsg-1ubuntu1","binary_name":"llama.cpp-examples"},{"binary_name":"llama.cpp-services","binary_version":"10438+dfsg-1ubuntu1"},{"binary_name":"llama.cpp-tests","binary_version":"10438+dfsg-1ubuntu1"},{"binary_version":"10438+dfsg-1ubuntu1","binary_name":"llama.cpp-tools"},{"binary_name":"llama.cpp-tools-extra","binary_version":"10438+dfsg-1ubuntu1"},{"binary_name":"python3-gguf","binary_version":"10438+dfsg-1ubuntu1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-118375.json"}},{"package":{"name":"llama.cpp","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/llama.cpp?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5882+dfsg-2","8064+dfsg-1ubuntu1","8681+dfsg-1"],"ecosystem_specific":{"binaries":[{"binary_name":"libllama0","binary_version":"8681+dfsg-1"},{"binary_version":"8681+dfsg-1","binary_name":"llama.cpp"},{"binary_name":"llama.cpp-examples","binary_version":"8681+dfsg-1"},{"binary_name":"llama.cpp-tests","binary_version":"8681+dfsg-1"},{"binary_name":"llama.cpp-tools","binary_version":"8681+dfsg-1"},{"binary_version":"8681+dfsg-1","binary_name":"llama.cpp-tools-extra"},{"binary_version":"8681+dfsg-1","binary_name":"python3-gguf"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-118375.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"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"},{"type":"Ubuntu","score":"medium"}]}