{"id":"CVE-2026-129501","aliases":["CVE-2026-129501","BIT-LIBPHP-2026-129501","BIT-PHP-2026-129501","BIT-PHP-MIN-2026-129501","GHSA-x8r7-mg3g-74hg"],"related":[],"kind":"vulnerability","state":"published","title":"Double free during DOM XML serialization","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-11-19T14:44:39.208Z","modified":"2026-11-27T06:55:47.393Z","severity":{"scorer":"php","scheme":"CVSS:4.0","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","score":6.3,"rating":"MEDIUM"},"severities":[{"scorer":"php","scheme":"CVSS:4.0","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","score":6.3,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-415","CWE-416"],"affected":[{"ranges":[{"type":"semver","introduced":"8.4.0","fixed":"8.4.28","status":"affected"},{"type":"semver","introduced":"8.5.0","fixed":"8.5.13","status":"affected"}],"vendor":"PHP Group","product":"PHP","cpe":"cpe:2.3:a:php:php:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"8.4.0","status":"affected","fixed":"8.4.28"},{"type":"semver","introduced":"8.5.0","status":"affected","fixed":"8.5.13"}],"ecosystem":"Bitnami","package":"libphp","purl":"pkg:bitnami/libphp","source":"bitnami"},{"ranges":[{"type":"semver","introduced":"8.4.0","status":"affected","fixed":"8.4.28"},{"type":"semver","introduced":"8.5.0","status":"affected","fixed":"8.5.13"}],"ecosystem":"Bitnami","package":"php","purl":"pkg:bitnami/php","source":"bitnami"},{"ranges":[{"type":"semver","introduced":"8.4.0","status":"affected","fixed":"8.4.28"},{"type":"semver","introduced":"8.5.0","status":"affected","fixed":"8.5.13"}],"ecosystem":"Bitnami","package":"php-min","purl":"pkg:bitnami/php-min","source":"bitnami"}],"references":[{"url":"https://github.com/php/php-src/security/advisories/GHSA-x8r7-mg3g-74hg","tags":["vendor-advisory","web"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-129501","tags":["web"],"sources":["bitnami"]}],"credits":["Elise Amber Katze","Vincent Cassiau (CyberVanguard)","christos-cantina-security","Jakub Zelenka","Nora Dossche","David CARLIER"],"assigner":"php","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-19T16:24:19.346Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-129501","url":"https://www.cve.org/CVERecord?id=CVE-2026-129501","licence":"CVE Terms of Use","modified":"2026-11-19T16:52:45.140Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-129501","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-129501","licence":"Public domain","modified":"2026-11-19T21:45:06.560Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-LIBPHP-2026-129501","url":"https://osv.dev/vulnerability/BIT-LIBPHP-2026-129501","licence":"Apache-2.0","modified":"2026-11-27T06:55:47.393Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-PHP-2026-129501","url":"https://osv.dev/vulnerability/BIT-PHP-2026-129501","licence":"Apache-2.0","modified":"2026-11-27T06:55:47.393Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-PHP-MIN-2026-129501","url":"https://osv.dev/vulnerability/BIT-PHP-MIN-2026-129501","licence":"Apache-2.0","modified":"2026-11-27T06:45:40.228Z"}],"updatedAt":"2026-11-27T07:08:04.203Z","epss":{"score":0.0065,"percentile":0.52465,"date":"2026-12-01T12:00:22.000Z"}}