What has happened
On 21 October 2026 the PHP project released security updates fixing two critical vulnerabilities that can allow unauthenticated remote code execution. In everyday terms, an attacker could run their own commands on a web server running PHP without needing a username or password. The PHP project's advance notice classed both as critical, with a CVSS v4.0 severity score of 9.2, near the top of that scale.
The same day, the NCSC published an alert, Critical security issue affecting PHP, encouraging UK organisations to take immediate action. It says organisations using any version of PHP are affected and that all are highly encouraged to update to the latest fixed version. The alert was last updated on 23 October.
The two flaws are listed as CVE-2026-109618 and CVE-2026-109619. One involves the way PHP handles running out of memory part-way through a request. The other involves internal data from one request being left behind and reused by a later one. The PHP Foundation, which funds much of PHP's development, says both sit in parts of PHP that nearly every request touches, which is why they are so serious.
In short: if your website runs on PHP, including most WordPress sites, the server needs PHP 8.5.12, 8.4.27, 8.3.36 or 8.2.35 or later, or a patched package from your host. Updating WordPress and its plugins does not update PHP itself.
Is your website affected
The PHP project says the people at risk are all PHP installations serving web requests, including the common server set-ups PHP-FPM, Apache with mod_php, php-cgi, FrankenPHP and LiteSpeed. It considers Apache with mod_php the highest risk, because a demonstrated exploit worked there before any of the website's own code had run.
WordPress runs on PHP, as do many other content management systems, online shops and booking tools. If you pay for shared or managed hosting, your host usually runs PHP for you, so the patch is mainly their job. You still need to check, because your hosting control panel may let you pick an older PHP version for your site. If you run your own virtual private server (VPS), keeping PHP updated is usually your job.
Website builders such as Wix and Squarespace look after their own servers, so there is nothing for you to update there. If you are not sure what your site runs on, our guide to setting up a business website explains the difference between a builder and self-hosted WordPress.
The fixed PHP versions
These are the releases that contain the fixes, alongside how long each version keeps getting security updates from the PHP project, according to its supported versions page.
| PHP version | Fixed in | Security support until |
|---|---|---|
| 8.5 | 8.5.12 | 31 December 2029 |
| 8.4 | 8.4.27 | 31 December 2028 |
| 8.3 | 8.3.36 | 31 December 2027 |
| 8.2 | 8.2.35 | 31 December 2026 |
| 8.1 and older | No new release from the PHP project | Already ended |
For PHP 8.1 and older, the PHP project says it no longer issues updates. Some Linux distributions and long-term support vendors provide backported fixes, and the PHP security team published minimal source backports for 7.4, 8.0 and 8.1. The project's advice is to contact your vendor or move to a supported version.
Why the end of December matters
PHP 8.2 reaches the end of its security support on 31 December 2026. After that, the PHP project will not fix new flaws in it, even critical ones like these. If your site is on 8.2, it got this patch, but it will not get the next one.
The PHP project has also said the first full release of PHP 8.6 is planned for 19 November 2026. Brand-new major versions can take time to be supported by plugins and themes, so for most small business sites a fully supported, well-established version is the practical target. WordPress.org currently recommends that your host supports PHP version 8.3 or greater, and warns that older versions which have reached end of life may expose your site to security vulnerabilities.
Five checks for a small business website this week
- Find out your PHP version. In WordPress, go to Tools, then Site Health, then Info, and open the Server section. Most hosting control panels also show the PHP version for each site.
- Ask your host whether the October fix is applied. A short message is enough: "Has the PHP on my hosting been patched for CVE-2026-109618 and CVE-2026-109619, and which version am I on?" A good host should be able to answer clearly.
- Plan a move off PHP 8.2 or older before 31 December. Back up the site first, then switch to 8.3 or later in your control panel and check that your key pages, forms and checkout still work. If something breaks, switch back and ask your developer or host for help.
- Keep WordPress, themes and plugins updated too. Patching PHP does not replace normal updates. Remove plugins you no longer use, since each one is extra code that could contain a flaw.
- Sign up to the NCSC's Early Warning service. Early Warning is free for UK organisations and can alert you to signs of malware or vulnerabilities linked to your domain names and IP addresses.
If you run your own server
The NCSC's priority actions are more detailed for anyone managing servers. In brief, it says to identify systems running PHP across your infrastructure, starting with internet-facing ones, and to update to the latest version. If you cannot update straight away, the PHP Foundation has provided temporary mitigations. The NCSC says that if those cannot be applied quickly, you should consider taking the system offline until it is fixed. Where a system was left unpatched, the NCSC also advises checking for signs of compromise, including backdoors, before upgrading. It notes that NCSC-assured Cyber Incident Response providers can help if you are not confident doing this yourself.
The PHP project stresses that only an update is a complete solution, and that the mitigations reduce exposure without making an installation safe.
Choosing hosting that keeps up
This alert is a reminder that part of what you pay a web host for is keeping the server software patched. When comparing hosts, ask which PHP versions they support, how quickly they apply security updates, and whether each site runs under its own account rather than a shared one, which WordPress.org lists as recommended for better security. Our guides to the best web hosting for UK small businesses and best WordPress hosting in the UK set out what to look for. For wider basics such as backups, passwords and phishing, see our small business cyber security checklist, based on the NCSC's small organisations guide.
Sources checked on 16 November 2026
- NCSC: Critical security issue affecting PHP (21 October 2026, updated 23 October 2026)
- PHP: 2026 news archive, including the security advisory of 21 October 2026 and the PHP 8.6.0 release plan
- The PHP Foundation: October 2026 PHP security release (21 October 2026)
- PHP: supported versions
- WordPress.org: requirements
- NCSC: Early Warning service
- NCSC: small organisations guide to cyber security
This guide is based on official NCSC, PHP project and WordPress.org information. Security advice changes quickly, so check the NCSC alert and your host's own notices for the latest position.
