Security

Your WordPress site is only as safe as the PHP under it

Last checked: November 25, 2026. Fixed in PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35 (security releases issued in late October 2026). Tracked as CVE-2026-109618 and CVE-2026-109619. PHP published further security releases on November 19, 2026 (8.5.13, 8.4.28, 8.3.37 and 8.2.36), so those are the versions to be on today.

When we talk about keeping WordPress safe, we usually mean WordPress, its plugins and its theme. But all of that runs on PHP, the programming language your web server uses to build every page. If PHP has a flaw, it doesn’t matter how current your plugins are. This post explains the latest one in plain English.

What happened

In October, the PHP project released security updates for two serious flaws, nicknamed “PHP2Shell” in the press. The public record describes the first as a memory-handling problem that can arise when PHP runs out of memory while handling a request, and says it can allow remote code execution without logging in. In plain English: a stranger on the internet may be able to make your server run their code. The second is a related problem with leftover internal request state, with the same potential impact.

On October 26, 2026, the US Cybersecurity and Infrastructure Security Agency (CISA) added both flaws to its Known Exploited Vulnerabilities catalog, which is reserved for problems with evidence of real-world attacks. The PHP project’s own scoring rates the first one 9.2 out of 10 (critical) under the CVSS 4.0 system.

We’re keeping the technical detail light on purpose. What matters for you is who is affected and what to do.

What it means for you

PHP is under every WordPress site. CISA’s alert says the flaws affect PHP installations serving web requests, whichever way the server is set up. It singles out Apache with mod_php as the highest-risk setup, because an attack can land before any of your site’s code runs. That means you can’t protect yourself with a better WordPress plugin or a stronger password.

The fix is on the server side. The fixed releases are PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35. If you’re on an older branch such as 8.1 or 8.0, no fix was published for you. CISA’s advice for unsupported versions is to take those systems offline until they’re updated, which for a business site realistically means moving to a supported PHP version promptly.

It’s usually your host’s job, but not always. On shared hosting, the host typically runs the server software and often selects the PHP version for each site. On a VPS or a server someone built for you, it’s whoever manages that server. And on many hosts, the PHP version is a setting per site, which means one site on your account can be updated while another sits on an old version. The answer depends on your setup, so ask.

If you’re wondering why hosting arrangements matter this much, we covered the trade-offs in why cheap hosting is expensive. For the WordPress side of the same news cycle, see our post on the WordPress core update flaw.

What to check today

1. Find your PHP version. In WordPress, go to Tools, then Site Health, then the Info tab, and open “Server”. It lists your PHP version. Many hosting control panels also show it under a heading like “PHP version” or “Select PHP version”.

2. Compare it to the fixed versions. The first fixes were 8.5.12, 8.4.27, 8.3.36 and 8.2.35. PHP then published more security fixes on November 19, so today you want 8.5.13, 8.4.28, 8.3.37 or 8.2.36 (or newer) in your branch. A version like 8.3.12 is in the 8.3 branch, but older than the fix.

3. Know the difference between the branch and the patch. “PHP 8.3” is a branch. “8.3.36” is the patch release within it. Many hosts show only the branch, so the control panel alone may not tell you whether the latest fix is applied. Ask the host directly: “Have you applied the October and November 2026 PHP security releases?”

4. Check which branch you’re on and how long it lasts. According to php.net’s supported versions page, PHP 8.2 gets security fixes only until December 31, 2026. If you’re on 8.2, plan a move to 8.3 or newer soon. 8.3 is supported until the end of 2027, 8.4 until the end of 2028 and 8.5 until the end of 2029.

5. Ask your host in writing. A short email works: which PHP version is my site running, and is it patched against CVE-2026-109618 and CVE-2026-109619? A good host answers in one message.

6. If you’re upgrading the PHP branch, test first. Moving from an old branch to a new one can break old themes and plugins. Take a backup, try it on a staging copy if you have one, and check your forms and checkout afterwards.

7. Look at the other sites on the account. Old microsites and forgotten test sites are often the ones still on ancient PHP.

What a breach would cost your business

A flaw below the WordPress layer is the kind that can hand over a whole server, not one page. For a small business, the costs tend to arrive in this order.

Lost leads and sales. If Google or browsers flag your site as dangerous, visitors see a warning instead of your homepage. Enquiries and orders stop until the site is clean and the warning is lifted. The real cost of downtime shows how quickly this adds up.

Search rankings. Spam pages or hidden redirects injected into a compromised site can push your real pages down, and recovery can take weeks even after everything is clean.

Clean-up and staff time. When the weakness is in the server rather than in one plugin, a clean-up has to check everything on that server, including other sites sharing the account. See what a hacked website really costs for what that tends to involve.

Customer information. Quote forms, bookings, orders and webmail can all hold personal information. In Canada, organizations covered by PIPEDA must report breaches that pose a “real risk of significant harm” to the Privacy Commissioner and to the people affected, and must keep a record of every breach of security safeguards for two years (Office of the Privacy Commissioner of Canada guidance). Knowingly failing to meet those duties is an offence, with fines of up to $10,000 on summary conviction or up to $100,000 on indictment (PIPEDA, section 28, Justice Laws website, checked November 25, 2026). Our privacy law guide has the plain-English version.

Hosting, payments and insurance. A host may suspend an account that’s sending spam or attacking others. Payment processors and insurers may ask how the site was kept up to date.

Reputation. If your domain sends phishing emails, your customers will notice before you do.

A made-up example. A small accounting practice runs a WordPress site on cheap shared hosting. The owner keeps everything updated and believes the site is safe. But the PHP version is set by the host and has been quietly left on an older branch for years. When the October flaws go public, nobody checks. Weeks later, clients start receiving odd emails that appear to come from the firm’s domain, and the practice spends tax season on clean-up, client calls and working out what was exposed. A single email to the host asking about the PHP version would have caught it.

When to call us

Handle it yourself if your host is responsive and your site is simple. Get help if:

  • You can’t find your PHP version, or your host can’t tell you whether it’s patched.
  • You’re on PHP 8.1 or older, or on 8.2 with security support ending December 31.
  • You’re planning a PHP upgrade and your site uses older themes or custom code.
  • You run an online store, booking system or members area where a failed upgrade would cost real money.
  • You’ve noticed spam emails, odd redirects, unknown admin users or other signs your site was hacked.

If you think a compromise has already happened, don’t start deleting files. Change passwords, tell your host and contact us. Our WordPress security and hack repair service finds how an attacker got in, cleans the site properly and closes the gap. If you’d rather know your exposure before anything goes wrong, our security audit reviews your versions, plugins, users, backups and hosting in plain English.

The takeaway

Your WordPress site is only as safe as the PHP under it. Two critical PHP flaws are listed as exploited, and the fixes are in 8.5.12, 8.4.27, 8.3.36 and 8.2.35. Find your PHP version this week, ask your host whether the patch is applied, and plan a move off any branch that’s old or about to lose support.

Not sure what version you’re on? Ask us to check it.

Sources: CISA alert “Critical vulnerabilities in PHP require immediate patching” (October 21, 2026, updated October 26) and Known Exploited Vulnerabilities catalog, NVD records for CVE-2026-109618 and CVE-2026-109619, php.net supported versions. This post will be updated if the story changes.

Need a hand with your WordPress site?

Urgent requests answered within 1 business hour.

Get in touch