Half of All WordPress Sites Will Miss PHP Security Patches in 5 Weeks

WordPressPHPSecurityEcosystem

Sources:Adam Greenough analysis + WordPress.org data + web research

At midnight on December 31, 2026, security support for PHP 8.2 expires. Adam Greenough’s statistics, published November 28, allow a projection: if nobody upgrades, 53.2% of WordPress sites will be running on a language version that no longer receives vulnerability fixes as of January 1 — while today’s measured figure is 31.1%. The real bottleneck sits at the plugin and theme layer, not with site owners’ willingness to upgrade.

After January 1, 53% of Sites Get No PHP Security Patches

On December 31, 2026, security support for PHP 8.2 ends. Adam Greenough’s analysis, published November 28, projects that if sites don’t upgrade, 53.2% of WordPress sites will be running a version the PHP project no longer patches by January 1, 2027. WordPress is the most widely deployed website platform in the world — blogs, corporate sites, e-commerce stores. For half of these sites, the language on the server will stop receiving official patches. Even if a site owner keeps WordPress core and every plugin fully up to date, once the underlying PHP version slips out of its support window, new vulnerabilities can only be survived on the goodwill of others.

Today’s numbers aren’t comfortable either: 31.1% of sites already run versions the PHP project has dropped. The most striking entry in the distribution is PHP 7.4 — end-of-life on November 28, 2022, yet still at 13.9% today, in third place, ahead of PHP 8.4, which shipped two years ago (11.3%). A version that should have retired three years ago is carrying a bigger share of sites than its successor. This inversion — a retired release more popular than an actively supported one — is rare in mature software ecosystems, and the migration friction is structural.

Two boundaries need stating up front: the data covers self-hosted sites that check in with WordPress.org for updates, counted by site rather than traffic; and “53%” only holds once 8.2 actually expires. At the roughly 2.4 percentage points of decline observed since November, January’s real number will be closer to 50%. Historically, shortly after PHP 7.4’s retirement, nearly nine in ten sites ran unsupported PHP — today’s 31% is the lowest reading of any snapshot since 2015, but the calendar will push it back up. From an engineering perspective, what these numbers actually mean is this: the version distribution improves far more slowly than PHP’s official deprecation pace, and the gap between the two curves widens every year rather than closing.

WordPress PHP EOL analysis cover

Cover: Greenough’s analysis draws the problem as the elephant in the server room that nobody looks at. Source: Adam Greenough

Plugins Stand in the Way of Upgrades

Why don’t site owners upgrade? Blaming inertia is easy; the data doesn’t support it. Of the 1,000 plugins with the highest active installs in the WordPress.org directory, 429 pin their minimum requirement at PHP 7.4, 198 require “before 7.0”, 160 require somewhere between 7.0 and 7.3, 155 don’t declare a minimum at all, and only 6 require PHP 8.3. The plugin ecosystem, as a whole, still lives a decade in the past. In other words, even a site owner willing to jump the server straight to the latest PHP will, going through their installed plugin list, most likely find one that declares incompatibility — upgrade the plugins first, but the plugins demand newer PHP: chicken and egg, stuck on the same loop.

WordPress’s mechanics add another lock: the system typically won’t update a plugin to a branch that requires a higher PHP version than the current site runs. So sites on old PHP don’t even receive plugin security fixes — the plugin author ships the patch, and WordPress intercepts it on the owner’s behalf. The owner doesn’t upgrade, so the plugin stays on the old version; the plugin stays on the old version, so upgrading PHP pays off less. The two decisions lock each other in. The design’s intent was to prevent an update from taking a site down on the spot — but in the security-patch scenario, its cost is making “stay put” the default security policy, and the most dangerous lesson in security policy is standing still.

WordPress itself shares the blame: it has raised its minimum PHP version five times since 2011, and all five times the new minimum was already end-of-life. As late as 2019, WordPress still listed PHP 5.2 as the minimum — a version the PHP project had stopped patching more than eight years earlier. The platform’s tolerance on minimum versions became, in effect, a license for the whole ecosystem to procrastinate. The engineering judgment: the platform’s declared minimum becomes the ecosystem’s de facto development baseline — wherever the baseline is pinned, that’s how far the plugins’ compatibility matrix stretches. Every version of tolerance adds one more version of testing burden to the entire ecosystem.

Two Critical Vulnerabilities in October Expose Where Patches Actually Come From

On October 21, 2026, PHP patched two critical vulnerabilities (collectively PHP2Shell) that let attackers execute their own code on a server without logging in. Details leaked a day before the announcement, attackers moved early, and governments, schools, and hospitals in several European countries temporarily took sites offline as a precaution. Wordfence blocked over 74,000 attempts with no confirmed compromises; on October 26, CISA added the two vulnerabilities to its Known Exploited Vulnerabilities catalog. Five days from leak to listing. Unauthenticated remote code execution sits at the very top of the severity scale, and the early-exploitation window caused by the leak turned “you have five days to prepare” into “you’re being attacked now.”

