Playground Sign in Start free

WordPress PHP version check: 34.5% of sites run PHP 8.1 or older, which gets no official PHP2Shell fix

The PHP project fixed the critical PHP2Shell flaws on October 21 for PHP 8.2 to 8.5 only. This is how many WordPress sites that leaves on branches the project no longer patches.

On October 21, 2026, the PHP project shipped 8.5.12, 8.4.27, 8.3.36 and 8.2.35 to close PHP2Shell, two critical flaws rated 9.2 on the CVSS v4.0 scale that let a single unauthenticated web request run code on the server. The fixes cover PHP 8.2 through 8.5 only, leaving 34.51% of WordPress sites, those running PHP 8.1 or older, with no official PHP2Shell fix from the PHP project. That group includes 16.24% of WordPress sites still on PHP 7.4, whose php end of life came on November 28, 2022. The wordpress php version statistics show how large the unpatched tail is: only 13.96% of WordPress sites run PHP 8.4 or 8.5, the two branches in active support.

Sources: PHP security advisory: critical remote code execution vulnerabilities (php.net), ; CISA alert: Critical Vulnerabilities in PHP Require Immediate Patching, ; Help Net Security: PHP2Shell, critical PHP vulnerabilities patched,

Updated

WordPress sites by PHP version, October 22, 202634.5 in 100 run PHP 8.1 or older, which got no official PHP2Shell fix
WordPress PHP version share and the PHP2Shell fix, October 2026Waffle chart of WordPress PHP version shares on October 22, 2026, 100 squares: 34.5 run PHP 8.1 or older with no official PHP2Shell fix, 65.5 run PHP 8.2 to 8.5, which were fixed.1 square = 1% of the total (99.97 percent of WordPress sites)PHP 7.4, no official fix: 16.24 (16.2% of the total, 16 of 100 squares)PHP 8.1, no official fix: 10.68 (10.7% of the total, 11 of 100 squares)PHP 8.0 and 7.0 to 7.3, no official fix: 7.59 (7.6% of the total, 8 of 100 squares)PHP 8.2, fixed in 8.2.35: 24.23 (24.2% of the total, 24 of 100 squares)PHP 8.3, fixed in 8.3.36: 27.27 (27.3% of the total, 27 of 100 squares)PHP 8.4 and 8.5, fixed: 13.96 (14.0% of the total, 14 of 100 squares)16.2%16.24PHP 7.4, no official fixAbout 1 in 6 sites, on a branch whose support ended inNovember 2022.10.7%10.68PHP 8.1, no official fix7.6%7.59PHP 8.0 and 7.0 to 7.3, no official fix24.2%24.23PHP 8.2, fixed in 8.2.35Fixed now, but security support for 8.2 ends on December31, 2026.27.3%27.27PHP 8.3, fixed in 8.3.3614%13.96PHP 8.4 and 8.5, fixed
WordPress PHP version share and the PHP2Shell fix, October 2026Waffle chart of WordPress PHP version shares on October 22, 2026, 100 squares: 34.5 run PHP 8.1 or older with no official PHP2Shell fix, 65.5 run PHP 8.2 to 8.5, which were fixed.1 square = 1% of the total (99.97 percent of WordPress sites)PHP 7.4, no official fix: 16.24 (16.2% of the total, 16 of 100 squares)PHP 8.1, no official fix: 10.68 (10.7% of the total, 11 of 100 squares)PHP 8.0 and 7.0 to 7.3, no official fix: 7.59 (7.6% of the total, 8 of 100 squares)PHP 8.2, fixed in 8.2.35: 24.23 (24.2% of the total, 24 of 100 squares)PHP 8.3, fixed in 8.3.36: 27.27 (27.3% of the total, 27 of 100 squares)PHP 8.4 and 8.5, fixed: 13.96 (14.0% of the total, 14 of 100 squares)16.2%16.24PHP 7.4, no official fixAbout 1 in 6 sites, on abranch whose supportended in November 2022.10.7%10.68PHP 8.1, no official fix7.6%7.59PHP 8.0 and 7.0 to 7.3,no official fix24.2%24.23PHP 8.2, fixed in 8.2.35Fixed now, but securitysupport for 8.2 ends onDecember 31, 2026.27.3%27.27PHP 8.3, fixed in 8.3.3614%13.96PHP 8.4 and 8.5, fixed

Chart by Ujeebu, licensed CC BY 4.0: free to reuse with the credit Source: Ujeebu, "WordPress PHP version share and the PHP2Shell fix, October 2026", https://ujeebu.com/data/wordpress-php-version-php2shell-fix (CC BY 4.0). How to reuse

Key numbers

  • 34.51% of WordPress sites run PHP 8.1 or older and got no official PHP2Shell fix on October 21; PHP 8.1 end of life was December 31, 2025.
  • PHP 7.4 end of life came on November 28, 2022, yet the branch still runs on 16.24% of WordPress sites, about 1 in 6.
  • PHP 8.3 is the most common branch at 27.27% of sites, but the next one, PHP 8.2 at 24.23%, loses security support on December 31, 2026.
  • Only 13.96% of WordPress sites run PHP 8.4 or 8.5, against 55.84% of Composer installs in September 2026.

