Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. webonyx/graphql-php
  4. ›
  5. GHSA-r7cg-qjjm-xhqq

GHSA-r7cg-qjjm-xhqq: webonyx/graphql-php has unbounded recursion in parser that causes stack overflow on crafted nested input

May 5, 2026

GraphQL\Language\Parser is a recursive descent parser with no recursion depth limit and no zend.max_allowed_stack_size interaction. Crafted nested queries trigger a SIGSEGV in the PHP runtime, killing the FPM/CLI worker process. Smallest crashing payload is approximately 74 KB.

References

  • github.com/advisories/GHSA-r7cg-qjjm-xhqq
  • github.com/webonyx/graphql-php/commit/7b7f2080ca5f7d5340a696fc5701b19a9222d2c2
  • github.com/webonyx/graphql-php/releases/tag/v15.32.3
  • github.com/webonyx/graphql-php/security/advisories/GHSA-r7cg-qjjm-xhqq

Code Behaviors & Features

Detect and mitigate GHSA-r7cg-qjjm-xhqq with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 15.32.3

Fixed versions

  • 15.32.3

Solution

Upgrade to version 15.32.3 or above.

Impact 8.2 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H

Learn more about CVSS

Weakness

  • CWE-674: Uncontrolled Recursion

Source file

packagist/webonyx/graphql-php/GHSA-r7cg-qjjm-xhqq.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:21 +0000.