CVE-2026-129501
CVE-2026-129501 · Double free during DOM XML serialization
CVSS 6.3 · Medium · EPSS 0.7% · Fix available
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- phpUpdate to 8.4.28 / 8.5.13
- php84 Alpine 3.24Update to 8.4.28-r0
- php85 Alpine 3.24Update to 8.5.13-r0
- php8.4 Debian 13Update to 8.4.28-1~deb13u1
- and 3 more
Check the installed version:
apk list -I -o php84apk list -I -o php85dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="php8.4"'Assess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
- Published
- Updated
Fixes in distributions
- SUSE-SU-2026:24932-1 · SUSE Linux Enterprise Server 16.0, SUSE Linux Enterprise Server for SAP applications 16.0 ·
- openSUSE-SU-2026:22440-1 · openSUSE Leap 16.0 ·
- RLSA-2026:102255 · Rocky Linux 9 ·
- SUSE-SU-2026:24903-1 · SUSE Linux Enterprise Server for NVIDIA 16.1 ·
- openSUSE-SU-2026:22451-1 · openSUSE Leap 16.1 ·
- SUSE-SU-2026:24957-1 · SUSE Linux Enterprise Server 16.1, SUSE Linux Enterprise Server for SAP applications 16.1 ·
- RHSA-2026:102255 · Red Hat Enterprise Linux 9 appstream ·
- RHSA-2026:101658 · Red Hat hummingbird 1 ·
- RHSA-2026:101251 · Red Hat enterprise linux eus 10.2 ·
- RHSA-2026:100821 · Red Hat Enterprise Linux 10.3 ·
- USN-9185-1 · Ubuntu 22.04 LTS, Ubuntu 24.04 LTS, Ubuntu 26.04 LTS, Ubuntu 26.10, Ubuntu Pro 14.04 LTS, Ubuntu Pro 16.04 LTS, Ubuntu Pro 18.04 LTS, Ubuntu Pro 20.04 LTS ·
- RLSA-2026:100821 · Rocky Linux 10 ·
- ALSA-2026:102255 · AlmaLinux 9 ·
- ALSA-2026:100821 · AlmaLinux 10 ·
- DSA-6641-1 · Debian 13 ·
- openSUSE-SU-2026:12618-1 · openSUSE Tumbleweed ·
Affected products and versions
php
- Versions
- ≥ 8.4.0, < 8.4.28: Affected (semver)
- ≥ 8.5.0, < 8.5.13: Affected (semver)
Update to 8.4.28; Update to 8.5.13
php84 Alpine 3.24
- Affected ranges
- ECOSYSTEM: < 8.4.28-r0
Update to 8.4.28-r0
php85 Alpine 3.24
- Affected ranges
- ECOSYSTEM: < 8.5.13-r0
Update to 8.5.13-r0
php8.4 Debian 13
- Versions
- 8.4.11-1
- 8.4.16-1
- 8.4.16-1~deb13u1
- 8.4.20-1
- 8.4.21-1
- 8.4.21-1~deb13u1
All versions (15)
- 8.4.22-1
- 8.4.23-1
- 8.4.23-1~deb13u1
- 8.4.24-1
- 8.4.24-1~deb13u1
- 8.4.26-1
- 8.4.26-1~deb13u1
- 8.4.27-1
- 8.4.27-1~deb13u1
- Affected ranges
- ECOSYSTEM: < 8.4.28-1~deb13u1
Update to 8.4.28-1~deb13u1
php8.4 Debian 14
- Versions
- 8.4.11-1
- 8.4.16-1
- 8.4.16-1~deb13u1
- 8.4.20-1
- 8.4.21-1
- 8.4.21-1~deb13u1
All versions (16)
- 8.4.22-1
- 8.4.23-1
- 8.4.23-1~deb13u1
- 8.4.24-1
- 8.4.24-1~deb13u1
- 8.4.26-1
- 8.4.26-1~deb13u1
- 8.4.27-1
- 8.4.27-1~deb13u1
- 8.4.28-1~deb13u1
- Affected ranges
- ECOSYSTEM: < 8.4.28-2
Update to 8.4.28-2
php8.5 Ubuntu 26.10
- Versions
- 8.5.4-0ubuntu1
- 8.5.4-0ubuntu3
- 8.5.9-0ubuntu1
- 8.5.9-0ubuntu2
- 8.5.9-0ubuntu2.1
- Affected ranges
- ECOSYSTEM: < 8.5.9-0ubuntu2.2
Update to 8.5.9-0ubuntu2.2
php8.5 Ubuntu 26.04 LTS
- Versions
- 8.5.2-0ubuntu1
- 8.5.4-0ubuntu1
- 8.5.4-0ubuntu1.1
- 8.5.4-0ubuntu1.2
- 8.5.4-0ubuntu1.3
- 8.5.4-0ubuntu1.4
All versions (7)
- 8.5.4-0ubuntu1.5
- Affected ranges
- ECOSYSTEM: < 8.5.4-0ubuntu1.6
Update to 8.5.4-0ubuntu1.6