CVE-2026-129501 — PHP Group PHP
One of 17 PHP Group PHP vulnerabilities published together by NVD: our article covers all of them.
PHPWebVulnerabilitiesSummary
Double free during DOM XML serialization. The XML serializer of Dom\XMLDocument and Dom\HTMLDocument can share ownership of a generated namespace prefix between the namespace-prefix maps of an element and a descendant, so the prefix is used after being freed and then freed a second time. The document does not need to be malformed. An application that parses attacker-controlled XML or HTML with these classes and serializes it with saveXml() can be crashed, and repeated requests can cause denial of service. Code execution has not been demonstrated. This issue affects PHP versions 8.4.* before 8.4.28 and 8.5.* before 8.5.13.
Severity breakdown
Medium · 6.3
An attacker without an account can exploit this over the network, without any user action, but only under specific conditions.
- Attack from
- the network (remotely)
- Attack complexity
- low (no special conditions)
- Special conditions
- only in some setups or conditions
- Login needed
- no
- User action needed
- no
- Impact
- low on availability, none on confidentiality and integrity
- Impact on other systems
- none
Weakness
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| PHP Group PHP | ≥ 8.4.0, < 8.4.28 | 8.4.28 |
| ≥ 8.5.0, < 8.5.13 | 8.5.13 |
References by type
Vendor advisories
Affected
- PHP Group PHP
What to do
- Follow the vendor advisory and the references below for fixed versions and workarounds.
Frequently asked questions
What is CVE-2026-129501?
Double free during DOM XML serialization. The XML serializer of Dom\XMLDocument and Dom\HTMLDocument can share ownership of a generated namespace prefix between the namespace-prefix maps of an element and a descendant, so the prefix is used after being freed and then freed a second time. The document does not need to be malformed. Weakness type: Double Free (CWE-415).
How severe is CVE-2026-129501?
CVE-2026-129501 has a CVSS 4.0 base score of 6.3 (medium), from the CNA (php.net). An attacker without an account can exploit this over the network, without any user action, but only under specific conditions.
Is CVE-2026-129501 being exploited?
Not as far as is known: CVE-2026-129501 is not in CISA's Known Exploited Vulnerabilities catalog as of November 26, 2026. EPSS estimates a 0.5% chance that it is exploited in the next 30 days.
Which versions are affected by CVE-2026-129501?
PHP Group PHP ≥ 8.4.0, < 8.4.28 (fixed in 8.4.28); PHP Group PHP ≥ 8.5.0, < 8.5.13 (fixed in 8.5.13).
How do I fix CVE-2026-129501?
Update to a fixed release: PHP Group PHP 8.4.28; PHP Group PHP 8.5.13.
Timeline & sources
References
Related vulnerabilities & news
- WooCommerce Plugin Vulnerable to Reflected Cross-Site Scripting
- SumUp Payment Gateway For WooCommerce Vulnerable to Insecure Direct Object Reference
- Easy Form Builder Plugin Vulnerable to Stored XSS via Address Parameter
- Lenix Leads Collector Plugin Vulnerable to Stored XSS in WordPress
- ZarinPal WooCommerce Plugin Vulnerable to Insecure Direct Object Reference