PHP's emergency release on 21 October fixes two critical vulnerabilities that can let an attacker run code on a web server without logging in. For a developer maintaining a Laravel application or a site owner relying on managed hosting, the urgent question is not whether the website still loads. It is whether the PHP runtime serving requests has received the fix.
The patched upstream releases are 8.5.12, 8.4.27, 8.3.36 and 8.2.35. PHP's security announcement calls for immediate updates and includes PHP-FPM, Apache's mod_php, php-cgi, FrankenPHP and LiteSpeed in its warning. The team identifies mod_php as the highest-risk configuration, with an attack demonstrated before application code runs.
Two faults below the application layer
The first issue, CVE-2026-109618, concerns what happens when PHP runs out of memory. A request can be interrupted while its internal data is only partly initialized; cleanup then encounters data that is not safe to use. The technical advisory describes this as remote code execution through out-of-memory corruption.
The second, CVE-2026-109619, involves state that outlives the request it belongs to. A persistent worker can retain a reference after the underlying memory has been released, and a later request can encounter that stale state. The separate advisory explains why the same worker handling successive requests matters.
These are runtime faults, not mistakes that a developer can fix by adding another validation rule to a form. Updating a framework or a WordPress plugin is not a substitute for updating PHP itself.
Match the fix to your installation
| Your PHP branch | Security release issued on 21 October |
|---|---|
| 8.5 | 8.5.12 |
| 8.4 | 8.4.27 |
| 8.3 | 8.3.36 |
| 8.2 | 8.2.35 |
Distribution packages may carry backported fixes under a different version string. Check the package maintainer's advisory rather than rejecting a fixed package simply because its upstream number is older. PHP 8.1 and earlier are outside upstream support; ask the vendor about its specific maintenance coverage or move to a supported branch.
For managed hosting, ask a concrete question: “Have both CVE-2026-109618 and CVE-2026-109619 been patched in the PHP runtime serving my site, and have its workers been restarted?” A general assurance that the hosting platform is updated is less useful than confirmation for your selected PHP version.
For container deployments, check the application image as well as the host. The Dutch NCSC's operational guidance specifically flags bundled runtimes, third-party images and appliances: patching the host does not necessarily replace the PHP inside them.
Check the web runtime, not just your terminal
Running php -v identifies the command-line executable on that machine. It does not by itself establish which PHP version an Nginx virtual host, Apache module or container uses. Follow the deployment configuration to the actual web runtime, then check the installed package or rebuilt image and the running worker processes.
After the update, exercise the paths your site depends on: signing in, submitting forms, uploading files and maintaining a session across requests. Record the patched package or image identifier with that deployment. Avoid leaving a public phpinfo() page behind as a version check; it exposes configuration details that visitors do not need.
Why configuration workarounds are not the finish line
PHP documents temporary controls for installations that cannot update immediately, but says they are not complete fixes. Some apply before application code runs, and their side effects matter. In particular, the memory-related guidance should not be reduced to a copied setting without considering the server's resource boundaries. Use the current advisories with your hosting or operations team rather than treating a firewall rule or an application-level setting as equivalent to a patched runtime.
The PHP Foundation's account of the release also puts the AI-discovery headlines in context. It says the underlying memory problem had been known earlier, while later reports from Calif, OpenAI and Wiz established its full security impact. The Foundation acknowledges delays in the decision-making process and limited resources. The important distinction for operators is between discovering a crash, demonstrating its security consequences and getting a fix into the process that actually serves their website.
