CVE-2026-107376
HIGH 8.2CVSS 3.1webonyx/graphql-php has unbounded recursion in parser that causes stack overflow on crafted nested input
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.
- Published
- 8 Oct 2026
- Last modified
- 9 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Awaiting Analysis
- Weakness
- CWE-674
- Also known as
- GHSA-r7cg-qjjm-xhqq
- Sources
- NVDJSONOSV GHSA-r7cg-qjjm-xhqqJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 8.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Packagist | webonyx/graphql-php | < 15.32.3 | 15.32.3 |
References
- https://github.com/webonyx/graphql-php/commit/6c1d6009a0f7557f66753bcfd07badd15acf77f4
- https://github.com/webonyx/graphql-php/commit/7b7f2080ca5f7d5340a696fc5701b19a9222d2c2 · WEB
- https://github.com/webonyx/graphql-php/releases/tag/v15.32.3 · WEB
- https://github.com/webonyx/graphql-php/security/advisories/GHSA-r7cg-qjjm-xhqq · WEB
- https://github.com/webonyx/graphql-php · PACKAGE
History
- 25 Nov 2026 21:22 UTC · NVD: first stored (published 8 Oct 2026)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 5 May 2026)