{"id":"ghsa-ghsa-r77w-qph3-7vf8","seq":309573,"kind":"advisory","title":"GraphQL-core: Denial of service via comment tokens bypassing the parser's max_tokens limit","url":"https://github.com/advisories/GHSA-r77w-qph3-7vf8","permalink":"https://vulnpulse.app/items/ghsa-ghsa-r77w-qph3-7vf8","summary":"影響: pip:graphql-core >= 3.2.3, < 3.2.12 → 3.2.12, pip:graphql-core >= 3.3.0a3, < 3.3.0rc1 → 3.3.0rc1\nThe parser's max_tokens limit — the documented defence against oversized GraphQL documents — did not count comment tokens. A document padded with comments could therefore pass a max_tokens check of any size while still allocating one Token object per comment, all of which stay reachable for the lifetime of the parsed document. A 38 MB comment-padded payload allocated roughly 92 MB of additional resident memory with max_tokens=5 in force. Details Lexer.lookahead() reads tokens one at a time and…","severity":"high","techs":["python"],"cves":["CVE-2026-75508"],"tags":["GHSA-r77w-qph3-7vf8","graphql-core","graphql-core"],"source":{"id":"ghsa","name":"GitHub Advisory Database"},"published_at":"2026-10-22T16:27:14.000Z","fetched_at":"2026-10-22T20:09:55.169Z"}