{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "6d8a09ad919e208fb600538ac8b19bd733a04310"
                  },
                  {
                    "fixed": "0332faae5f5e132314794dbfdae5edecbccea292"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "introduced": "0332faae5f5e132314794dbfdae5edecbccea292"
                  },
                  {
                    "fixed": "38955f1392cbf08eef231a347348445410455c85"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "introduced": "0.3.1"
                  },
                  {
                    "fixed": "1.0.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "introduced": "1.0.0"
                  },
                  {
                    "fixed": "1.1.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "6d8a09ad919e208fb600538ac8b19bd733a04310"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "range": [
                  {
                    "fixed": "0332faae5f5e132314794dbfdae5edecbccea292"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "range": [
                  {
                    "fixed": "38955f1392cbf08eef231a347348445410455c85"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              }
            ]
          },
          "events": [
            {
              "introduced": "6d8a09ad919e208fb600538ac8b19bd733a04310"
            },
            {
              "fixed": "0332faae5f5e132314794dbfdae5edecbccea292"
            },
            {
              "introduced": "0332faae5f5e132314794dbfdae5edecbccea292"
            },
            {
              "fixed": "38955f1392cbf08eef231a347348445410455c85"
            },
            {
              "introduced": "387eb5df5413fe89d7b62246d6e5b094fd82e0f5"
            },
            {
              "fixed": "8105f803030f7f5ae1d722251ee6ab2e36878830"
            },
            {
              "introduced": "8105f803030f7f5ae1d722251ee6ab2e36878830"
            },
            {
              "fixed": "cb463a0d1584c9dc70d621e7afdb0721f67f1d36"
            },
            {
              "fixed": "6d8a09ad919e208fb600538ac8b19bd733a04310"
            }
          ],
          "repo": "https://github.com/elixir-grpc/grpc",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-c2h9-f9cc-27xh"
  ],
  "database_specific": {
    "cna_assigner": "EEF",
    "cwe_ids": [
      "CWE-400",
      "CWE-835"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/121xxx/CVE-2026-121809.json"
  },
  "details": "Loop with Unreachable Exit Condition ('Infinite Loop') vulnerability in elixir-grpc grpc_server and grpc allows unauthenticated attackers to occupy a BEAM scheduler indefinitely via a client-streaming or bidirectional-streaming request whose body ends inside a gRPC message.\n\nGRPC.Server.Adapters.Cowboy.read_stream/1 (grpc_server/lib/grpc/server/adapters/cowboy.ex, and the Cowboy adapter in grpc before the package split) asks for more data whenever the buffer does not hold a complete message. Once the request body has ended, every further read returns an empty chunk, so the buffer never changes and the function retries without end. A single 5-byte length prefix sent with END_STREAM keeps one scheduler busy for as long as the connection stays open, and repeated requests exhaust all schedulers.\n\nThis issue affects grpc: from 0.3.1 before 1.0.0; grpc_server: from 1.0.0 before 1.1.0.",
  "id": "CVE-2026-121809",
  "modified": "2026-11-24T20:46:00.739851043Z",
  "published": "2026-11-13T16:18:37.954Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://cna.erlef.org/cves/CVE-2026-121809.html"
    },
    {
      "type": "WEB",
      "url": "https://github.com"
    },
    {
      "type": "WEB",
      "url": "https://osv.dev/vulnerability/EEF-CVE-2026-121809"
    },
    {
      "type": "WEB",
      "url": "https://repo.hex.pm"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/121xxx/CVE-2026-121809.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/elixir-grpc/grpc/security/advisories/GHSA-c2h9-f9cc-27xh"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-121809"
    },
    {
      "type": "FIX",
      "url": "https://github.com/elixir-grpc/grpc/commit/0332faae5f5e132314794dbfdae5edecbccea292"
    },
    {
      "type": "FIX",
      "url": "https://github.com/elixir-grpc/grpc/commit/38955f1392cbf08eef231a347348445410455c85"
    },
    {
      "type": "FIX",
      "url": "https://github.com/elixir-grpc/grpc/commit/6d8a09ad919e208fb600538ac8b19bd733a04310"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/elixir-grpc/grpc"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "CPU exhaustion via a truncated gRPC message on streaming RPCs in elixir-grpc grpc_server"
}