Critical PHP Security Fixes: Update PHP on Your Grav Sites
Grav · October 21, 2026
About this announcement
The PHP security team released fixes for two critical vulnerabilities on Wednesday 21 October. Both are rated 9.2 out of 10, and both let an attacker run their own code on your server without logging in. Every Grav site runs on PHP, so I wanted you to hear it from us rather than find it in a hosting changelog a month from now. This is not a Grav issue. It's a PHP issue, and the fix is in PHP itself. So the thing to update is PHP, on every server that runs one of your sites. Tip Hosting with Trilby Media? You don't need to do anything. Every site we host had the mitigation in place on Wednesday morning, and every server was updated to the patched PHP versions the same afternoon. What's affected CVE-2026-109618, "RCE via OOM corruption". When PHP runs out of memory partway through handling a request, it can leave half-built data behind, and the cleanup that follows trusts it. CVE-2026-109619, "RCE via stale global state". Some data from one request can outlive the memory behind it, and the next request handled by the same PHP worker can pick it up. Every PHP setup that serves web pages is affected: PHP-FPM, Apache with mod_php, php-cgi, FrankenPHP and LiteSpeed. Apache with mod_php is the worst off. There, a working attack has been shown that needs nothing more than one request, before Grav or any other code even starts. The fixed versions PHP 8.5.12 PHP 8.4.27 PHP 8.3.36 PHP 8.2.35 PHP 8.1 and older get no fix from the PHP project. If one of your sites is still on one of those versions, this is the push to move it to a supported version. What to do Update PHP to the fixed version for your branch as soon as your host ships it. Check the version your site really runs, in your hosting control panel or with phpinfo(), not php -v on the command line, which is often a different PHP. Restart PHP after the update. PHP-FPM keeps running the old code until it restarts, so the update alone doesn't protect you. Most hosts and package managers do this for you, but it's
Read Full Story