Composer installs on Packagist have moved much faster, with only 10.05% on those older branches in September 2026, against 34.51% of WordPress sites. That gap suggests the slow tail sits with hosting setups many WordPress owners do not choose or control themselves.

Is PHP still relevant in 2026?

PHP remains one of the most widely used server-side languages on the web, powering content management systems, shared hosting platforms, control panels and many applications that do not advertise their use of it. Armis notes that PHP powers WordPress, Drupal, Joomla and Magento, and that because PHP2Shell sits in PHP's core rather than in any single application, the number of places an organisation needs to check for vulnerable PHP is large.5

Censys, the cybersecurity search engine, found over 59 million WordPress sites visible on the internet, deployed across 1 million unique IP addresses, and noted that this content management system powers approximately 40% of the web.2 Security company Mallory counted about 884,000 internet-facing hosts whose HTTP banner reported a PHP version of 8.1 or older to the Shodan search engine on October 20, 59% of the roughly 1.5 million hosts that reported any version.4 Those numbers confirm that PHP's reach in 2026 is vast, and that its security posture directly affects a large share of the public internet.

Why are so many WordPress sites stuck on old PHP versions?

Compatibility with older plugins is the most commonly cited reason WordPress sites stay on outdated PHP. One WordPress admin described the problem plainly: "Whenever I bump PHP to the latest version, something on my site breaks, usually some dusty old plugin."2 Censys found that admins are more likely to be running up-to-date WordPress versions alongside end-of-life PHP, suggesting the PHP upgrade is the harder step.2

Censys points to a structural problem: "CMSes are not being designed with older backend frameworks in mind. Rather, they work under the assumption that users have the ability to maintain the latest versions of underlying backend software with no blockers or inhibitions."2 PHP itself compounds this by assuming users are upgrading from only one patch below, making jumps from very old versions difficult.2 The result, Censys warns, is that "updates can cause sites to become dysfunctional, resulting in users delaying updates."2 For many WordPress owners, the PHP version is set by their host, not by them, which adds another layer of friction.

Who is most at risk from unpatched PHP2Shell vulnerabilities?

Sites running Apache with mod_php face the greatest immediate danger. PHP's own advisory singles out mod_php as the highest risk, with a demonstrated exploit in which a single unauthenticated request triggers the attack before any application code runs.3 Every PHP installation serving web requests is affected, including PHP-FPM, php-cgi, FrankenPHP and LiteSpeed, but the mod_php path requires no action from the application at all.1

Beyond code execution, researchers demonstrated unauthenticated reading of live PHP worker memory against applications they did not control, exposing passwords, authentication tokens, API keys and certificates belonging to other requests.3 Sites on PHP 8.1 or older are in a worse position because they receive no official fix from the PHP project. Computer forensics expert Hal Pomeranz described the likely outcome: "So many embedded installations out there that will never be patched. Too many forgotten, unmaintained apps. There will be a long tail for this one."1 The php 8.1 end of life date was December 31, 2025, and the php 7.4 end of life date was November 28, 2022, meaning those branches have been outside regular support for months or years.

How long will PHP 8.2 be supported?

PHP 8.2 reaches end of life on December 31, 2026, after which it will receive no further security fixes from the PHP project.3 It currently runs on 24.23% of WordPress sites, making it the second most common branch after PHP 8.3 at 27.27%.

The table in The Hacker News confirms the support timeline: PHP 8.2 and 8.3 are currently in security-fixes-only mode, while PHP 8.4 and 8.5 remain in active support until December 31, 2026 and December 31, 2027 respectively.3

What do security experts say about sites that cannot be patched quickly?

Security experts are consistent that configuration changes and firewall rules are not a substitute for patching. PHP core developer Gina Peter Banyard was direct before the release: "The only thing I can say is that the only mitigation is patching/upgrading PHP. I sadly know too much."3 The Hacker News confirmed that the session.upload_progress workaround circulated before the patch "was never a complete fix" and does nothing for CVE-2026-109618.3

For sites that cannot be patched immediately, the UK's National Cyber Security Centre is urging organisations to consider taking offline any system that cannot be fixed right away.1 CISA advised organisations still on PHP 8.1 or earlier to take those systems offline until they are patched or updated. Armis recommends isolating or disabling externally accessible PHP services that cannot be updated, and capturing volatile evidence before restarting workers, because restarting wipes the in-memory state that CVE-2026-109619 abuses.5 Cloudflare CTO Dane Knecht described the firewall rules his company deployed as a stopgap and urged administrators to patch, noting: "We are seeing early attacks emerging and are updating mitigations as new vectors show up."3

Sources

  1. Help Net Security, PHP2Shell: Critical PHP vulnerabilities patched, update now!,
  2. cybernews.com, Most WordPress sites are outdated, and hackers are noticing
  3. The Hacker News, PHP Issues Emergency Patches for Two Critical PHP2Shell RCE Flaws as Exploit Attempts Emerge,
  4. The Hacker News, PHP2Shell: Two Unpatched Critical PHP RCE Flaws (CVSS 9.2) Trigger Emergency Security Alert,
  5. Armis, The Cyber Exposure Management & Security Company, PHP2Shell: How to Find, Prioritize, and Patch Affected Systems,

