webonyx graphql-php: Unbounded recursion in parser causes stack overflow on crafted nested input
Summary
| CVE | CVE-2026-107376 |
|---|---|
| State | PUBLISHED |
| Assigner | GitHub_M |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-10-08 18:17:22 UTC |
| Updated | 2026-10-08 21:34:48 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 8.2 HIGH from [email protected]
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H
EPSS: 0.004490000 probability, percentile 0.370900000 (date 2026-10-10)
Problem Types: CWE-674 | CWE-674 CWE-674: Uncontrolled Recursion
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 8.2 | HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H |
| 3.1 | CNA | DECLARED | 8.2 | HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
NoneUser Interaction
NoneScope
UnchangedConfidentiality
NoneIntegrity
LowAvailability
HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Webonyx | Graphql-php | affected < 15.32.3 | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/webonyx/graphql-php/commit/7b7f2080ca5f7d5340a696fc5701b19a92... | [email protected] | github.com | |
| github.com/webonyx/graphql-php/commit/6c1d6009a0f7557f66753bcfd07badd15a... | [email protected] | github.com | |
| github.com/webonyx/graphql-php/security/advisories/GHSA-r7cg-qjjm-xhqq | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | github.com | |
| github.com/webonyx/graphql-php/releases/tag/v15.32.3 | [email protected] | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.