PHP Security Update: Protect Your WordPress Site Now

Critical PHP security update alert for WordPress websites

A PHP security update released on 21 October 2026 fixes two critical flaws that can let an attacker run their own code on a web server. WordPress is built on PHP, so almost every WordPress and WooCommerce site is exposed until the server it runs on is patched. The good news is that for most site owners the fix is a quick check and one message to the hosting provider.

Quick summary

  • PHP shipped an emergency release on 21 October 2026 for CVE-2026-109618 and CVE-2026-109619.
  • Both flaws allow remote code execution and each carries a CVSS v4.0 score of 9.2 out of 10.
  • The problem is inside PHP itself, so updating WordPress, plugins or themes will not fix it.
  • Only an updated PHP version fully closes the hole. Everything else is a temporary stopgap.

What are CVE-2026-109618 and CVE-2026-109619?

Both bugs are memory-handling problems in how PHP processes a web request. They are dangerous because an attacker does not need a login, and the vulnerable code can run before WordPress even starts.

CVE-2026-109618: out-of-memory handling

This flaw involves what happens when a request pushes PHP past its memory limit while it is still processing the request. PHP states that it validated full remote code execution over HTTP against Apache with mod_php, and its analysis suggests PHP-FPM is vulnerable as well, although no complete FPM exploit has been shown.

CVE-2026-109619: leftover request state

This one is a use-after-free bug tied to PHP’s request state management, triggered after a fatal error. In plain terms, PHP can keep using a piece of memory it has already released, and that can be steered into running attacker-controlled code.

A public proof-of-concept exploit has been claimed, which is why security teams are treating this as urgent. Security firm Sophos noted that, at the time of its report, active exploitation had not been seen in the wild, but that can change quickly. You can read the official wording in the PHP security advisory.

Is your WordPress site affected?

If your server runs an unpatched PHP version, yes. It does not matter whether you use a page builder, WooCommerce or a hand-coded theme, because the weakness sits below all of that. Whether it is reachable depends on how PHP is run on your server, but PHP says all installations serving web requests should be treated as at risk.

Which PHP versions include the security update

  • PHP 8.5: upgrade to 8.5.12 or newer.
  • PHP 8.4: upgrade to 8.4.27 or newer.
  • PHP 8.3: upgrade to 8.3.36 or newer.
  • PHP 8.2: upgrade to 8.2.35 or newer. Security support for 8.2 is scheduled to end on 31 December 2026, so plan a move to 8.3 or later.
  • PHP 8.1, 8.0 and 7.4: these branches are no longer supported. PHP published minimal source patches for them, but those only help if you compile PHP yourself. The practical answer is to move to a supported version.

How to check your PHP version

In your WordPress dashboard, open Tools → Site Health → Info and expand the Server section. The PHP version is listed there. Most hosting control panels show it too.

A version number alone does not settle the question. Some hosts and Linux distributions backport a fix without changing the number, so an older-looking version can be safe and a familiar one can still be risky. If you are unsure, ask your host to confirm in writing that the 21 October PHP security fixes are applied.

How to apply the PHP security update on your hosting

  • Managed WordPress hosting: the provider handles PHP for you. Check their status page or support channel for confirmation.
  • Shared hosting: the host patches the server for all customers. If you choose your own PHP version in the control panel, switch to a fixed release and confirm with support.
  • VPS or dedicated server: nobody will patch it for you. Update the PHP packages, then restart PHP-FPM or Apache so every worker runs the new build. If your packages come from a third-party repository, confirm it already carries the fixed release.
  • Behind Cloudflare or a WAF: filtering rules can add a layer of protection, but attackers may reach the origin server directly, so you still need the update.

Temporary mitigations if you cannot update today

These steps reduce exposure but do not replace the update, and they are meant for whoever manages the server. On shared or managed hosting, ask your provider to apply them instead of editing server files yourself.

  • Disable the session upload progress feature and restart PHP workers.
  • Lower post_max_size, keep upload_max_filesize below it, and enforce request-size limits at the web server or reverse proxy.
  • Consider restricting access to admin and upload endpoints until the patch is in place.
session.upload_progress.enabled = 0

After you update: a quick checklist

  1. Take a fresh full backup before changing anything.
  2. Confirm the new PHP version, or get written confirmation from your host.
  3. Test your login, contact forms, checkout and any custom features.
  4. Keep WordPress core, plugins and themes up to date as usual.
  5. Review administrator accounts, recently modified files, installed plugins and scheduled tasks for anything you do not recognise.
  6. If something looks wrong, restore a clean backup and rotate passwords and security keys.

Running an older server setup? Our guide to critical VPS security risks covers the wider hardening steps worth doing at the same time.

Frequently asked questions

Do I need to update WordPress or my plugins for this vulnerability?

No. These flaws are in PHP, so only a PHP update fixes them. You should still keep WordPress, plugins and themes current for other security reasons.

Does this mean my website has already been hacked?

Not necessarily. A vulnerability means your server was exposed, not that it was compromised. If your PHP stayed unpatched while exploit code was circulating, it is sensible to run the post-update checks above.

Will upgrading PHP break my website?

Updating within the same branch, for example 8.3.35 to 8.3.36, rarely causes problems. Jumping to a newer branch can expose old plugins or themes, so test on a staging copy first and keep a backup ready.

Which PHP version is best for WordPress right now?

Choose a branch that still receives security fixes and that your plugins support. PHP 8.3 or newer, on a patched release, is a sensible target.

Need help securing your site?

If you are not sure which PHP version your site runs, or you want a professional check after updating, the team at Digital Dev House can review your hosting, audit your WordPress setup and help you upgrade PHP safely. Get in touch and share your site details.

This is a developing story. For the latest technical details, follow the official PHP announcement and the CERT-EU advisory.

guest
0 Comments
Oldest
Newest Most Voted