graphql-php: Denial of Service via quadratic complexity in OverlappingFieldsCanBeMerged validation
cve-program · CVE-2026-40476
Publishedgraphql-go is a Go implementation of GraphQL. In versions 15.31.4 and below, the OverlappingFieldsCanBeMerged validation rule performs O(n²) pairwise comparisons of fields sharing the same response name. An attacker can send a query with thousands of repeated identical fields, causing excessive CPU usage during validation before execution begins. This is not mitigated by existing QueryDepth or QueryComplexity rules. This issue has been fixed in version 15.31.5.
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2026-40476 · CVE overview and exploitation status
cve-program · CVE-2026-40476
Related changes
Linked by CVE identifierNo related changes are available here.