ADVISORIES

Ubuntu CVE Tracker

UBUNTU-CVE-2026-129474

No fix available 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

EcosystemPackageAffected versions
Ubuntu:Pro:14.04:LTSphp5
All versions, no fix listed
Ubuntu:Pro:16.04:LTSphp7.0
All versions, no fix listed
Ubuntu:Pro:18.04:LTSphp7.2
All versions, no fix listed
Ubuntu:Pro:20.04:LTSphp7.4
All versions, no fix listed
Ubuntu:22.04:LTSphp8.1
All versions, no fix listed
Ubuntu:24.04:LTSphp8.3
All versions, no fix listed
Ubuntu:26.10php8.5
All versions, no fix listed
Ubuntu:26.04:LTSphp8.5
All versions, no fix listed

References