{"id":"CVE-2026-107376","state":"PUBLISHED","title":"webonyx graphql-php: Unbounded recursion in parser causes stack overflow on crafted nested input","description":"webonyx graphql-php is a PHP implementation of the GraphQL specification. Prior to 15.32.3, GraphQL\\Language\\Parser performs recursive descent without a recursion limit in parseSelectionSet, parseValueLiteral, and parseTypeReference. A remote attacker can submit deeply nested selection sets, object or list values, or list types that exhaust the PHP process stack during pre-validation parsing, before query validation and complexity controls run. The resulting SIGSEGV can terminate PHP-FPM workers or long-running Swoole, RoadRunner, ReactPHP, or CLI processes and cannot be caught by application-level exception handling. This issue is fixed in version 15.32.3.","publishedAt":"2026-10-08T17:49:57.113Z","updatedAt":"2026-10-08T18:39:56.356Z","severity":{"score":8.2,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["webonyx graphql-php"],"affected":[{"vendor":"webonyx","product":"graphql-php","versions":[{"version":"< 15.32.3","status":"affected"}]}],"references":["https://github.com/webonyx/graphql-php/security/advisories/GHSA-r7cg-qjjm-xhqq","https://github.com/webonyx/graphql-php/commit/6c1d6009a0f7557f66753bcfd07badd15acf77f4","https://github.com/webonyx/graphql-php/commit/7b7f2080ca5f7d5340a696fc5701b19a9222d2c2","https://github.com/webonyx/graphql-php/releases/tag/v15.32.3"],"weaknesses":["CWE-674"],"ingestedAt":"2026-10-29T20:10:23.711Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/107xxx/CVE-2026-107376.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-107376","state":"PUBLISHED","datePublished":"2026-10-08T17:49:57.113Z","dateUpdated":"2026-10-08T18:39:56.356Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-10-07T21:07:54.987Z"},"containers":{"cna":{"title":"webonyx graphql-php: Unbounded recursion in parser causes stack overflow on crafted nested input","descriptions":[{"lang":"en","value":"webonyx graphql-php is a PHP implementation of the GraphQL specification. Prior to 15.32.3, GraphQL\\Language\\Parser performs recursive descent without a recursion limit in parseSelectionSet, parseValueLiteral, and parseTypeReference. A remote attacker can submit deeply nested selection sets, object or list values, or list types that exhaust the PHP process stack during pre-validation parsing, before query validation and complexity controls run. The resulting SIGSEGV can terminate PHP-FPM workers or long-running Swoole, RoadRunner, ReactPHP, or CLI processes and cannot be caught by application-level exception handling. This issue is fixed in version 15.32.3."}],"affected":[{"vendor":"webonyx","product":"graphql-php","versions":[{"version":"< 15.32.3","status":"affected"}]}],"references":[{"url":"https://github.com/webonyx/graphql-php/security/advisories/GHSA-r7cg-qjjm-xhqq","name":"https://github.com/webonyx/graphql-php/security/advisories/GHSA-r7cg-qjjm-xhqq","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/webonyx/graphql-php/commit/6c1d6009a0f7557f66753bcfd07badd15acf77f4","name":"https://github.com/webonyx/graphql-php/commit/6c1d6009a0f7557f66753bcfd07badd15acf77f4","tags":["x_refsource_MISC"]},{"url":"https://github.com/webonyx/graphql-php/commit/7b7f2080ca5f7d5340a696fc5701b19a9222d2c2","name":"https://github.com/webonyx/graphql-php/commit/7b7f2080ca5f7d5340a696fc5701b19a9222d2c2","tags":["x_refsource_MISC"]},{"url":"https://github.com/webonyx/graphql-php/releases/tag/v15.32.3","name":"https://github.com/webonyx/graphql-php/releases/tag/v15.32.3","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":8.2,"baseSeverity":"HIGH","confidentialityImpact":"NONE","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-674","lang":"en","description":"CWE-674: Uncontrolled Recursion","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-10-08T17:49:57.113Z"},"source":{"advisory":"GHSA-r7cg-qjjm-xhqq","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/webonyx/graphql-php/security/advisories/GHSA-r7cg-qjjm-xhqq","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-10-08T18:39:30.355689Z","id":"CVE-2026-107376","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-08T18:39:56.356Z"}}]}}}