A use-after-free vulnerability in the timezone cache of libphp can lead to remote code execution. This occurs in non-thread-safe builds when certain diagnostics during module startup cause the cache to be freed while still referenced. An unauthenticated remote attacker can exploit this to crash PHP-FPM, Apache mod_php, or CGI workers and potentially execute arbitrary code. The issue affects PHP versions before 8.2.36, 8.3.37, 8.4.28, and 8.5.13 and has been fixed in these versions.