Skip to content
7.5 High

CVE-2026-91765 cleanup_xml_node() in the SOAP XML parser recurses once per XML nesting level with no depth limit

Description

cleanup_xml_node() in the SOAP XML parser recurses once per XML nesting level with no depth limit. An unauthenticated attacker can post a SOAP request containing tens of thousands of nested elements to any SoapServer endpoint, exhaust the stack and crash the process. The same unbounded recursion exists in the SOAP value decoder and in the WSDL node search helper.

Affected products and versions

Product Affected versions Fixed in
PHP 8.5 earliest → < 8.5.11 8.5.11
PHP 8.4 earliest → < 8.4.26 8.4.26
PHP 8.3 earliest → < 8.3.35 8.3.35
PHP 8.2 earliest → < 8.2.34 8.2.34

References

Timeline

  1. Published
  2. Last modified
The 103 CVEs of PHP →
Track this CVE