# webonyx/graphql-php has unbounded recursion in parser that causes stack overflow on crafted nested input

Source: https://junglewise.ai/threats/webonyx-graphql-php-has-unbounded-recursion-in-parser-that-causes-stack-af00c73b  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-05-05  
License: CC BY 4.0 with a link back

Severity: low · CVSS 3.1 · Published 2026-05-05

webonyx/graphql-php has unbounded recursion in parser that causes stack overflow on crafted nested input

Technologies: [webonyx/graphql-php (Packagist)](https://junglewise.ai/threats/technologies/webonyx-graphql-php). Vendors: [Packagist](https://junglewise.ai/threats/vendors/packagist).

## Quick answers

**Is This vulnerability exploited in the wild?** No. Junglewise Threat Intelligence has no report of This vulnerability being exploited in the wild.

**How severe is This vulnerability?** Low severity, with a CVSS score of 3.1, published 5 May 2026.

**Which products and versions are affected?** webonyx/graphql-php (Packagist) ECOSYSTEM:introduced=0,fixed=15.32.3.

**Is there a fix for This vulnerability?** Yes. webonyx/graphql-php (Packagist): upgrade to 15.32.3 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected?** Check whether you run webonyx/graphql-php (Packagist) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- webonyx/graphql-php (Packagist): upgrade to 15.32.3 or later

  ```sh
  composer require webonyx/graphql-php:^15.32.3
  ```


## Affected products

- webonyx/graphql-php (Packagist) ECOSYSTEM:introduced=0,fixed=15.32.3

## Related threats

- [webonyx/graphql-php has quadratic validation cost in OverlappingFieldsCanBeMerged via inline fragments](https://junglewise.ai/threats/webonyx-graphql-php-has-quadratic-validation-cost-in-a4281389)
- [webonyx graphql-php denial of service via quadratic complexity](https://junglewise.ai/threats/cve-2026-40476-webonyx-graphql-php-denial-of-service-via-quadratic-complexity)
