Use-after-free in PHP - CVE-2026-129496
Published: November 19, 2026
Vulnerability details
The vulnerability allows a remote attacker to crash a PHP worker and potentially execute arbitrary code with that worker's privileges.
The vulnerability exists due to a use-after-free in PHP's timezone cache when a diagnostic logged to a file during process startup leaves a stale cache reference that a later diagnostic accesses before the date extension resets it. A remote attacker can trigger a diagnostic during early request initialization to corrupt memory, crash the worker, or potentially execute arbitrary code.
In FPM and Apache mod_php, workers can inherit the stale reference from the parent process. The vulnerable window lasts until the worker completes its first normal request.
Affected software
Debian Linux
Fedora
php
php8.4 (Debian package)
How to mitigate CVE-2026-129496
php - addressed in versions 8.4.28-2.fc43, 8.5.13-1.fc44, 8.5.13-1.fc45
php8.4 (Debian package) - update to 8.4.28-1~deb13u1