This cuts both ways, and the second direction is the one that catches people out. If you are on an older branch and your distribution does not back-port — or the backport sits behind a paid support tier — you are genuinely unpatched. Ubuntu’s fixes for PHP 7.4 on 20.04 and PHP 7.2 on 18.04 both require an Ubuntu Pro subscription. Plenty of budget shared hosts do not carry one.
WordPress.org publishes live PHP version statistics across all WordPress installs. Checked against them on the day of writing, the picture is uncomfortable.
PHP branches in use across WordPress
Source: WordPress.org PHP statistics, 22 October 2026
64%
FIX AVAILABLE
On PHP 8.2–8.5, where the upstream patch exists. Still has to be applied.
36%
NO UPSTREAM FIX
On PHP 8.1 or older. Depends entirely on a distribution or host backport.
60%
BY 1 JANUARY 2027
Share on an unsupported branch once PHP 8.2 reaches end of life on 31 December 2026.
Takeaway: PHP 7.4 alone still runs roughly 16% of WordPress sites, and PHP 8.1 another 10%. For those stores the question is not “have I updated” but “does anyone still ship me security fixes at all.”
The PHP 8.1 trap for WooCommerce stores
WooCommerce has been telling store owners for weeks to get to PHP 8.1, because version 11.6 will require it. We covered that timeline in WooCommerce is dropping PHP 7.4.
Read those two messages together and there is a trap sitting between them. WooCommerce 11.6’s PHP 8.1 floor is a compatibility requirement, not a security one. PHP 8.1 stopped receiving upstream security support before this release landed. If your upgrade plan is “get to 8.1 before January,” you will arrive on a branch that php.net no longer patches — and you will have spent the migration budget to get there.
WooCommerce’s own advisory recommends PHP 8.3 or newer, and that is the number to put in the plan. Moving from 7.4 to 8.3 is barely more work than moving from 7.4 to 8.1: the breaking changes that bite hardest are concentrated in the 7.x to 8.0 jump. Skipping 8.1 and 8.2 saves you from repeating the exercise within a year, since 8.2 goes end-of-life on 31 December 2026 regardless.
What to do, by hosting setup
| Your setup |
Who applies the fix |
Your job this week |
Automattic platforms WordPress.com, VIP, Pressable, WP Cloud |
Done — patched in coordination with the PHP security team |
Nothing for this flaw. Still plan your 8.3 move. |
| Managed WordPress host |
Them, usually within days |
Check the status page. If silent after 48 hours, open a ticket using the wording above. |
| cPanel / shared hosting |
Them, but you may be able to switch branch yourself |
Ask whether it is applied. If you are on 8.1 or below, use the PHP selector to move to 8.3 on staging first. |
| VPS or dedicated, self-managed |
You |
Update today via your package manager and restart workers. This is the highest-urgency group. |
If you genuinely cannot patch today
The advisories list interim measures, and they are worth applying — but be clear-eyed about what they buy you. The PHP security team states plainly that updating is the only complete mitigation, and that no generic configuration change closes the stale-state flaw.
Partial mitigations — reduce exposure, do not remove it
- Set
session.upload_progress.enabled=0 and restart all workers. This blocks the demonstrated session path, and is worth keeping off permanently if you do not use the feature.
- On PHP 8.5, set
fatal_error_backtraces=0 and restart workers.
- Keep
post_max_size conservative and limit upload counts and input nesting at the edge.
- Do not reach for
RLIMIT_AS or RLIMIT_DATA — the advisory warns these can trigger the vulnerable code path.
For an unpatched, self-managed server on an old branch, the UK National Cyber Security Centre’s guidance — quoted in WooCommerce’s own advisory — is to consider taking the system offline until it can be fully mitigated
.
A web application firewall helps at the margins, and several hosts deployed rules within hours. Treat it as a speed bump rather than a fix: WAF rules target known request shapes, and these flaws can be reached through ordinary-looking multipart requests. This is the same limitation we covered in why antivirus alone won’t protect your website.
Common mistakes
- Treating the version number as the answer. Covered above, and it is the single most common error this week.
- Patching without restarting workers. The old code stays resident in FPM and mod_php processes until they recycle.
- Assuming WordPress or WooCommerce will push a fix. They will not, and both have said so. This lives below the application layer.
- Jumping branches on production in peak season. A PHP major-branch move can break plugins. Patch within your current branch now; schedule the 8.3 migration deliberately, on staging, ideally after the holiday peak.
- Checking only your storefront. Staging sites, old subdomains and that forgotten landing page on the same server are all PHP installs on the same box.
Advanced notes
Two details matter if you run your own infrastructure. First, the stale-state flaw needs the producing and consuming requests to hit the same worker, so setting pm.max_requests=1 recycles workers aggressively and removes the reuse window — at a real throughput cost that you should not take on five weeks before Black Friday unless you have no alternative. Second, for mod_php specifically, directory-level .htaccess and php_value directives are applied before request startup, which is exactly what makes mod_php the confirmed-RCE case. If you are running mod_php on a store, this release is the argument for moving to FPM that you have been putting off.
What if you were already hit?
These flaws were disclosed on 21 October, so the exposure window for most stores is short. But unauthenticated RCE running as the web server account is about as serious as it gets, and the resulting compromise rarely announces itself — card skimmers injected at server level are designed to look normal. If anything feels off, work through the signs of a hacked WooCommerce store that owners miss before you assume you are fine, and review your broader posture against network security basics.
Frequently asked questions
Do I need to update WordPress or WooCommerce for this?
No. Both projects have confirmed no update is required or planned. The vulnerability is in PHP itself, below the application layer.
My host says they added WAF rules. Is that enough?
A useful stopgap, not a fix. Ask specifically whether the PHP packages have been updated and the workers restarted. A host that answers only “we have WAF rules in place” has not answered the question.
I’m on PHP 8.1 and my host says I’m patched. Can that be true?
Yes, and this is the most misunderstood part of the whole release. Distributions such as Ubuntu and Debian backport security fixes into older branches without changing the upstream version number. Ubuntu 22.04 shipped a fixed PHP 8.1 through standard updates. You should still plan a move to 8.3, because that safety net depends on your distribution’s support window rather than PHP’s.
Should I jump straight to PHP 8.5?
For most stores, 8.3 or 8.4 is the better target. WooCommerce recommends 8.3 or newer, and plugin ecosystem support for the newest branch always lags. PHP 8.5 is fine if your stack is modern and well tested.
Is PHP 8.2 a safe place to land?
It is patched today, but it reaches end of life on 31 December 2026. Landing there now means repeating this migration within roughly ten weeks.
How do I know the workers were actually restarted?
On a self-managed server, compare the PHP-FPM master process start time against when the package was installed. On managed hosting, ask the host to confirm the restart explicitly — a competent provider will answer directly.
Your next step
Do one thing today: open your host’s status page, and if there is no notice about the 21 October PHP release, send the ticket using the wording in step three. Everything else here — the 8.3 migration, the mod_php move, the staging test — can be scheduled. Confirming your server is patched cannot. With holiday shipping deadlines already published, every week from here carries more traffic and more card data than the last.