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

 

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

Published: November 19, 2026


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

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code with the privileges of the PHP worker.

The vulnerability exists due to a use-after-free in the PHP engine's backtrace argument collection when a fatal error interrupts entry into a call handled by __call() or __callStatic(). A remote attacker can send a crafted request to an application that reaches a susceptible call, causing PHP to collect stale argument values that reference freed memory and potentially execute arbitrary code.


Affected software

PHP
Fedora
php

How to mitigate CVE-2026-129474

Install security update from vendor's website.

PHP - update to 8.5.13
php - addressed in versions 8.5.13-1.fc44, 8.5.13-1.fc45

External References

Related Security Bulletins