Is your website affected by the October PHP flaws?
What happened, which websites it touches, how to check yours in ten minutes, and what to do about it. By Tim at EdgerTech.

If your website runs on WordPress, or anything else built with PHP, it was affected until PHP on your server was updated. Many hosts updated quickly, so you may already be protected. But updating WordPress or its plugins does not fix this; only an update to PHP itself does. It takes about ten minutes to check, and that is worth doing this week.
What happened, in plain English
PHP is the programming language that powers a large share of the web, including every WordPress site. It runs on the web server, behind the scenes, building each page as visitors ask for it.
On 21 October 2026, the PHP project released urgent updates fixing two critical flaws, known as CVE-2026-109618 and CVE-2026-109619 and nicknamed "PHP2Shell". In PHP's own words, they "can allow unauthenticated remote code execution". Put simply, an attacker could send a specially crafted request to a website and run their own code on the server, without logging in.
Details leaked a day before the fixes were published, and security firms including Cloudflare reported attempts to exploit the flaws before the fixes were even out. PHP's advice was unusually blunt: "There are no complete mitigations, updating is the only safe choice."
The fixed versions are PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35.
Which websites are affected
The flaws are in PHP itself, not in any one website or plugin. That matters, because it decides who has to act.
- WordPress, and other PHP sites. WordPress, Joomla, Drupal, Magento and many booking and shop systems run on PHP. If the PHP on their server was not updated, they were exposed, however up to date the site itself was.
- Wix, Squarespace and similar platforms. You do not run a server on these, the platform does. Keeping the servers patched is their job, not yours, and there is nothing for you to update.
- Sites on shared hosting. On most shared hosting, the hosting company installs and updates PHP for every customer. Many hosts published notices when they patched. If you cannot find one from yours, ask them.
- Sites you or a developer manage on your own server. Nobody else will update PHP for you. Check this one first.
A static website, built as finished pages in advance, has no PHP running on its server, so this kind of flaw has nothing to attack. EdgerTech's own site is built that way. That does not make any site immune to everything: anything with logins, payments or a database still needs regular updates.
How to check yours in ten minutes
- Find out what your site is built on. If you are not sure, ask whoever built it, or look at your hosting account. If it is Wix or Squarespace, you can stop here.
- Find your PHP version. In WordPress, go to Tools, then Site Health, then the Info tab, and open Server. Your hosting control panel usually shows it too.
- Compare it. You want PHP 8.5.12, 8.4.27, 8.3.36 or 8.2.35, or a later version in the same series.
- If the number looks older, ask your host. Some hosts and Linux providers apply the fix to their own copy of PHP without changing the version number. A one-line email asking "Have you applied the October PHP security fixes to my site?" settles it.
- If you are on PHP 8.1 or older, treat it as urgent. Those versions no longer get regular updates from PHP.

Your options
Most sites need the smallest of these, not the biggest.
- Get PHP patched. Usually a request to your host, or a setting in your hosting control panel. This is the fix for the flaws themselves.
- Update WordPress, your theme and your plugins. It does not fix this problem, but out-of-date plugins are a far more common way in for attackers, so do it while you are there.
- Plan ahead for PHP 8.2. PHP 8.2 stops receiving security fixes on 31 December 2026. If your site runs on 8.2, ask your host about moving to 8.3 or newer, and test the site afterwards, because some older plugins break.
- Move to better hosting if your host was slow to patch or never told you anything.
- Rebuild, but only if the site is already due a rethink: old, slow, unmaintained, or built on plugins nobody updates. A simple brochure site rarely needs a database or a login at all, and can be rebuilt as a static site. That is a decision for the right reasons, not a reaction to one security scare.
Whatever your site is built on, someone needs to own the updates. For websites and systems I build, that is what Website Care and Software Care are for: hosting, security updates and backups, looked after every month, so news like this is my job to deal with rather than yours.
Not sure where your site stands?
On a free 30-minute call we can look at what your website runs on, whether it needs anything doing, and what would keep it looked after. No obligation, and if nothing needs doing, I will say so.
Book a free 30-minute callSources
- PHP: PHP 8.4.27 released (21 October 2026; same wording for 8.5.12, 8.3.36 and 8.2.35)
- Help Net Security: PHP2Shell, critical PHP vulnerabilities patched (21 October 2026)
- The Hacker News: PHP issues emergency patches for two critical PHP2Shell flaws (21 October 2026)
- Search Engine Journal: Critical PHP core flaws affect websites, including WordPress (updated 24 October 2026)
- Patchstack: PHP vulnerable to critical RCE (October 2026)
- HeroDevs: PHP end-of-life dates (PHP 8.2 security support ends 31 December 2026)
Checked on 8 November 2026. This is general guidance, not a security audit of your site.