{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "3.2.12"
                  },
                  {
                    "fixed": "3.2.14"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "introduced": "3.3.0rc1"
                  },
                  {
                    "fixed": "3.3.2"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "f9a7ac64c06fb7957005199e6153ad1c16496c70"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "range": [
                  {
                    "fixed": "b7e3305e0a96d5b02a600355f56157ca29a94851"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "v3.3.2",
                "range": [
                  {
                    "fixed": "1d505c19bf5fb8da0205165b78af6094d637009e"
                  }
                ],
                "source": "REFERENCES_TAG"
              },
              {
                "original_tag": "v3.2.14",
                "range": [
                  {
                    "fixed": "c5c5aa183a7ca3f864bb4dc77abbca0b7443b05f"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "af6addb1bf39e3b111ae7b805d774326a02f1079"
            },
            {
              "fixed": "c5c5aa183a7ca3f864bb4dc77abbca0b7443b05f"
            },
            {
              "introduced": "2d72d39ce7107226b9bcd5cc47835a19da0c2c87"
            },
            {
              "fixed": "1d505c19bf5fb8da0205165b78af6094d637009e"
            },
            {
              "fixed": "f9a7ac64c06fb7957005199e6153ad1c16496c70"
            },
            {
              "fixed": "b7e3305e0a96d5b02a600355f56157ca29a94851"
            }
          ],
          "repo": "https://github.com/graphql-python/graphql-core",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-770"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/134xxx/CVE-2026-134795.json"
  },
  "details": "graphql-core 3.2.12 before 3.2.14 and 3.3.0rc1 before 3.3.2 contains a denial of service vulnerability that allows unauthenticated attackers to bypass the parser max_tokens limit using long runs of comments. Attackers can submit GraphQL documents of consecutive comments that Lexer.lookahead fully tokenizes before limit checks, consuming CPU and memory proportional to document size.",
  "id": "CVE-2026-134795",
  "modified": "2026-11-22T22:45:55.616365050Z",
  "published": "2026-11-22T21:22:45.770Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/134xxx/CVE-2026-134795.json"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/graphql-python/graphql-core"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/graphql-python/graphql-core/blob/v3.3.1/src/graphql/language/lexer.py#L84-L110"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/graphql-python/graphql-core/blob/v3.3.1/src/graphql/language/parser.py#L1479-L1507"
    },
    {
      "type": "FIX",
      "url": "https://github.com/graphql-python/graphql-core/commit/b7e3305e0a96d5b02a600355f56157ca29a94851"
    },
    {
      "type": "FIX",
      "url": "https://github.com/graphql-python/graphql-core/commit/f9a7ac64c06fb7957005199e6153ad1c16496c70"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/graphql-python/graphql-core/releases/tag/v3.2.14"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/graphql-python/graphql-core/releases/tag/v3.3.2"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-134795"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/graphql-core-3.2.12-before-3.2.14-and-3.3-0rc1-before-3.3.2-denial-of-service-via-parser-max-tokens-comment-runs"
    }
  ],
  "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:L/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "graphql-core 3.2.12 before 3.2.14 and 3.3.0rc1 before 3.3.2 Denial of Service via Parser max_tokens Comment Runs"
}