Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › CVE › PHP

CVE-2026-129501 — PHP Group PHP

Medium · CVSS 6.3EPSS 0.5% First seen November 19, 2026

One of 17 PHP Group PHP vulnerabilities published together by NVD: our article covers all of them.

PHPWebVulnerabilities

Summary

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.

Description: NIST National Vulnerability Database (public domain)

Severity breakdown

Medium · 6.3 CVSS 4.0 base score 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.

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

Vector CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Weakness

Affected and fixed versions

ProductAffected versionsFixed in
PHP Group PHP≥ 8.4.0, < 8.4.288.4.28
≥ 8.5.0, < 8.5.138.5.13

From the vendor's CVE record; confirm with the vendor advisory before relying on a version number.

References by type

Vendor advisories

Details from NVD (public domain).

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