The PHP project released security updates for every supported branch: PHP 8.5.13, 8.4.28, 8.3.37 and 8.2.36. Earlier, the PHP security team said the fixes cover flaws in all supported versions, and the worst are rated critical. The Hacker News reported that the flaws include CVE-2026-115560 and could let an attacker run code remotely on a server.
The PHP team said the critical issues need non-default settings or uncommon setups. For CVE-2026-115560, it said the risk needs an unusual mix of session settings and application code. The announcements here do not list each new flaw or its details. The Hacker News said an interrupted file write can leave a damaged session file, which PHP later loads. It credited the security firm Depthfirst, which named a related flaw, CVE-2026-126714, "phpAfterShell".
Anyone who runs PHP should check which version they use and move to the fixed release for their branch. Time is short on PHP 8.2: the PHP team said it gets no security fixes after 31 December 2026. Servers on PHP 8.1 or older get no updates from the PHP project, so they depend on a vendor's patches.