# CVE-2026-107376: webonyx graphql-php: Unbounded recursion in parser causes stack overflow on crafted nested input

- Severity: High 8.2 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.45%, higher than 40% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-05-05T17:24:57.000Z
- Modified: 2026-10-09T02:56:06.053Z
- Also known as: GHSA-r7cg-qjjm-xhqq
- Weaknesses: CWE-674
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- webonyx graphql-php: < 15.32.3
- webonyx/graphql-php (Packagist): before 15.32.3

## Every score

- GitHub_M: CVSS:3.1 8.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H`
- GitHub: CVSS:3.1 8.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H`

## References

- <https://github.com/webonyx/graphql-php/security/advisories/GHSA-r7cg-qjjm-xhqq> (exploit, web)
- <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> (package)

## Sources

- CVE List: [CVE-2026-107376](https://www.cve.org/CVERecord?id=CVE-2026-107376), CVE Terms of Use, modified 2026-10-08
- GitHub Advisory Database: [GHSA-r7cg-qjjm-xhqq](https://github.com/advisories/GHSA-r7cg-qjjm-xhqq), CC-BY-4.0, modified 2026-10-09
- NVD: [CVE-2026-107376](https://nvd.nist.gov/vuln/detail/CVE-2026-107376), Public domain, modified 2026-10-08

---

Page: https://cve.day/CVE-2026-107376 · Whole record: https://cve.day/CVE-2026-107376.json · Rebuilt by cve.day 2026-11-25T22:59:43.198Z
