home / blog

2026-11-20 · critical

CVE-2026-129474: Critical RCE Vulnerability in PHP

Critical Use-after-free vulnerability in PHP magic methods allows remote code execution.

CVE-2026-129474: Critical RCE Vulnerability in PHP

CVE-2026-129474 is a Use-after-free vulnerability in PHP magic methods that allows a remote actor to execute arbitrary code. When collecting the arguments of a method call handled by __call() or __callStatic() for a backtrace, PHP can read stale values that may refer to freed memory. A particularly serious vulnerability affecting systems with PHP 8.5.* before version 8.5.13.

The vulnerability is classified as critical with a CVSS score of 9.2. It has been officially published in the National Vulnerability Database on November 19, 2026. There are signals on GitHub indicating the availability of public exploits for this vulnerability, confirming the high criticality of the issue.

Organizations using PHP should immediately check their installed versions. If using PHP 8.5.* in a version prior to 8.5.13, it is essential to apply the security update. For systems that cannot be updated immediately, it is recommended to verify if the zend.exception_ignore_args setting is enabled in php.ini, as this prevents exploitation of the vulnerability.

At a glance

What
Use-after-free in PHP magic methods that allows a remote actor to execute arbitrary code.
Severity
Critical (CVSS 9.2)
Affected versions
PHP versions 8.5.* before 8.5.13
Fix
Upgrade to PHP version 8.5.13 or later
Status
Published in NVD on November 19, 2026
Action
Apply security patch immediately or verify if zend.exception_ignore_args is enabled in php.ini

Sources: NVD, CVE-2026-129474

← All articles