Critical PHP Security Update: What WordPress Site Owners Need to Do Right Now

If your website runs on WordPress, there is a good chance it runs on PHP behind the scenes. And right now, PHP has a serious security problem that you cannot afford to ignore.

The PHP project has released an emergency security update to fix two critical vulnerabilities that could let an attacker take over your server. The advice from cybersecurity agencies is blunt: update immediately, or consider taking your site offline until you can.

Here is what happened, what it means for your WordPress site, and the exact steps you should take today.

What Are the Two Critical PHP Vulnerabilities?

The two flaws are tracked as CVE-2026-109618 and CVE-2026-109619. Both are rated 9.2 out of 10 for severity and allow unauthenticated remote code execution — meaning an attacker could run their own code on your server without needing a username or password.

In plain English:

  • CVE-2026-109618 is a memory corruption bug that can be triggered when PHP runs out of memory at the wrong moment. On servers using Apache with mod_php, an attacker can exploit this before any application code even runs.
  • CVE-2026-109619 is a “stale state” bug where memory from one request can be reused by a later request, allowing an attacker to execute code on a real-world application.

These are not theoretical issues. Exploits have been demonstrated, and the PHP security team has called the risk highest for mod_php installations.

Which PHP Versions Are Affected — and Fixed?

The PHP project has released patched versions for every supported branch:

  • PHP 8.5.12
  • PHP 8.4.27
  • PHP 8.3.36
  • PHP 8.2.35

If your site runs any version of PHP older than 8.2, you are in a much more dangerous position. PHP 8.1 and everything before it reached end-of-life and no longer receive official security updates from the PHP project. The PHP team did publish minimal source backports for 7.4, 8.0, and 8.1 to help people who build from source, but there is no official patched release for those branches.

Does WordPress Need an Update for This?

No. This is not a WordPress vulnerability. It affects any server that hosts a PHP application, including WordPress, Laravel, Drupal, and custom PHP apps.

There is no WordPress update required or planned for these issues. The fix has to happen at the PHP level — either by your web host or by you, if you manage your own server.

How to Check Your PHP Version in WordPress

You can see exactly which PHP version your site is using inside your WordPress dashboard:

  1. Log in to your WordPress admin area.
  2. Go to Tools → Site Health.
  3. Click the Info tab.
  4. Expand the Server section.
  5. Look for the PHP version row.

Many web hosts also show your PHP version in their hosting control panel.

What your version means:

  • PHP 8.5.12, 8.4.27, 8.3.36, or 8.2.35 → You are on a patched version. ✅
  • PHP 8.2.x below 8.2.35, or 8.3.x below 8.3.36, or 8.4.x below 8.4.27, or 8.5.x below 8.5.12 → Update immediately.
  • PHP 8.1 or older → You are on an end-of-life version with no official patch. Upgrade to PHP 8.2 or newer as soon as possible, and read the “offline” advice below.

Step 1: Contact Your Web Host (Most People)

If you use a managed WordPress host or shared hosting, you probably do not need to do anything technical yourself — but you do need to check that your host has applied the update.

Many hosts are already rolling out the patched PHP versions and adding web application firewall (WAF) rules to block attacks in the meantime. But “many hosts” is not “all hosts,” and WAF rules are a temporary shield, not a full fix.

What to do:

  • Check your host’s status page or announcements for PHP security updates.
  • Open a support ticket and ask: “Have you updated PHP to 8.5.12, 8.4.27, 8.3.36, or 8.2.35 for my site?”
  • If your host offers a PHP version selector in the control panel, switch to the latest available patched version.

Step 2: Update PHP Yourself (If You Manage Your Own Server)

If you run your own server — a VPS, a dedicated server, or a DIY stack — you need to update PHP through your operating system’s package manager or your PHP installation method.

The PHP team notes that Linux distributions and LTS vendors received the patches in advance, so checking your vendor for updated packages is the fastest path.

After updating, restart your PHP service and your web server so the new binaries are loaded. The PHP Foundation explicitly says: “patch to 8.5.12, 8.4.27, 8.3.36 or 8.2.35, then restart every worker”.

Step 3: If You Cannot Update Immediately — Consider Going Offline

This is the part that makes this release different from a routine patch day.

The UK National Cyber Security Centre (NCSC) , along with CERT-EU and cybersecurity agencies in several other countries, has issued clear guidance: if you cannot patch immediately, consider taking the system offline until it can be fully mitigated.

In the NCSC’s own words:

“Where immediate remediation is not feasible, organisations should consider taking the system offline until it can be fully mitigated.”

This advice is especially urgent if your site runs PHP 8.1 or older, because there is no official patch for those versions. The PHP project itself says only an update is a complete solution.

What “offline” means in practice:

  • Take the site down temporarily (a maintenance page is fine) until you can move to a supported, patched PHP version.
  • Do not leave an end-of-life PHP version exposed to the public internet while you “plan to upgrade later.”
  • National agencies in the Netherlands, Finland, Denmark, and France took exactly this step on release day — some government websites went dark rather than run unpatched PHP.

The Bottom Line

This is a critical, actively dangerous PHP security release. The vulnerabilities are severe, exploits are demonstrated, and the fix is straightforward: get your site onto PHP 8.5.12, 8.4.27, 8.3.36, or 8.2.35 as fast as you can.

  • If you use a web host: check that they have updated PHP, and ask them directly if you are unsure.
  • If you manage your own server: update PHP and restart your services today.
  • If you are stuck on PHP 8.1 or older: upgrade to a supported version urgently, and seriously consider taking the site offline until you can.

The PHP ecosystem powers a huge portion of the web. That is exactly why this update matters — and why the security agencies are not mincing words.

Check your PHP version now. Update it. Do not wait.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top