CVE-2026-107376: CWE-674: Uncontrolled Recursion in webonyx graphql-php
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.
CVSS v3.1
Score 8.2high
Affected software
webonyx
graphql-php
pkg:composer/webonyx/graphql-phpRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The webonyx graphql-php library versions before 15.32.3 have an uncontrolled recursion vulnerability (CWE-674) in the GraphQL\Language\Parser class. Specifically, the methods parseSelectionSet, parseValueLiteral, and parseTypeReference perform recursive descent parsing without limiting recursion depth. An attacker can exploit this by submitting deeply nested selection sets, object or list values, or list types, causing the PHP process stack to overflow and crash the PHP process with a SIGSEGV. This occurs during pre-validation parsing, before any query validation or complexity checks, and cannot be handled by application-level exception mechanisms. The issue is resolved in version 15.32.3.
Potential Impact
Exploitation of this vulnerability can cause denial of service by crashing PHP-FPM workers or long-running PHP processes such as those running under Swoole, RoadRunner, ReactPHP, or CLI. This disrupts service availability and requires process restarts. There is no impact on confidentiality or data integrity as per the provided data. The crash cannot be caught or mitigated by application-level exception handling.
Mitigation Recommendations
Upgrade to webonyx graphql-php version 15.32.3 or later, where this uncontrolled recursion vulnerability is fixed. No other mitigation is indicated or required as the fix addresses the root cause.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-10-07T21:07:54.987Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6ac7d8742cdf04f6562d26b9
Added to database: 10/08/2026, 17:52:52 UTC
Last enriched: 10/08/2026, 18:03:45 UTC
Last updated: 10/08/2026, 20:36:54 UTC
Views: 7
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.