Skip to main content

graphql-php EUVDEUVD-2026-95133

| CVE-2026-107376 HIGH
Uncontrolled Recursion (CWE-674)
2026-10-08 GitHub_M
8.2
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify public GraphQL endpoint
  2. Delivery
    Craft deeply nested query (~74KB)
  3. Exploit
    Submit via HTTP POST
  4. Execution
    Parser recurses past C stack limit
  5. Impact
    PHP worker SIGSEGV, concurrent requests dropped

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Recursion depth limits
Exploitation Conditions

The target application must expose a GraphQL endpoint that passes untrusted input through GraphQL\Language\Parser (the default parsing path) on a vulnerable version (<= 15.32.2), where no recursion limit existed at all. No authentication, privileges, or user interaction are required, and default configurations are affected. Exploitation is LIMITED chiefly by whether the HTTP layer accepts a request body of at least ~74 KB (well below typical limits) and by any front-end body-size or WAF nesting restrictions; note that PHP 8.3's zend.max_allowed_stack_size does NOT reliably convert this overflow into a catchable error (observed SIGSEGV/exit 139 in default Docker on PHP 8.3.30), so application-level try/catch cannot mitigate it. After patching, the fix is active by default (recursionLimit 256) unless an operator explicitly sets recursionLimit to 0.

Impact

This is a genuine availability risk but not a top-tier emergency. The provided CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N) confirms remote, unauthenticated, low-complexity exploitation against default configurations, which is the strongest part of the signal. The impact is a pre-validation parser stack overflow (SIGSEGV) that kills the entire PHP worker - the vendor scored A:H and I:L, though the I:L is a weak stretch (dropped concurrent requests), as there is no actual data integrity compromise; realistically this is a pure denial-of-service (confidentiality and integrity effectively N). No EPSS score was supplied, so exploitation probability cannot be quantified. The issue is NOT in CISA KEV and no exploit-code link is provided, so exploitation status is 'no public exploit identified at time of analysis'; however, the GHSA advisory documents the crash condition in detail (approx. 74 KB minimum payload, tested on PHP 8.3.30 against v15.31.4), which materially lowers the barrier to weaponization. SSVC framing: exploitation=none observed, automatable=yes (a single crafted request reliably crashes a worker), technical impact=partial-to-total for availability. Net: prioritize patching for any internet-facing GraphQL endpoint, but this is a resource-exhaustion DoS, not a code-execution or data-breach event - treat as high-urgency availability hardening rather than a critical compromise.

Exploit ScenarioDerived

An attacker sends a single crafted HTTP POST to a public GraphQL endpoint containing a deeply nested selection set, list value, or list type (payload as small as ~74 KB). The recursive-descent parser exhausts the PHP C stack before any validation or complexity controls run, triggering an uncatchable SIGSEGV that terminates the PHP-FPM/Swoole/RoadRunner/ReactPHP/CLI worker and drops all concurrent requests on that process. No authenticated access or user interaction is required and no public exploit code is identified, but the advisory provides enough detail to reproduce the crash trivially.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 08, 2026

Deeply nested GraphQL documents can crash PHP worker processes running the webonyx/graphql-php library in versions 15.32.2 and earlier, because the recursive-descent parser has no recursion depth limit and the resulting stack exhaustion becomes an uncatchable SIGSEGV. The flaw is remotely reachable unauthenticated (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, 8.2) and the failure occurs during parsing, before query validation, depth analysis or complexity controls ever execute, so worker processes on PHP-FPM, Swoole, RoadRunner, ReactPHP or CLI runtimes are killed with no exception, log entry or recovery path. The vendor has released a fix in 15.32.3 that enables a default recursion limit of 256; there is no KEV listing and no public exploit identified at time of analysis, though the upstream advisory documents a minimal crashing payload of roughly 74 KB, which is below common HTTP body-size limits.

RemediationAI

