{"id":"CVE-2026-75508","state":"PUBLISHED","title":"GraphQL-core: Denial of service via comment tokens bypassing the parser's max_tokens limit","description":"GraphQL-core is a Python port of the GraphQL.js reference implementation. From 3.2.3 until 3.2.12 and 3.3.0rc1, the parser's max_tokens limit in Parser.advance_lexer counts only non-comment tokens returned after Lexer.lookahead skips comments. Each skipped comment is still allocated as a Token and retained through token.next and token.prev, allowing a highly compressible comment-padded GraphQL document to pass a low token limit while consuming memory. An unauthenticated remote attacker can exhaust worker memory before AST-based depth or complexity controls run. This issue is fixed in versions 3.2.12 and 3.3.0rc1.","publishedAt":"2026-10-22T16:10:17.124Z","updatedAt":"2026-10-29T11:47:15.190Z","severity":{"score":7.5,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["graphql-python graphql-core"],"affected":[{"vendor":"graphql-python","product":"graphql-core","versions":[{"version":">= 3.2.3, < 3.2.12","status":"affected"},{"version":">= 3.3.0a3, < 3.3.0rc1","status":"affected"}]}],"references":["https://github.com/graphql-python/graphql-core/security/advisories/GHSA-r77w-qph3-7vf8","https://github.com/graphql-python/graphql-core/commit/437dea102e92fdf05a2971ca76787c5a5bad875a","https://github.com/graphql-python/graphql-core/commit/80ef435a1808fbbcc4aaac63ae76771a1c91002d","https://github.com/graphql-python/graphql-core/releases/tag/v3.2.12","https://github.com/graphql-python/graphql-core/releases/tag/v3.3.0rc1"],"weaknesses":["CWE-400","CWE-770"],"ingestedAt":"2026-10-29T20:12:58.252Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/75xxx/CVE-2026-75508.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-75508","state":"PUBLISHED","datePublished":"2026-10-22T16:10:17.124Z","dateUpdated":"2026-10-29T11:47:15.190Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-08-17T20:49:21.598Z"},"containers":{"cna":{"title":"GraphQL-core: Denial of service via comment tokens bypassing the parser's max_tokens limit","descriptions":[{"lang":"en","value":"GraphQL-core is a Python port of the GraphQL.js reference implementation. From 3.2.3 until 3.2.12 and 3.3.0rc1, the parser's max_tokens limit in Parser.advance_lexer counts only non-comment tokens returned after Lexer.lookahead skips comments. Each skipped comment is still allocated as a Token and retained through token.next and token.prev, allowing a highly compressible comment-padded GraphQL document to pass a low token limit while consuming memory. An unauthenticated remote attacker can exhaust worker memory before AST-based depth or complexity controls run. This issue is fixed in versions 3.2.12 and 3.3.0rc1."}],"affected":[{"vendor":"graphql-python","product":"graphql-core","versions":[{"version":">= 3.2.3, < 3.2.12","status":"affected"},{"version":">= 3.3.0a3, < 3.3.0rc1","status":"affected"}]}],"references":[{"url":"https://github.com/graphql-python/graphql-core/security/advisories/GHSA-r77w-qph3-7vf8","name":"https://github.com/graphql-python/graphql-core/security/advisories/GHSA-r77w-qph3-7vf8","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/graphql-python/graphql-core/commit/437dea102e92fdf05a2971ca76787c5a5bad875a","name":"https://github.com/graphql-python/graphql-core/commit/437dea102e92fdf05a2971ca76787c5a5bad875a","tags":["x_refsource_MISC"]},{"url":"https://github.com/graphql-python/graphql-core/commit/80ef435a1808fbbcc4aaac63ae76771a1c91002d","name":"https://github.com/graphql-python/graphql-core/commit/80ef435a1808fbbcc4aaac63ae76771a1c91002d","tags":["x_refsource_MISC"]},{"url":"https://github.com/graphql-python/graphql-core/releases/tag/v3.2.12","name":"https://github.com/graphql-python/graphql-core/releases/tag/v3.2.12","tags":["x_refsource_MISC"]},{"url":"https://github.com/graphql-python/graphql-core/releases/tag/v3.3.0rc1","name":"https://github.com/graphql-python/graphql-core/releases/tag/v3.3.0rc1","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-400","lang":"en","description":"CWE-400: Uncontrolled Resource Consumption","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-770","lang":"en","description":"CWE-770: Allocation of Resources Without Limits or Throttling","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-10-22T16:10:17.124Z"},"source":{"advisory":"GHSA-r77w-qph3-7vf8","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/graphql-python/graphql-core/security/advisories/GHSA-r77w-qph3-7vf8","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-10-29T11:46:36.041252Z","id":"CVE-2026-75508","options":[{"Exploitation":"poc"},{"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-29T11:47:15.190Z"}}]}}}