Double Free Vulnerability in PHP's XML Serialization Affects PHP Versions
CVE-2026-129501

6.3MEDIUM

Key Information:

Vendor

PHP Group

Status
Vendor
CVE Published:
19 November 2026

What is CVE-2026-129501?

This vulnerability in PHP's XML serialization process allows for a double free condition involving the DOM XML serializer. Specifically, the namespace prefix ownership can be improperly shared between an element and its descendant, leading to the risk of accessing and freeing memory that has already been deallocated. Applications that parse XML or HTML content controlled by an attacker and utilize the saveXml() method may experience crashes and repeated requests can lead to denial of service. While there are no known exploitations for code execution, the potential for service outages makes it a significant concern.

Affected Version(s)

PHP 8.4.0 < 8.4.28

PHP 8.5.0 < 8.5.13

References

CVSS V4

Score:
6.3
Severity:
MEDIUM
Confidentiality:
None
Integrity:
None
Availability:
Low
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
Physical
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

Elise Amber Katze
Vincent Cassiau (CyberVanguard)
christos-cantina-security
Jakub Zelenka
Nora Dossche
David CARLIER
.