CVE-2026-129474
Published:November 19, 2026
Updated:November 19, 2026
PHP can access freed memory when collecting the arguments of a method handled by "__call()" or "__callStatic()" for a backtrace. On PHP 8.5 and later, an unauthenticated attacker may be able to trigger this through a crafted request that causes a fatal error while the application enters such a method. Successful exploitation can execute arbitrary code with the privileges of the PHP worker.
The demonstrated remote attack requires "fatal_error_backtraces=1" and "zend.exception_ignore_args=0". Fatal error backtraces are enabled by default in PHP 8.5. PHP's built-in default also includes arguments, but "php.ini-production" sets "zend.exception_ignore_args=1" and prevents this attack path.
Affected Packages
https://github.com/php/php-src.git (GITHUB):
Affected version(s) >=php-8.6.0alpha1 <php-8.6.0Fix Suggestion:
Update to version php-8.6.0https://github.com/php/php-src.git (GITHUB):
Affected version(s) >=php-8.5.0alpha1 <php-8.5.13Fix Suggestion:
Update to version php-8.5.13Additional Notes
The description of this vulnerability differs from MITRE.
Related Resources (1)
Do you need more information?
Contact UsCVSS v4
Base Score:
9.2
Attack Vector
NETWORK
Attack Complexity
HIGH
Attack Requirements
PRESENT
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
8.1
Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
Use After Free