Critical PHP Vulnerability php2shell: Why We Pick Vendors That Act Early, Then Verify the Fix

By EVERNET Consulting · · 4 min read

Server protected by a security shield after a critical PHP vulnerability patch

On October 21, 2026, the PHP project fixed two flaws in PHP itself, together known as “php2shell.” Each one is a critical PHP vulnerability, and PHP runs underneath WordPress, Drupal, Joomla and a large share of the web. If your business has a website, it’s worth five minutes to understand what happened and what we did about it.

What happened

PHP is the programming language behind most websites. SiteGround, citing W3Techs, puts it at 69.3% of sites whose server-side language is known, WordPress sites included.

The two flaws carry the IDs CVE-2026-109618 and CVE-2026-109619. Both are rated 9.2 on the CVSS v4.0 scale, which is in the critical range, and both can let an attacker run their own code on a web server without logging in (CERT-EU). One involves how PHP cleans up after running out of memory partway through a request. The other involves leftover data from one request that a later request can reuse after its memory has been freed. Put simply, specially crafted web traffic could, under the right conditions, hand an attacker control of the server.

PHP’s advisory says “all PHP installations serving web requests” are at risk. The fixed versions are PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35. PHP 8.1 and older no longer get official updates. PHP did publish minimal source backports for 7.4, 8.0 and 8.1, and some Linux distributions and long-term support vendors offer patched packages, but for those sites the real answer is an upgrade.

Why a critical PHP vulnerability can reach an up-to-date WordPress site

Updating WordPress, your theme and your plugins does not update PHP. PHP lives on the server, under the website, and whoever manages that server has to update it.

PHP also listed some temporary configuration changes, but it’s blunt about their limits. Only an update fully fixes the problem; the workarounds reduce exposure without making an installation safe.

What agencies advise about this critical PHP vulnerability

CISA, the U.S. Cybersecurity and Infrastructure Security Agency, published an alert the same day called “Critical Vulnerabilities in PHP Require Immediate Patching.” It asks organizations to patch now, starting with internet-facing systems, and adds:

“Organizations that cannot update immediately, or that continue to use PHP 8.1 or earlier unsupported versions, should take PHP-based systems offline until they can be patched or updated.”

The UK’s National Cyber Security Centre gave similar advice: if you can’t update or apply PHP’s temporary mitigations, “you should consider taking the system offline until it can be fully mitigated.” CERT-EU advised patching immediately and, where that isn’t possible, considering isolating internet-facing applications from public networks.

CISA said it had not seen exploitation when it published. CERT-EU noted that early proof-of-concept code had started to circulate, which it said raises the likelihood that attackers are already exploiting the flaws. That’s why agencies are treating this as urgent.

What EVERNET did for our clients

EVERNET uses SiteGround as its hosting vendor. SiteGround put server-level protection in place across its servers early, as described in its own post.

We don’t stop at a vendor’s word, though. EVERNET verified that all of our client websites run patched PHP versions.

That’s the approach we try to take in general. We choose vendors that act early, and then we check the result ourselves. If you’re an EVERNET website client, we’ve already verified the fix on your site, so your website needs no action from you. Questions about your site, or about other systems that might run PHP? We’re glad to talk them through.

If your website is hosted elsewhere

If someone else manages your site or server, these are good questions to ask them this week:

  1. Which PHP version is the site running right now?
  2. Have you updated it to 8.5.12, 8.4.27, 8.3.36 or 8.2.35, or to a vendor package that includes both fixes?
  3. Did you restart the PHP workers after the update so the fix is actually live?
  4. Are any of our sites, including old landing pages or staging copies, on PHP 8.1 or older?
  5. Has anyone checked logs and files for signs of compromise? A patch closes the door, but it doesn’t remove anyone who already got in.

On a WordPress site, you can find the PHP version under Tools, then Site Health, then Info, then Server.

PHP also turns up outside websites, bundled in vendor appliances, admin panels and other software. CISA and the NCSC both recommend an inventory that looks past the website. If keeping track of updates like this is a struggle, our piece on staying up to date with patch management is a good place to start, and a cybersecurity risk assessment can show where else you might be exposed.

Want a second set of eyes?

If you aren’t sure where your website stands, we’re happy to look at it with you. Schedule a call with EVERNET and we’ll walk through it together.