Official fixes only covered PHP 8.2 through 8.5. Older versions survived via four channels: Ubuntu shipped fixes for versions back to 2014; Red Hat and Rocky Linux patched 7.4 same day or next; cPanel and Plesk shipped fixes for 7.4 and up; and CloudLinux patched all 16 versions its customers actually use (5.2 through 8.5) by that evening. CloudLinux’s reasoning is blunt: hundreds of sites on a shared server each pin the PHP version they were built against, and forcing uniformity would break some of them. In practice, the PHP patch supply chain consists of four parallel pipelines: the upstream project, distributions, control panel vendors, and commercial extended support.

On November 19, PHP shipped another batch of security fixes — seven rated critical — and this round again covered only 8.2 through 8.5, without so much as source patches for older versions. CloudLinux, Red Hat, and Ondřej Surý’s repositories were still patching their own old versions, but hosts not using any of them may have literally nobody patching these vulnerabilities. Whether a patch arrives depends on which channel the host chose — not something the site owner controls. The engineering judgment is clear: under PHP’s “upstream steps aside, downstream picks up the slack” maintenance model, asking what version a server runs isn’t enough to assess whether it’s safe — you must ask which pipeline maintains it. The two answers frequently disagree.

Independent verification of WordPress PHP version distribution

Cover: WhatTechPost’s independent check of the same WordPress.org data matches Greenough’s per-version shares. Source: WhatTechPost / frank chu

Hosts Can Keep Old PHP Alive; Plugins Won’t Wait

Each of the four lifelines has an expiration date. Linux distributions only help if the host uses the system’s bundled PHP — many shared hosts compile their own builds to serve multiple versions side by side; patching 7.4 on Ubuntu 20.04 requires paid Ubuntu Pro; CloudLinux’s TuxCare sells annual extended-support licenses for PHP 5.2 through 8.5 — PHP2Shell was patched same-day, but the moment the license lapses, so do the patches. WP Engine announced in 2022 that it would support PHP 7.4 “through 2024,” still ships 7.4 today and patched it against PHP2Shell, yet offers no statement of how long that will continue. What the four channels share: they are business decisions, not security commitments, and can be withdrawn at any time for cost or product reasons.

Here’s a fact invisible to site owners: such patches usually keep the original version number. A patched PHP 7.4 and an unpatched one look identical from inside WordPress. Whether anyone is actually fixing vulnerabilities for a given site is something only the host can say. The version number on the surface does not equal security posture. This breaks one of operations’ most basic assumptions — that the version number is observable information you can use to judge system state. Once extended-support patches blur the version number, any automated audit based on version numbers returns wrong conclusions.

The plugins aren’t waiting around. WooCommerce 11.6, due February 2027, requires PHP 8.1; Contact Form 7’s version 6.2 jumped straight from PHP 7.4 to 8.3 in October. Every time a top plugin raises its floor, a cohort of sites pinned to old PHP drops out of the update channel. Hosts can keep patching the language on the server, but they can’t keep the plugins updating — the ecosystem’s ceiling is written in the plugins’ minimum-version declarations, not on the server. The engineering judgment: the time gap between plugin floors rising and hosts extending support is the real window of exposure; the patches cover the language, but the fix channel for the plugins’ own vulnerabilities is being unilaterally closed by those rising floors.

Only the Calendar Can Force Anyone to Act

Step back and look at the structure: hosts are willing to keep patching old PHP because paying customers need the server to run; plugin authors raise minimum versions because they want to shed the oldest tier of their testing matrix; WordPress won’t install plugin updates a site can’t run, because installing them means breaking the site on the spot. Each layer’s decision is reasonable in isolation; taken together, they push the upgrade cost onto the party with the least bargaining power — site owners — who can’t even find out whether they’re covered by a patch at all. This is a textbook case of local rationality producing global imbalance: nobody is doing anything wrong, and nobody has an incentive to pay the migration cost first.

The PHP project’s wording has turned blunt since: after the support window closes, users “may be exposed to unpatched security vulnerabilities.” Each version gets roughly two years of bug fixes plus two years of security fixes, then it stops — it’s on the schedule, and there’s nothing to negotiate. The November 19 round, which withheld source patches for older versions, can be read as the PHP project tightening its stance. When upstream starts rationing even the raw material downstream needs to patch on its own, it hands the question “can old versions still run safely?” over to downstream business models.

The only force that can break the deadlock is a date. Once 8.2 expires, 53% will approach the real water level of half the ecosystem, host lifeline businesses and plugin floor raises will both accelerate, and site owners get backed into the corner where a decision is unavoidable. The PHP security posture of half the internet gets settled, in the end, by January 1. The engineering judgment: calendar-driven deprecation is blunt, but it’s the only predictable, verifiable external pressure in a multi-party stalemate like this — it doesn’t make anyone’s technical decisions for them; it simply lets the cost of procrastination come due at a definite point in time.

References:

  • Adam Greenough’s analysis of WordPress PHP support status
  • WordPress.org PHP version statistics
  • php.net supported versions table
  • PHP2Shell security advisory
  • Wordfence blocking statistics