{"id":"CVE-2026-119052","state":"PUBLISHED","title":"llama.cpp b2877 before b11935 ggml-rpc Server DoS via Oversized recv_msg Length","description":"llama.cpp b2877 before b11935 contains an uncaught exception vulnerability in the ggml-rpc server that allows unauthenticated remote attackers to crash the rpc-server by sending oversized message lengths. After the HELLO handshake, attackers can send a command such as SET_TENSOR with a length above std::vector::max_size(), triggering an uncaught std::length_error that aborts the process and denies service to all clients.","publishedAt":"2026-10-29T13:08:52.886Z","updatedAt":"2026-10-29T17:19:54.661Z","severity":{"score":8.7,"label":"High","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/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":"b2877","status":"affected","lessThan":"b11935","versionType":"custom"}],"repo":"https://github.com/ggml-org/llama.cpp"}],"references":["https://github.com/ggml-org/llama.cpp/pull/31204","https://github.com/ggml-org/llama.cpp/commit/7ecb57f7adbea2928aa468ad2aecf05b10725ad4","https://github.com/ggml-org/llama.cpp","https://github.com/ggml-org/llama.cpp/releases/tag/b11935","https://github.com/ggml-org/llama.cpp/blob/8542e94350f0ade01644db6f1d1520da3814dafd/ggml/src/ggml-rpc/ggml-rpc.cpp#L344-L356","https://www.vulncheck.com/advisories/llama-cpp-b2877-before-b11935-ggml-rpc-server-dos-via-oversized-recv-msg-length"],"weaknesses":["CWE-248"],"ingestedAt":"2026-10-29T20:10:52.580Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/119xxx/CVE-2026-119052.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-119052","state":"PUBLISHED","datePublished":"2026-10-29T13:08:52.886Z","dateUpdated":"2026-10-29T17:19:54.661Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-10-29T11:51:51.673Z"},"containers":{"cna":{"title":"llama.cpp b2877 before b11935 ggml-rpc Server DoS via Oversized recv_msg Length","descriptions":[{"lang":"en","value":"llama.cpp b2877 before b11935 contains an uncaught exception vulnerability in the ggml-rpc server that allows unauthenticated remote attackers to crash the rpc-server by sending oversized message lengths. After the HELLO handshake, attackers can send a command such as SET_TENSOR with a length above std::vector::max_size(), triggering an uncaught std::length_error that aborts the process and denies service to all clients."}],"affected":[{"vendor":"ggml-org","product":"llama.cpp","packageURL":"pkg:github/ggml-org/llama.cpp","defaultStatus":"unaffected","versions":[{"version":"b2877","status":"affected","lessThan":"b11935","versionType":"custom"}],"repo":"https://github.com/ggml-org/llama.cpp"}],"references":[{"url":"https://github.com/ggml-org/llama.cpp/pull/31204","tags":["patch","issue-tracking"]},{"url":"https://github.com/ggml-org/llama.cpp/commit/7ecb57f7adbea2928aa468ad2aecf05b10725ad4","tags":["patch"],"name":"Patch Commit"},{"url":"https://github.com/ggml-org/llama.cpp","tags":["product"]},{"url":"https://github.com/ggml-org/llama.cpp/releases/tag/b11935","tags":["release-notes"],"name":"llama.cpp b11935 Release Notes"},{"url":"https://github.com/ggml-org/llama.cpp/blob/8542e94350f0ade01644db6f1d1520da3814dafd/ggml/src/ggml-rpc/ggml-rpc.cpp#L344-L356","tags":["technical-description"]},{"url":"https://www.vulncheck.com/advisories/llama-cpp-b2877-before-b11935-ggml-rpc-server-dos-via-oversized-recv-msg-length","name":"VulnCheck Advisory: llama.cpp b2877 before b11935 ggml-rpc Server DoS via Oversized recv_msg Length","tags":["third-party-advisory"]}],"metrics":[{"format":"CVSS","cvssV4_0":{"version":"4.0","vectorString":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":8.7,"baseSeverity":"HIGH"}},{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-248","lang":"en","description":"Uncaught Exception","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-10-29T13:08:52.886Z"},"datePublic":"2026-10-27T00:00:00.000Z","cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:ggml:llama.cpp:*:*:*:*:*:*:*:*","versionStartIncluding":"b2877","versionEndExcluding":"b11935"}]}]}],"credits":[{"lang":"en","value":"Sohaib Harraoui (Ostorlab)","type":"finder"},{"lang":"en","value":"Sohaib Harraoui (Ostorlab)","type":"remediation developer"}],"x_generator":{"engine":"vulncheck-endgame"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-10-29T15:43:46.702942Z","id":"CVE-2026-119052","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-29T17:19:54.661Z"}}]}}}