{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-129501","assignerOrgId":"dd77f84a-d19a-4638-8c3d-a322d820ed2b","state":"PUBLISHED","assignerShortName":"php","dateReserved":"2026-11-15T17:43:52.788Z","datePublished":"2026-11-19T14:44:39.208Z","dateUpdated":"2026-11-19T16:52:45.140Z"},"containers":{"cna":{"title":"Double free during DOM XML serialization","datePublic":"2026-11-19T00:00:00.000Z","descriptions":[{"lang":"en","value":"Double free during DOM XML serialization.\n\nThe 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.\n\nThis issue affects PHP versions 8.4.* before 8.4.28 and 8.5.* before 8.5.13.","supportingMedia":[{"type":"text/html","base64":false,"value":"<p>Double free during DOM XML serialization.</p><p>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.</p><p>This issue affects PHP versions 8.4.* before 8.4.28 and 8.5.* before 8.5.13.</p>"}]}],"affected":[{"vendor":"PHP Group","product":"PHP","cpes":["cpe:2.3:a:php:php:*:*:*:*:*:*:*:*"],"packageURL":"pkg:software-id/php.net/php","modules":["ext-dom"],"versions":[{"version":"8.4.0","lessThan":"8.4.28","status":"affected","versionType":"semver"},{"version":"8.5.0","lessThan":"8.5.13","status":"affected","versionType":"semver"}],"defaultStatus":"unaffected"}],"problemTypes":[{"descriptions":[{"lang":"en","type":"CWE","cweId":"CWE-415","description":"CWE-415 Double Free"}]},{"descriptions":[{"lang":"en","type":"CWE","cweId":"CWE-416","description":"CWE-416 Use After Free"}]}],"impacts":[{"capecId":"CAPEC-123","descriptions":[{"lang":"en","value":"CAPEC-123 Buffer Manipulation"}]}],"metrics":[{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV4_0":{"version":"4.0","attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"PRESENT","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","vulnAvailabilityImpact":"LOW","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":6.3,"baseSeverity":"MEDIUM","vectorString":"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"}}],"references":[{"url":"https://github.com/php/php-src/security/advisories/GHSA-x8r7-mg3g-74hg","tags":["vendor-advisory"]}],"source":{"advisory":"GHSA-x8r7-mg3g-74hg","discovery":"UNKNOWN"},"credits":[{"lang":"en","type":"reporter","value":"Elise Amber Katze"},{"lang":"en","type":"reporter","value":"Vincent Cassiau (CyberVanguard)"},{"lang":"en","type":"reporter","value":"christos-cantina-security"},{"lang":"en","type":"analyst","value":"Jakub Zelenka"},{"lang":"en","type":"remediation developer","value":"Nora Dossche"},{"lang":"en","type":"remediation reviewer","value":"David CARLIER"}],"x_generator":{"engine":"php-security-response"},"providerMetadata":{"orgId":"dd77f84a-d19a-4638-8c3d-a322d820ed2b","shortName":"php","dateUpdated":"2026-11-19T14:44:39.208Z"}},"adp":[{"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-11-19T16:24:19.346750Z","id":"CVE-2026-129501","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2026-11-19T16:52:45.140Z"}}]}}