Ubuntu CVE Tracker
UBUNTU-CVE-2026-129474
Details
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
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:Pro:14.04:LTS | php5 | All versions, no fix listed |
| Ubuntu:Pro:16.04:LTS | php7.0 | All versions, no fix listed |
| Ubuntu:Pro:18.04:LTS | php7.2 | All versions, no fix listed |
| Ubuntu:Pro:20.04:LTS | php7.4 | All versions, no fix listed |
| Ubuntu:22.04:LTS | php8.1 | All versions, no fix listed |
| Ubuntu:24.04:LTS | php8.3 | All versions, no fix listed |
| Ubuntu:26.10 | php8.5 | All versions, no fix listed |
| Ubuntu:26.04:LTS | php8.5 | All versions, no fix listed |