PHP2Shell Is a Patch Job, but First You Have to Find the PHP
PHP2Shell is a critical PHP vulnerability for UK small businesses: patch to a fixed version, but only after you find every WordPress site, panel, and appliance that actually runs PHP.
On 21 October 2026 PHP released fixes for two critical flaws known as PHP2Shell. CVE-2026-109618 is out-of-memory handling that leaves request data partially initialised. CVE-2026-109619 leaves stale request-owned state after the memory behind it has been freed. Either can lead to unauthenticated remote code execution. NHS England Digital lists both at CVSSv4 9.2 and says proof-of-concept exploits worked against WordPress, Drupal, and Joomla. Patch to a fixed version. You can only patch the PHP you know about.
The fixed versions are 8.5.12, 8.4.27, 8.3.36, 8.2.35, or later. PHP 8.1 and older are affected and end-of-life, so they need migrating to a supported release. The NCSC PHP alert’s priority actions put discovery first. Identify systems running PHP across your infrastructure, internet-facing systems before the rest, and do not limit that search to old versions. Then update. If you cannot update, use the PHP Foundation’s temporary mitigations. If you cannot mitigate, consider taking the system offline. Check for compromise and for backdoors. An NCSC-assured Cyber Incident Response provider can help if that check is beyond the people who look after the system.
Keep watching once the sites you already know about are done. Appliances and services bundle PHP, and NCSC-NL has published an inventory of affected products. The NCSC said it sent over 50,000 warnings to UK organisations, as reported by ITV News on 22 October 2026. A small firm sits in that group whenever a website or a box runs PHP and the fact is not written down. The NCSC’s free Early Warning service is available to UK organisations.
For a UK small business the hard part is the list. The WordPress site is the obvious row, and a WordPress PHP update is a change the host makes, not a button in the admin screens. Hosting control panels often run PHP too, including the panel you only open when mail breaks. Then there is the agency-built site nobody owns any more. The domain renews, the pages still answer, and nobody is sure which login can patch it.
Client and booking portals are the same shape of gap. They take bookings or show accounts, and the PHP version sits with whoever hosts them. NAS boxes and other appliances are easier to skip, because they look like hardware, while the admin page is still a web app and may ship PHP. Vendor SaaS is the case you do not patch yourself. You ask the supplier whether you are affected, whether they have patched, and whether they have checked for compromise.
Cyber Essentials puts a clock on the update. Under the Danzell question set, from 27 April 2026, installing high-risk or critical updates within 14 days is an automatic-failure question, A6.4 and A6.5. These PHP fixes are critical, so they fall under that 14-day rule. The window is short when you still have to find which host can log in, and which PHP version is behind the site.
The practical list is short, and it has to be written down. List every website and web app the business relies on, including the ones a former agency or a supplier still hosts. For each, record who hosts it, who can patch it, and which PHP version it is on. Ask the host or the supplier the NCSC questions: are we affected, are we patched, and has it been checked for compromise? Record the answers, and the date, on the same row. If they cannot name the version, leave that blank visible until they can.
That record is what makes the next patch wave a lookup rather than a scramble. Owner, host, and version belong on the same row, so the alert points at a row you can act on. This is the record 1nPlace Atlas is built to keep. A single shared list is enough while there is only one copy. If the systems still live in people’s heads, I do this as a fixed-scope pass: name the systems, ask the hosts, and leave the answers where the next notice can be checked.
This is a practical summary, not legal advice, and it is not a certification ruling. Confirm each PHP version with the person who can change it. For the source material, start with the NCSC news on the critical security issue affecting PHP, NHS England Digital cyber alert CC-4875, the PHP release archive for 21 October 2026, and URM Consulting’s write-up of the Cyber Essentials update for 2026.