{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "b2877"
                  },
                  {
                    "fixed": "b11935"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "7ecb57f7adbea2928aa468ad2aecf05b10725ad4"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "b11935",
                "range": [
                  {
                    "fixed": "7ecb57f7adbea2928aa468ad2aecf05b10725ad4"
                  }
                ],
                "source": "REFERENCES_TAG"
              },
              {
                "cpe": "cpe:2.3:a:ggml:llama.cpp:*:*:*:*:*:*:*:*",
                "range": [
                  {
                    "introduced": "b2877"
                  },
                  {
                    "fixed": "b11935"
                  }
                ],
                "source": "CPE_RANGE"
              }
            ]
          },
          "events": [
            {
              "introduced": "5e31828d3e35c76ecfee665bc23771a4bec1d130"
            },
            {
              "fixed": "7ecb57f7adbea2928aa468ad2aecf05b10725ad4"
            }
          ],
          "repo": "https://github.com/ggml-org/llama.cpp",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-248"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/119xxx/CVE-2026-119052.json"
  },
  "details": "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.",
  "id": "CVE-2026-119052",
  "modified": "2026-11-19T20:45:55.129489068Z",
  "published": "2026-10-29T13:08:52.886Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/119xxx/CVE-2026-119052.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/ggml-org/llama.cpp/releases/tag/b11935"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-119052"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/llama-cpp-b2877-before-b11935-ggml-rpc-server-dos-via-oversized-recv-msg-length"
    },
    {
      "type": "FIX",
      "url": "https://github.com/ggml-org/llama.cpp/commit/7ecb57f7adbea2928aa468ad2aecf05b10725ad4"
    },
    {
      "type": "FIX",
      "url": "https://github.com/ggml-org/llama.cpp/pull/31204"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/ggml-org/llama.cpp"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/ggml-org/llama.cpp/blob/8542e94350f0ade01644db6f1d1520da3814dafd/ggml/src/ggml-rpc/ggml-rpc.cpp#L344-L356"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "llama.cpp b2877 before b11935 ggml-rpc Server DoS via Oversized recv_msg Length"
}