StraitOfVuln
Latest / CVE-2026-129501

CVE-2026-129501

MediumCVSS 6.3 (v4.0)Awaiting Analysis
CVE.org ↗NVD ↗

Description

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.

Details

CVE ID
CVE-2026-129501
Published / updated
19 Nov 2026, 15:17 UTC · last modified 19 Nov 2026, 21:45 UTC
Severity
MEDIUM
CVSS score
6.3 · v4.0 · 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 · Attack vector: Network
Affected vendor
PHP Group
Affected products
PHP
Affected versions
PHP: 8.4.0 to before 8.4.28, 8.5.0 to before 8.5.13
From the publisher's (CNA) CVE record. NVD analysis is pending.
Fixed versions
PHP 8.4.28, PHP 8.5.13
Exploitation status
Not in CISA KEV (no confirmed exploitation recorded)
EPSS
0.65% probability of exploitation in the next 30 days · 53% percentile (03 Dec 2026)
Weakness
Remediation
See the vendor advisory below.
Source (CNA)
security@php.net