Use-after-free in PHP - CVE-2026-129506

 

Use-after-free in PHP - CVE-2026-129506

Published: November 19, 2026


Vulnerability identifier: #VU167931
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-129506
CWE-ID: CWE-416
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to cause a denial of service by crashing the PHP process that handles SOAP content.

The vulnerability exists due to a use-after-free in PHP's SOAP extension when processing XML with document type definition (DTD) entity references that remain in use after the DTD is freed. A remote attacker can supply crafted XML to an exposed SOAP endpoint or through a WSDL or imported schema document that the application loads to crash the PHP process.


Affected software

PHP
Debian Linux
Fedora
php
php8.4 (Debian package)

How to mitigate CVE-2026-129506

Install security update from vendor's website.

PHP - addressed in versions 8.2.36, 8.3.37, 8.4.28, 8.5.13
php - addressed in versions 8.4.28-2.fc43, 8.5.13-1.fc44, 8.5.13-1.fc45
php8.4 (Debian package) - update to 8.4.28-1~deb13u1

External References

Related Security Bulletins