Unbounded recursion in graphql-php parser causes stack overflow
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · Low · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-674.
Summary
webonyx graphql-php before 15.32.3 is affected. Its parser uses recursive descent in parseSelectionSet without a recursion limit (CWE-674), so deeply nested input exhausts the PHP stack. A remote attacker without authentication can submit such input to crash PHP-FPM or long-running worker processes with a SIGSEGV, which application exception handling cannot catch.
Written with Claude Haiku 5.5 from the sources below · 2026-10-29
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
Upgrade webonyx graphql-php to version 15.32.3.
Written with Claude Haiku 5.5 from the sources below · 2026-10-29
- Fix · CNA graphql-php (webonyx) Fixed in 15.32.3
Timeline
- 2026-10-08 Threatist record created from CVE-2026-107376
- 2026-10-09 CISA SSVC decision points changed
- 2026-10-09 Priority changed: MEDIUM → HIGH
References
Other 4
- 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
More webonyx vulnerabilities
- TI-2026-29227 graphql-php: Denial of Service via quadratic complexity in OverlappingFieldsCanBeMerged validation CVSS 4.0MEDIUM 6.9
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences