VulnWatch by ve1ve2
medium 6.3 EPSS 0.65%

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 betwee…

Source:
NVD CVE API 2.0
Published:
Fetched:
Updated:

https://nvd.nist.gov/vuln/detail/CVE-2026-129501 ↗

CWE-415CWE-416

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. References: https://github.com/php/php-src/security/advisories/GHSA-x8r7-mg3g-74hg

Linked vulnerabilities (2)

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

Double free during DOM XML serialization

CWE: CWE-415, CWE-416Aliases: CVE-2026-129501
CVE-2026-129501 medium 6.3 EPSS 0.65% (p52) NVDCVE.orgGHSA
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

Double free during DOM XML serialization

CWE: CWE-415, CWE-416, CWE-1341Aliases: GHSA-x8r7-mg3g-74hg, CVE-2026-115560, CVE-2026-126714, CVE-2026-127960, CVE-2026-128064, CVE-2026-128090, CVE-2026-129289, CVE-2026-129291, CVE-2026-129292, CVE-2026-129481, CVE-2026-129496, CVE-2026-129506, CVE-2026-129538, CVE-2026-15353NVD: Awaiting Analysis

Also reported by (3)