Skip to content
OpenAdvisories
High · 8.2 CVE-2026-107376 EUVD-2026-95133GHSA-r7cg-qjjm-xhqq

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

Published Oct 8, 2026 · Updated Oct 8, 2026 · 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.

Affected products

VendorProductAffectedFixed
webonyx graphql-php < 15.32.3 —

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist webonyx/graphql-php < 15.32.3 15.32.3 GHSA-r7cg-qjjm-xhqq

References