PHP 8.5.13 Patches a Remote Code Execution Flaw and a Wave of JIT Crashes

PHP 8.5.13 is a security-heavy release that closes multiple use-after-free vulnerabilities rated for remote code execution, including flaws in magic method backtraces, the timezone cache, and session handling, plus a PHAR OpenSSL signature bypass and PHP-FPM request smuggling. It also lands dozens of OPcache JIT fixes, from segfaults in tracing traces to wrong self:: and parent:: method resolution, alongside a long list of memory leaks and crashes across extensions.
Fixed GHSA-8mjj-2r7p-4hg2 (Use-after-free in magic method backtraces can lead to remote code execution).