Vulnerability
CVE-2026-75508
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.
21 advisories report this vulnerability, across 5 ecosystems.
Advisories
- CGA-429v-v76r-9g66
- CGA-4f77-xf6h-f6xj
- CGA-5687-r85j-2fvf
- CGA-8g9f-wq95-547h
- CGA-c9mm-wgfp-rwwm
- CGA-fc5r-w7g6-v93m
- CGA-grqg-424h-967q
- CGA-j4fm-jv26-gvc4
- CGA-jw9g-g42h-6mj8
- CGA-q2r3-3v56-mv8x
- CGA-r97c-w662-jgqx
- CGA-rmjv-356r-7mxx
- CGA-w2w5-jjcg-f44q
- CGA-wpp7-mch9-qhmr
- CGA-xq78-w4mf-c8cv
-
DEBIAN-CVE-2026-75508
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…
-
GHSA-r77w-qph3-7vf8
GraphQL-core: Denial of service via comment tokens bypassing the parser's max_tokens limit
-
UBUNTU-CVE-2026-75508
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…
-
openSUSE-SU-2026:12474-1
python313-graphql-core-3.3.1-1.1 on GA media
-
openSUSE-SU-2026:22258-1
Security update for python-graphql-core
-
openSUSE-SU-2026:22319-1
Security update for python-graphql-core
References
- 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
- https://github.com/graphql-python/graphql-core/security/advisories/GHSA-r77w-qph3-7vf8