ZeroDay Brief
CVE-2026-129501

The document does not need to be malformed.

CVSS
6.3Medium
Chance of exploitation (EPSS)
0.65%
Published
Nov 19, 2026
In the news
Not yet
More from this vendor

What to do

A moderate memory corruption flaw in PHP that can be attacked over the network without logging in. No attacks are reported yet; it can go in your normal patch cycle.

Action: Check the vendor's advisory in the references and apply updates as soon as they are available.

Fixed in: 8.4.28, 8.5.13

Affected versions
PHP
8.4.0 to before 8.4.28; 8.5.0 to before 8.5.13

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.

CWE-415CWE-416

Affected products

Get alerts for these →

Timeline 10

Latest change: Nessus plugin 385665: RockyLinux 9 : php:8.4 (RLSA-2026:102255) (Nov 23, 2026)

News, advisories, exploit code, scanner detection and exploitation, newest first.

References 1

  • github.com /php/php-src/security/advisories/GHSA-x8r7-mg3g-74hg

You are leaving ZeroDay Brief

This link goes to exploit code on a third-party site. We find these links automatically and do not test, review or vouch for them. They may contain malware or fake exploits.

We are not responsible for anything that happens if you open the page or run its code. Never run exploit code on systems you care about.

↑ ↓ moveEnter openEsc closeTry “CVE-2026”, “fortinet” or “ivanti”