CVE-2026-107376
webonyx graphql-php: Unbounded recursion in parser causes stack overflow on crafted nested input
Check your servers for CVE-2026-107376
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-107376 affects graphql-php, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Severity (CVSS)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality none, integrity low, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.45%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 40.7% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 8 Oct 2026):
- Exploitation
- poc: a proof of concept is public
- Automatable
- yes: an attacker can automate the attack across many targets
- Technical impact
- partial: limited control or limited data
Weakness
- CWE-674 Uncontrolled Recursion
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| graphql-php |
affected < 15.32.3
|
Is my server affected?
Find the installed version of graphql-php and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i graphql-php
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2026-107376 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2026-107376RHEL, Rocky, Alma, Fedora
rpm -q graphql-php
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2026-107376Alpine
apk list --installed | grep -i graphql-phpWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-107376
trivy image --scanners vuln IMAGE | grep CVE-2026-107376
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Exploits and proof of concept
- https://github.com/webonyx/graphql-php/security/advisories/GHSA-r7cg-qjjm-xhqq github.com · exploit
Other references
- https://github.com/webonyx/graphql-php/commit/6c1d6009a0f7557f66753bcfd07badd15acf77f4 github.com
- https://github.com/webonyx/graphql-php/commit/7b7f2080ca5f7d5340a696fc5701b19a9222d2c2 github.com
- https://github.com/webonyx/graphql-php/releases/tag/v15.32.3 github.com
Source: the record CVE-2026-107376 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse