CVE-2026-91765
Received Received - Intake

SOAP XML Parser Stack Exhaustion in PHP

Vulnerability report for CVE-2026-91765, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-09-25

Last updated on: 2026-09-25

Assigner: PHP Group

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-09-25
Last Modified
2026-09-25
Generated
2026-09-26
AI Q&A
2026-09-26
EPSS Evaluated
N/A
NVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
php soap *

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-674 The product does not properly control the amount of recursion that takes place, consuming excessive resources, such as allocated memory or the program stack.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability involves a function called cleanup_xml_node() in the SOAP XML parser that recursively processes XML nesting without a depth limit. An attacker can exploit this by sending a SOAP request with tens of thousands of nested elements to any SoapServer endpoint, causing the system to exhaust its stack and crash the process. Similar unbounded recursion issues exist in the SOAP value decoder and WSDL node search helper.

Detection Guidance

This vulnerability can be detected by monitoring for excessive recursion or stack exhaustion in PHP SOAP server processes. Check for unusually deep XML nesting in SOAP requests. Use system monitoring tools like top, htop, or strace to observe process crashes or high stack usage during SOAP requests.

Impact Analysis

This vulnerability can lead to denial-of-service (DoS) attacks, where an attacker crashes the affected system by overwhelming it with deeply nested XML elements. This disrupts service availability for legitimate users and may require system restarts or manual intervention to recover.

Compliance Impact

This vulnerability causes a denial-of-service (DoS) condition by crashing the process through stack exhaustion. It does not directly affect data confidentiality, integrity, or availability beyond service disruption. Compliance impacts would depend on whether the affected system is critical to operations covered by GDPR, HIPAA, or other standards requiring availability of services.

Mitigation Strategies

Immediately update PHP to the latest patched version. Disable SOAP server endpoints if not in use. Implement input validation to reject deeply nested XML structures. Use a web application firewall to block malformed SOAP requests with excessive nesting.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-91765. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart