CVE-2026-129501 Double free during DOM XML serialization
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- PHPUbuntuDebianRed Hat
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.
Upgrade path
13 packages: 6 fixed, 7 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/php8.4(Debian 14) | = 8.4.11-1; = 8.4.16-1; = 8.4.16-1~deb13u1; = 8.4.20-1 +13 more | No fix listed | No fix yet |
| redhat/php(Red Hat hummingbird 1) | All versions | No fix listed | No fix yet |
| redhat/php:8.4/php(Red Hat enterprise_linux 9) | All versions | No fix listed | No fix yet |
| ubuntu/php8.1(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/php8.3(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/php8.5(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/php8.5(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| alpine/php84(Alpine v3.24) | < 8.4.28-r0 | 8.4.28-r0 | Fixed |
| alpine/php85(Alpine v3.24) | < 8.5.13-r0 | 8.5.13-r0 | Fixed |
| debian/php8.4(Debian 13) | < 8.4.28-1~deb13u1; = 8.4.11-1; = 8.4.16-1; = 8.4.16-1~deb13u1 +12 more | 8.4.28-1~deb13u1 | Fixed |
| PHP | >= 8.4.0, < 8.4.28; >= 8.5.0, < 8.5.13 | 8.4.28, 8.5.13 | Fixed |
| redhat/php8.4(Red Hat enterprise_linux 10.3) | < 8.4.28-1.el10_3 | 8.4.28-1.el10_3 | Fixed |
| redhat/php8.4(Red Hat enterprise_linux_eus 10.2) | < 8.4.28-1.el10_2 | 8.4.28-1.el10_2 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| PHP | >= 8.4.0, < 8.4.28 | 8.4.28 |
| PHP | >= 8.5.0, < 8.5.13 | 8.5.13 |
| debian/php8.4(Debian:13) | < 8.4.28-1~deb13u1 | 8.4.28-1~deb13u1 |
| debian/php8.4(Debian:13) | = 8.4.11-1 | No fix listed |
| debian/php8.4(Debian:13) | = 8.4.16-1 | No fix listed |
| debian/php8.4(Debian:13) | = 8.4.16-1~deb13u1 | No fix listed |
| debian/php8.4(Debian:13) | = 8.4.20-1 | No fix listed |
| debian/php8.4(Debian:13) | = 8.4.21-1 | No fix listed |
| debian/php8.4(Debian:13) | = 8.4.21-1~deb13u1 | No fix listed |
| debian/php8.4(Debian:13) | = 8.4.22-1 | No fix listed |
| debian/php8.4(Debian:13) | = 8.4.23-1 | No fix listed |
| debian/php8.4(Debian:13) | = 8.4.23-1~deb13u1 | No fix listed |
| debian/php8.4(Debian:13) | = 8.4.24-1 | No fix listed |
| debian/php8.4(Debian:13) | = 8.4.24-1~deb13u1 | No fix listed |
| debian/php8.4(Debian:13) | = 8.4.26-1 | No fix listed |
| debian/php8.4(Debian:13) | = 8.4.26-1~deb13u1 | No fix listed |
| debian/php8.4(Debian:13) | = 8.4.27-1 | No fix listed |
| debian/php8.4(Debian:13) | = 8.4.27-1~deb13u1 | No fix listed |
| debian/php8.4(Debian:14) | All versions | No fix listed |
| debian/php8.4(Debian:14) | = 8.4.11-1 | No fix listed |
| debian/php8.4(Debian:14) | = 8.4.16-1 | No fix listed |
| debian/php8.4(Debian:14) | = 8.4.16-1~deb13u1 | No fix listed |
| debian/php8.4(Debian:14) | = 8.4.20-1 | No fix listed |
| debian/php8.4(Debian:14) | = 8.4.21-1 | No fix listed |
| debian/php8.4(Debian:14) | = 8.4.21-1~deb13u1 | No fix listed |
Show 20 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/php8.4(Debian:14) | = 8.4.22-1 | No fix listed |
| debian/php8.4(Debian:14) | = 8.4.23-1 | No fix listed |
| debian/php8.4(Debian:14) | = 8.4.23-1~deb13u1 | No fix listed |
| debian/php8.4(Debian:14) | = 8.4.24-1 | No fix listed |
| debian/php8.4(Debian:14) | = 8.4.24-1~deb13u1 | No fix listed |
| debian/php8.4(Debian:14) | = 8.4.26-1 | No fix listed |
| debian/php8.4(Debian:14) | = 8.4.26-1~deb13u1 | No fix listed |
| debian/php8.4(Debian:14) | = 8.4.27-1 | No fix listed |
| debian/php8.4(Debian:14) | = 8.4.27-1~deb13u1 | No fix listed |
| debian/php8.4(Debian:14) | = 8.4.28-1~deb13u1 | No fix listed |
| alpine/php84(Alpine:v3.24) | < 8.4.28-r0 | 8.4.28-r0 |
| alpine/php85(Alpine:v3.24) | < 8.5.13-r0 | 8.5.13-r0 |
| ubuntu/php8.1(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/php8.3(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/php8.5(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/php8.5(Ubuntu:26.10) | All versions | No fix listed |
| redhat/php8.4(Red Hat:enterprise_linux:10.3) | < 8.4.28-1.el10_3 | 8.4.28-1.el10_3 |
| redhat/php8.4(Red Hat:enterprise_linux_eus:10.2) | < 8.4.28-1.el10_2 | 8.4.28-1.el10_2 |
| redhat/php:8.4/php(Red Hat:enterprise_linux:9) | All versions | No fix listed |
| redhat/php(Red Hat:hummingbird:1) | All versions | No fix listed |
References
- github.com vendor-advisory
- Debian Security Tracker CVE-2026-129501 vendor-advisory
- Red Hat CVE page vendor-advisory
- Red Hat Bugzilla 2576599 issue-tracking
- www.cve.org
- nvd.nist.gov
- ENISA EUVD EUVD-2026-130250 third-party-advisory
- security.alpinelinux.org vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- RHSA-2026:100821 patch vendor-advisory
- RHSA-2026:101251 patch vendor-advisory