CVE-2026-129496
Timezone cache use-after-free in PHP
| Publication Date | 2026-11-19 |
|---|---|
| Severity | Critical |
| Type | Remote Code Execution |
| Affected PHP Versions |
|
| Fixed Product Versions |
|
CVE Details
In non-thread-safe builds (standard used in PHP-FPM and most mod_php deployments), a diagnostic written to a file-based error_log during module startup (such as for an invalid date.timezone value or session configuration warning) causes the timezone cache to be allocated in startup memory that is subsequently freed while a reference to it is kept. A diagnostic raised early in the first request of a worker (such as the max_input_vars warning) then accesses the freed cache, leading to potential remote code execution or denial of service.
Recommendations
Ensure you have a valid date.timezone declaration in your php.ini; restart PHP-FPM after updating the value to correct it.
When possible, update to a known patched version of PHP.