CVE-2026-129506PHP ext-soap Use After Free
NVD
Vulnerability Summary
SOAP use-after-free when processing DTD entity references. PHP's SOAP extension can read freed memory while processing XML containing a document type definition (DTD) and an entity reference in an attribute value. An unauthenticated attacker who can send a crafted request to an exposed SOAP endpoint can crash the PHP process handling it. Applications that load attacker-controlled WSDL or imported schema documents can also be affected.
CVSS v4.0 Base Metrics — Score 6.3 (MEDIUM)
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:NAttack VectorNetwork
Attack ComplexityLow
Attack RequirementsPresent
Privileges RequiredNone
User InteractionNone
Confidentiality (Vulnerable System)None
Integrity (Vulnerable System)None
Availability (Vulnerable System)Low
Confidentiality (Subsequent System)None
Integrity (Subsequent System)None
Availability (Subsequent System)None
Affected & Patched Versions
- PHP ext-soap >= 8.2.0, < 8.2.36
- PHP ext-soap >= 8.3.0, < 8.3.37
- PHP ext-soap >= 8.4.0, < 8.4.28
- PHP ext-soap >= 8.5.0, < 8.5.13
- PHP 8.2.36
- PHP 8.3.37
- PHP 8.4.28
- PHP 8.5.13
What to do
Fix it during your normal patch cycle. No exploitation is confirmed yet.
- Check whether you run PHP ext-soap and which version.
- Update to a patched version listed above, then confirm the new version.
- Until you can update, follow the vendor workaround: Until then, restrict access to affected SOAP endpoints or disable them where practical. Load WSDL and imported schemas only from trusted, controlled sources.
- Until you can update, follow the vendor workaround: If untrusted SOAP requests must be accepted, reject documents containing a DTD before they reach the SOAP extension. Any such filter must correctly handle the XML encodings and request-body transformations accepted by the application. A simple text search is not a complete mitigation.
Timeline
- Nov 19, 2026Published
- Nov 19, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new PHP ext-soap CVEsYou are reading CVE-2026-129506. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsExternal References
Data last checked: Nov 19, 2026 14:43 UTC