Upgrade to webonyx/graphql-php 15.32.3 or later (Composer tag v15.32.3, fixing commits 7b7f2080ca5f7d5340a696fc5701b19a9222d2c2 and 6c1d6009a0f7557f66753bcfd07badd15acf77f4, advisory https://github.com/webonyx/graphql-php/security/advisories/GHSA-r7cg-qjjm-xhqq); the fix is active by default because the parser now enforces DEFAULT_RECURSION_LIMIT = 256, shared across parseSelectionSet, parseValueLiteral and parseTypeReference, throwing a catchable SyntaxError before the stack can overflow, and it can be tuned via the recursionLimit parser option. Verify after deployment that no configuration sets recursionLimit to 0, which explicitly re-disables the protection, and confirm the installed lock-file version rather than trusting the declared constraint. For systems that cannot patch immediately, compensating controls are all partial: enforce an HTTP request-body cap at the reverse proxy or WAF set well below 74 KB (this breaks legitimate large queries and batched operations, and does not stop smaller but still deeply nested payloads), add a WAF/pre-parser heuristic that rejects documents with excessive nesting of '{', '[', '(' characters before they reach PHP (risk of false positives on legitimate introspection or schema documents), and run workers under a supervisor that restarts crashed processes quickly (this reduces outage duration but does not prevent the per-request worker termination and dropped concurrent requests). Raising ulimit -s or tuning zend.max_allowed_stack_size is not a reliable mitigation, as the upstream testing showed PHP 8.3.30 still produced SIGSEGV rather than a catchable stack-overflow error; disabling introspection or applying GraphQL query-depth limits does not help because the crash occurs before validation runs.

Affected VersionsENISA

graphql-php < 15.32.3

Affected Packages

composer webonyx/graphql-php fix: 15.32.3
euvd graphql_php fix: 15.32.3

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in composer, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The affected component is the GraphQL\Language\Parser class (with the GraphQL\Language\Lexer) in webonyx/graphql-php, identified by CPE cpe:2.3:a:webonyx:graphql-php:*:*:*:*:*:*:*:* and bundled in Composer as composer/webonyx/graphql-php. The root cause is CWE-674 (Uncontrolled Recursion): the parser is a classic recursive-descent implementation built from mutually recursive PHP methods - parseSelectionSet, parseSelection, parseField, parseValueLiteral, parseObject, parseObjectField, parseList, parseTypeReference and parseInlineFragment - with no token counter, no maximum depth and no recursion-depth counter anywhere in the constructor options (the pre-fix constructor accepted only noLocation, allowLegacySDLEmptyFields and allowLegacySDLImplementsInterfaces). Recursion is therefore bounded only by the process C stack (commonly 8 MB via ulimit -s 8192); when a crafted document exhausts it, PHP segfaults. The PHP 8.3 runtime's zend.max_allowed_stack_size guard, intended to convert userland stack overflow into a catchable error, does not reliably intercept this overflow - testing on PHP 8.3.30 in default Docker returned SIGSEGV (exit code 139) rather than a catchable exception. Critically, the overflow happens at the parse stage, so it precedes and bypasses GraphQL query validation, query depth limits and complexity analysis, meaning applications that rely on those later controls are still fully exposed; no application-level try/catch can mitigate the crash. The only secondary impact is loss of the concurrent in-flight requests handled by the terminated worker, which the upstream advisory characterizes as low integrity impact; the independent assessment scores integrity as none and impact as availability-only.

Know when PHP gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 8.2 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H
vuln.today AI 7.5 HIGH

Remote unauthenticated single-request crash of default config gives AV:N/AC:L/PR:N/UI:N; pure worker-kill DoS means C:N/I:N/A:H - I set I:N, diverging from the vendor's weakly-supported I:L.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
High

Lifecycle Timeline

2
Patch available
Oct 08, 2026 - 19:18 EUVD
CVE Published
Oct 08, 2026 - 17:49 cve.org
HIGH 8.2

DescriptionCVE.org

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.

Technical POC Analysis

CWE-674 (Uncontrolled Recursion).

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

CVE-2026-107376 affects applications using the webonyx/graphql-php library (versions 15.32.2 and earlier), enabling unauthenticated remote attackers to crash PHP worker processes with deeply nested GraphQL queries, resulting in denial of service. This can lead to service outages, impacting customers and revenue. Leadership should ensure rapid patching to version 15.32.3 to mitigate the risk.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.4%
Top 63% exploitable
Prevalence
Medium
most popular GraphQL library for PHP, but only in PHP GraphQL stacks
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

41
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +41
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it

CVE-2012-1823 CRITICAL POC
9.8 May 11

sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy