CVE-2026-129501
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.
Propose a mitigation on Community Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
AlmaLinux Fixed 2 releases
| Version | Package | Status | Fixed in |
|---|---|---|---|
| 10 | php8.4-pgsql php8.4-xml php8.4-dbg +22 more |
Fixed | 8.4.28-1.el10_3 |
| 9 | php-pecl-rrd |
Fixed | 2.0.3-19.module_el9.9.0+305+241c80e2 |
| 9 | php-pecl-redis6 |
Fixed | 6.2.0-3.module_el9.9.0+305+241c80e2 |
| 9 | php-pecl-apcu php-pecl-apcu-devel apcu-panel |
Fixed | 5.1.27-2.module_el9.9.0+305+241c80e2 |
| 9 | php-pecl-xdebug3 |
Fixed | 3.4.7-3.module_el9.9.0+323+8b975f9e |
| 9 | php-pecl-zip |
Fixed | 1.22.7-2.module_el9.9.0+305+241c80e2 |
Alpine Fixed 1 release
| Version | Package | Status | Fixed in |
|---|---|---|---|
| v3.24 | php85 |
Fixed | 8.5.13-r0 |
| v3.24 | php84 |
Fixed | 8.4.28-r0 |
Debian Fixed 4 releases
| Version | Package | Status | Fixed in |
|---|---|---|---|
| trixie | php8.4 |
Fixed | 8.4.28-1~deb13u1 |
| sid | php8.4 |
Fixed | 8.4.28-2 |
| forky | php8.4 |
Fixed | 8.4.28-2 |
| bookworm | php8.2 |
Not affected | — |
Gentoo Fixed 1 release
| Version | Package | Status | Fixed in |
|---|---|---|---|
| — | — | Fixed | 8.2.36 |
Red Hat Fixed 1 release
| Version | Package | Status | Fixed in |
|---|---|---|---|
| 9 | apcu-panel php-pecl-apcu php-pecl-apcu-devel |
Fixed | 5.1.27-2.module+el9.9.0+24551+b05e3fee |
| 9 | php php-bcmath php-cli +22 more |
Fixed | 8.4.28-1.module+el9.9.0+25379+ae24289e |
| 9 | php-pecl-redis6 |
Fixed | 6.2.0-3.module+el9.9.0+24551+b05e3fee |
| 9 | php-pecl-rrd |
Fixed | 2.0.3-19.module+el9.9.0+24551+b05e3fee |
| 9 | php-pecl-xdebug3 |
Fixed | 3.4.7-3.module+el9.9.0+24551+b05e3fee |
| 9 | php-pecl-zip |
Fixed | 1.22.7-2.module+el9.9.0+24551+b05e3fee |
Rocky Linux Fixed 2 releases
| Version | Package | Status | Fixed in |
|---|---|---|---|
| 10 | php8.4 |
Fixed | 8.4.28-1.el10_3 |
| 9 | php |
Fixed | 8.4.28-1.module+el9.9.0+40498+63c40385 |
| 9 | php-pecl-apcu |
Fixed | 5.1.27-2.module+el9.9.0+40326+676d2670 |
| 9 | php-pecl-redis6 |
Fixed | 6.2.0-3.module+el9.9.0+40326+676d2670 |
| 9 | php-pecl-rrd |
Fixed | 2.0.3-19.module+el9.9.0+40326+676d2670 |
| 9 | php-pecl-xdebug3 |
Fixed | 3.4.7-3.module+el9.9.0+40326+676d2670 |
| 9 | php-pecl-zip |
Fixed | 1.22.7-2.module+el9.9.0+40326+676d2670 |
Ubuntu Fixed 8 releases
| Version | Package | Status | Fixed in |
|---|---|---|---|
| xenial | libapache2-mod-php7.0 libphp7.0-embed php7.0 +36 more |
Fixed | 7.0.33-0ubuntu0.16.04.16+esm23 |
| trusty | libapache2-mod-php5 libapache2-mod-php5filter libphp5-embed +26 more |
Fixed | 5.5.9+dfsg-1ubuntu4.29+esm19 |
| stonking | php8.5-cgi php8.5-curl php8.5-enchant +30 more |
Fixed | 8.5.9-0ubuntu2.2 |
| resolute | libapache2-mod-php8.5 libphp8.5-embed php8.5 +30 more |
Fixed | 8.5.4-0ubuntu1.6 |
| noble | libapache2-mod-php8.3 libphp8.3-embed php8.3 +32 more |
Fixed | 8.3.6-0ubuntu0.24.04.14 |
| jammy | libapache2-mod-php7.4 libapache2-mod-php8.0 libapache2-mod-php8.1 +34 more |
Fixed | 8.1.2-1ubuntu2.29 |
| focal | libapache2-mod-php7.4 libphp7.4-embed php7.4 +34 more |
Fixed | 7.4.3-4ubuntu2.29+esm6 |
| bionic | libapache2-mod-php7.2 libphp7.2-embed php7.2 +35 more |
Fixed | 7.2.24-0ubuntu0.18.04.17+esm15 |
SUSE Tracked 1 release
| Version | Package | Status | Fixed in |
|---|---|---|---|
| — | — | Unknown | — |
References
- https://www.suse.com/security/cve/CVE-2026-129501.html
- https://github.com/php/php-src/security/advisories/GHSA-x8r7-mg3g-74hg
- https://security-tracker.debian.org/tracker/CVE-2026-129501
- https://security.gentoo.org/glsa/202611-13
- https://security.alpinelinux.org/vuln/CVE-2026-129501
- https://pkgs.alpinelinux.org/packages?name=php84
- https://pkgs.alpinelinux.org/packages?name=php85
- https://access.redhat.com/errata/RHSA-2026:100821
- https://bugzilla.redhat.com/2576597
- https://bugzilla.redhat.com/2576598
- https://bugzilla.redhat.com/2576599
- https://bugzilla.redhat.com/2576600
- https://bugzilla.redhat.com/2576601
- https://bugzilla.redhat.com/2576602
- https://bugzilla.redhat.com/2576603
- https://bugzilla.redhat.com/2576604
- https://bugzilla.redhat.com/2576605
- https://bugzilla.redhat.com/2576606
- https://bugzilla.redhat.com/2576607
- https://bugzilla.redhat.com/2576608
- https://bugzilla.redhat.com/2576609
- https://bugzilla.redhat.com/2576610
- https://errata.almalinux.org/10/ALSA-2026-100821.html
- https://access.redhat.com/errata/RHSA-2026:102255
- https://errata.almalinux.org/9/ALSA-2026-102255.html
CWEs
CWE-415 CWE-416
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.