CVE-2026-91765: Denial of Service via Unbounded Recursion in PHP SOAP
- Vendor
- PHP Group
CVE-2026-91765 is an uncontrolled-recursion vulnerability in PHP's SOAP extension. The cleanup_xml_node() function recurses once per XML nesting level without enforcing a depth limit, allowing a deeply nested SOAP request to exhaust the process stack and crash a SoapServer process. Unbounded recursion also affects the SOAP value decoder and WSDL node search helper, while SOAP href chains and cycles can trigger excessive recursion. The vulnerability permits unauthenticated remote denial of service.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
A single unauthenticated HTTP request can crash the process handling a SoapServer endpoint. In PHP-FPM deployments, the affected worker terminates; repeated malicious requests can exhaust the worker pool and take the endpoint offline. The vulnerability has no identified confidentiality or integrity impact and does not provide attacker control over the crash.
Mitigation
If you can’t patch tonight, do this now.
No vulnerability-specific temporary workaround is specified. Until patching is complete, restrict network access to SoapServer endpoints to trusted clients and minimize their Internet exposure. Monitor PHP worker crashes and suspicious SOAP traffic; these measures reduce exposure or aid detection but do not correct the recursion flaw.
Remediation
Patch, then assume compromise.
Upgrade to PHP 8.2.34, 8.3.35, 8.4.26, or 8.5.11, or a later security release in the corresponding branch. For distribution-managed installations, apply the vendor's fixed packages; examples include Debian 13 php8.4 version 8.4.26-1~deb13u1 and Alpine php84 version 8.4.26-r0 or php85 version 8.5.11-r0. The fixes introduce XML and decoding depth limits, replace recursive XML cleanup and WSDL searches with iterative traversals, and reject excessive SOAP href chains and cycles.
Exploits
No validated public exploits yet. Hidden: 1 rejected by Mallory's analysis as not a working exploit.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Frequently asked questions
- Is CVE-2026-91765 exploited in the wild?
- As of Nov 27, 2026, Mallory has no reports of CVE-2026-91765 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2026-91765?
- Yes. As of Nov 27, 2026, Mallory has reports of a public exploit for CVE-2026-91765.
- Is there a patch for CVE-2026-91765?
- Upgrade to PHP 8.2.34, 8.3.35, 8.4.26, or 8.5.11, or a later security release in the corresponding branch. For distribution-managed installations, apply the vendor's fixed packages; examples include Debian 13 php8.4 version 8.4.26-1~deb13u1 and Alpine php84 version 8.4.26-r0 or php85 version 8.5.11-r0.
- What products are affected by CVE-2026-91765?
- PHP Group Php.
- How severe is CVE-2026-91765?
- CVE-2026-91765 has a CVSS v3.1 score of 7.5 (High) and an EPSS score of 0.39% (25th percentile) as of Nov 27, 2026.
Recent activity
81 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.