The data

Share of WordPress sites (WordPress.org, October 22, 2026) and of Composer installs (Packagist, monthly) by PHP version, with the PHP2Shell fix status and the end of security support from php.net.
PHP version WordPress sites, % Composer installs, Sep 2026, % Composer installs, Sep 2024, % PHP security support until
PHP 7.4, no official fix 16.24 3.79 8.87 2022-11-28
PHP 8.1, no official fix 10.68 4.03 23.09 2025-12-31
PHP 8.0 and 7.0 to 7.3, no official fix 7.59 2.23 9.61 2019-01-10 to 2023-11-26
PHP 8.2, fixed in 8.2.35 24.23 11.07 31.48 2026-12-31
PHP 8.3, fixed in 8.3.36 27.27 23.05 26.81 2027-12-31
PHP 8.4 and 8.5, fixed 13.96 55.84 0.15 2028-12-31 to 2029-12-31

Download the free sample CSV (CC BY 4.0) Full CSV, 6 rows

We make every effort to find high-quality data sources, but this data was extracted from the open web and we cannot guarantee its accuracy, completeness or reliability. Use it at your own risk.

Embed and cite

Free to reuse under CC BY 4.0 with a link back to this page.

Embed this chart

<iframe src="https://ujeebu.com/data/wordpress-php-version-php2shell-fix/embed" width="100%" height="601" style="border:0" loading="lazy" title="WordPress PHP version share and the PHP2Shell fix, October 2026"></iframe>
<p style="font-size:12px">Chart: <a href="https://ujeebu.com/data/wordpress-php-version-php2shell-fix?utm_source=embed&amp;utm_medium=referral&amp;utm_campaign=data-wordpress-php-version-php2shell-fix">"WordPress PHP version share and the PHP2Shell fix, October 2026"</a> (CC BY 4.0). Powered by <a href="https://ujeebu.com/?utm_source=embed&amp;utm_medium=referral&amp;utm_campaign=data-wordpress-php-version-php2shell-fix&amp;utm_content=powered-by">Ujeebu</a></p>

Cite this

Ujeebu, "WordPress PHP version share and the PHP2Shell fix, October 2026", https://ujeebu.com/data/wordpress-php-version-php2shell-fix, updated Oct 22, 2026. CC BY 4.0.

PNG for LinkedIn (1080x1350) PNG for link previews (1200x630)

Share: LinkedIn X

How we got this data

We collected this data with the Ujeebu web scraping API, which fetches and renders public pages and returns the fields we need as structured data. The same API is available to you for your own collections.

Try it in the playground Free account, 5,000 credits, no card.

Methodology and known limits

We loaded the public WordPress.org stats page (wordpress.org/about/stats) once on October 22, 2026 at 08:16 UTC through the Ujeebu Scrape API with JavaScript on, and read the PHP version shares the page displays after its charts render: 12 versions, two decimals, summing to 99.99%. These are WordPress sites that check in with WordPress.org for updates. We grouped them by the PHP2Shell fix status in the php.net security advisory of October 21, 2026: PHP 8.2 to 8.5 received fixed releases; PHP 8.1 and older did not. From the Packagist PHP version statistics we took the monthly Composer install counts by PHP version (64 complete months, June 2021 to September 2026) and computed each group's share of installs in September 2024 and September 2026; that group also counts PHP 5.3 to 5.6 installs. Security support dates come from php.net's supported versions and PHP end of life tables.

Known limits

  • WordPress.org counts only sites that check in for updates, and its page may fold very old versions into other buckets; it is not a census of every WordPress site.
  • No official fix is not the same as unpatched: some Linux distributions and LTS vendors ship backported fixes for PHP 8.1 and older, and the PHP security team published minimal source backports for 7.4, 8.0 and 8.1. A site's PHP branch does not show whether its host applied them.
  • PHP 8.6, a branch not yet released, showed 0.02% of WordPress sites; it is left out of the grid (1 of 12 versions dropped), so the grid shows 99.97% of the page's total.
  • Packagist installs count Composer runs, mostly from developers and build servers, not live websites; they show how fast the PHP world moves, not what production servers run.
  • The share of sites still on 8.2 to 8.5 point releases older than the fixed ones cannot be seen in this data: both sources count branches, not patch levels.

We reviewed the sources' terms and robots.txt on Oct 22, 2026 before collecting. Per those terms, this page publishes aggregates only. Spotted an error? Tell us.

Disclaimer: We make every effort to find high-quality data sources, but this data was extracted from the open web and we cannot guarantee its accuracy, completeness or reliability. Use it at your own risk.

Collect data like this

Built with the API you can use too

Our charts are collected with the same Ujeebu APIs our customers use: pages, articles and Google results as JSON. 5,000 free credits for 7 days, no card.

Is your brand in AI answers? Check it free.