cve.bz

CVE-2026-129501 Double free during DOM XML serialization

6.3 mediumEPSS 0.7%

Medium (6.3) in php group php. EPSS 0.7% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 4.0

6.3 medium
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
EPSS
0.7% estimated probability of exploitation activity in the next 30 days; 52nd percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-11-19. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-415 Double Free
CWE-416 Use After Free
Published
Modified
Assigned by
php (CNA)
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-129501 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-129501?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-129501?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-129501 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
PHP Group PHPfrom 8.4.0 before 8.4.28
PHP Group PHPfrom 8.5.0 before 8.5.13

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian13php8.48.4.28-1~deb13u1DEBIAN-CVE-2026-129501 DSA-6641-1
Debian14php8.4no fix listedDEBIAN-CVE-2026-129501
Ubuntu22.04:LTSphp8.1no fix listedUBUNTU-CVE-2026-129501
Ubuntu24.04:LTSphp8.3no fix listedUBUNTU-CVE-2026-129501
Ubuntu26.04:LTS, 26.10php8.5no fix listedUBUNTU-CVE-2026-129501
UbuntuPro:14.04:LTSphp5no fix listedUBUNTU-CVE-2026-129501
UbuntuPro:16.04:LTSphp7.0no fix listedUBUNTU-CVE-2026-129501
UbuntuPro:18.04:LTSphp7.2no fix listedUBUNTU-CVE-2026-129501
UbuntuPro:20.04:LTSphp7.4no fix listedUBUNTU-CVE-2026-129501
openSUSETumbleweedphp88.5.13-1.1openSUSE-SU-2026:12618-1
AlmaLinux10php8.4, php8.4-gd, php8.4-cli and 22 more8.4.28-1.el10_3ALSA-2026:100821
Alpinev3.24php848.4.28-r0ALPINE-CVE-2026-129501
Alpinev3.24php858.5.13-r0ALPINE-CVE-2026-129501

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10php8.4-0:8.4.28-1.el10_3Fixed 2026-11-20RHSA-2026:100821
Red Hat Enterprise Linux 10phpNot affected
Red Hat Enterprise Linux 6phpNot affected
Red Hat Enterprise Linux 7phpNot affected
Red Hat Enterprise Linux 8php:7.4/phpNot affected
Red Hat Enterprise Linux 8php:8.2/phpNot affected
Red Hat Enterprise Linux 9phpNot affected
Red Hat Enterprise Linux 9php:8.2/phpNot affected
Red Hat Enterprise Linux 9php:8.3/phpNot affected
Red Hat Enterprise Linux 9php:8.4/phpAffected
Red Hat Hardened ImagesphpAffected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-129501.

References

Check your stackJSON