Vulnerability · Published Oct 8, 2026 · Assigned by GitHub_M

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

High 8.2

In plain English

A high-severity security flaw in graphql-php from webonyx. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 39% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)8.2High
Exploit odds (30 days)0.4%top 60.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

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

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Packagistwebonyx/graphql-php15.32.3GHSA-r7cg-qjjm-xhqq

Affected products (as reported)

VendorProductVersions
webonyx graphql-php < 15.32.3

Weakness: CWE-674 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H

References