GraphQL-core: Denial of service via comment tokens bypassing the parser's max_tokens limit
Summary
| CVE | CVE-2026-75508 |
|---|---|
| State | PUBLISHED |
| Assigner | GitHub_M |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-10-22 17:16:59 UTC |
| Updated | 2026-10-29 12:17:13 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 7.5 HIGH from [email protected]
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS: 0.005730000 probability, percentile 0.472680000 (date 2026-10-29)
Problem Types: CWE-400 | CWE-770 | CWE-400 CWE-400: Uncontrolled Resource Consumption | CWE-770 CWE-770: Allocation of Resources Without Limits or Throttling
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 7.5 | HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| 3.1 | CNA | DECLARED | 7.5 | HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
NoneUser Interaction
NoneScope
UnchangedConfidentiality
NoneIntegrity
NoneAvailability
HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Graphql-python | Graphql-core | affected >= 3.2.3, < 3.2.12 | Not specified |
| CNA | Graphql-python | Graphql-core | affected >= 3.3.0a3, < 3.3.0rc1 | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/graphql-python/graphql-core/security/advisories/GHSA-r77w-qph... | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | github.com | |
| github.com/graphql-python/graphql-core/commit/437dea102e92fdf05a2971ca76... | [email protected] | github.com | |
| github.com/graphql-python/graphql-core/commit/80ef435a1808fbbcc4aaac63ae... | [email protected] | github.com | |
| github.com/graphql-python/graphql-core/releases/tag/v3.3.0rc1 | [email protected] | github.com | |
| github.com/graphql-python/graphql-core/releases/tag/v3.2.12 | [email protected] | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.