Uncontrolled Recursion Affecting php package, versions [,8.2.34)[8.3.0RC1,8.3.35)[8.4.0RC1,8.4.26)[8.5.0RC1,8.5.11)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.55% (46th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-PHP-20158764
  • published27 Sept 2026
  • disclosed25 Sept 2026
  • creditExPatch_LLC

Introduced: 25 Sep 2026

NewCVE-2026-91765  (opens in a new tab)
CWE-674  (opens in a new tab)

How to fix?

Upgrade php to version 8.2.34, 8.3.35, 8.4.26, 8.5.11 or higher.

Overview

Affected versions of this package are vulnerable to Uncontrolled Recursion in cleanup_xml_node() in ext/soap/php_xml.c, which walks the parsed XML tree with no depth limit, as do get_node_with_attribute_recursive_ex() in the same file and master_to_zval_int() in ext/soap/php_encoding.c. An attacker can crash the process with a single request by posting a SOAP body containing tens of thousands of nested elements, which exhausts the call stack during the walk. This requires only an exposed SoapServer endpoint with no special configuration, and the payload compresses to a few kilobytes, so repeated requests drain a PHP-FPM worker pool at negligible cost.

CVSS Base Scores

version 4.0
version 3.1