Double free in PHP - CVE-2026-129501
Published: November 19, 2026
Vulnerability details
The vulnerability allows a remote attacker to cause a denial of service by crashing a PHP process.
The vulnerability exists due to a double free in PHP's modern DOM XML serializer when an application calls saveXml() on a DomXMLDocument or DomHTMLDocument parsed from untrusted input. The serializer incorrectly treats a generated namespace prefix as owned by both an ancestor element and a descendant, allowing the same allocation to be freed twice. A remote attacker can supply a crafted XML or HTML document that triggers this memory corruption during serialization to cause a denial of service.
Affected software
Fedora
php
How to mitigate CVE-2026-129501
php - addressed in versions 8.4.28-2.fc43, 8.5.13-1.fc44, 8.5.13-1.fc45