Back to News

Critical PHP Flaws Put Millions of Websites at Risk - ‘Patch or Go Offline’, Say UK, US and EU Agencies

Critical PHP Flaws Put Millions of Websites at Risk - ‘Patch or Go Offline’, Say UK, US and EU Agencies

The NCSC, alongside US and EU cyber agencies, is urging every organisation that runs PHP to patch two critical vulnerabilities this week. PHP is the scripting language behind a very large share of the world’s websites, and the two flaws — CVE–2026–109618 and CVE–2026–109619 — are memory corruption bugs that can let an unauthenticated attacker execute code on a web server running PHP. The NCSC says organisations using any version of PHP are affected, not only outdated ones, and its advice is unusually blunt: update to the latest fixed version, and if a system cannot be patched or mitigated in time, take it offline.

Two further details make this more urgent than a routine patch notice. According to BBC News reporting, Amazon said it had observed attacks attempting to exploit the flaws before the vulnerabilities were publicly disclosed — meaning some attackers may have known about them ahead of the coordinated warning. And the flaws were reportedly uncovered with the help of AI tools, described in reporting as among the most significant security flaws ever found that way, prompting what the BBC called a “rare global cyber–security response”. For UK businesses, the hardest part may not be patching the website they know about. It is finding the PHP they do not: forgotten sites, hosted portals, and appliances that bundle PHP internally without making it obvious. The Dutch national cyber security centre, NCSC–NL, has published an inventory of software products with a PHP dependency precisely because of that.

2
Critical vulnerabilities — CVE–2026–109618 and CVE–2026–109619 — both memory corruption bugs that can lead to unauthenticated remote code execution
Any
Version of PHP is affected, according to the NCSC — not just old or unsupported releases
3
Jurisdictions — the UK, US and EU — whose cyber agencies issued warnings together, in what the BBC called a rare global response
Before
Amazon said it saw exploitation attempts before public disclosure, according to BBC News reporting

What the vulnerabilities are, and what the NCSC says to do

Both flaws involve PHP mishandling its own memory while processing web requests. CVE–2026–109618 occurs when out–of–memory handling interrupts PHP while internal request data is only partially initialised; request cleanup can then treat that invalid data as valid. CVE–2026–109619 occurs when request–owned internal state survives after its backing memory has been freed, letting a later request on the same worker use that stale state. In both cases, the consequence can be unauthenticated remote code execution — an attacker running their own commands on the server without needing to log in.

PHP has published a security update fixing both. The NCSC says organisations using any version of PHP are affected and highly encourages updating to the latest fixed version. It has published an eight–point priority action list, which includes identifying all PHP installations — prioritising internet–facing systems — applying vendor updates, and taking systems offline if they cannot be patched or mitigated in time. The PHP Team has also provided temporary mitigations for organisations that cannot update immediately.

The NCSC adds an important step for systems that cannot be updated, disabled or mitigated straight away: assess them for evidence of compromise, including backdoors, before upgrading. That reflects the reports of exploitation before disclosure. If a server was reachable while attackers already knew about the flaws, patching it closes the hole but does not remove anything an attacker may have installed. The NCSC notes that organisations can seek help from an NCSC–assured Cyber Incident Response provider if needed.

The bundling problem is why the NCSC–NL inventory matters. Many appliances and platforms include PHP as an internal component — for example to power a web administration page — without it being obvious to the person using them. Those systems are affected in the same way, but their owners may not think of them as “running PHP” and may depend on the vendor to supply an update. The inventory lists software products with a PHP dependency that may be affected.

There has also been some public disagreement about how the disclosure has been framed. The PHP project has disputed how responsibility for the flaws has been presented, pointing to supply–chain security company Chainguard. Chainguard’s CEO responded that the matter was handled via “coordinated vulnerability disclosure, unless there’s evidence of active exploits in the wild”. The details of that disagreement are for the parties to resolve; for organisations running PHP, they do not change what needs to be done.

Your website is probably not the only PHP you run

When a PHP advisory lands, most businesses think of their website, check that it has been updated, and move on. That covers the obvious case and misses the rest. PHP also runs forgotten microsites, old campaign pages and staging copies that nobody took down; customer portals, booking systems and plugins supplied by third parties; intranet tools built years ago; and the web administration pages of appliances on your network that bundle PHP internally. Each of those is reachable in the same way, and some are reachable from the internet. Because Amazon reported exploitation attempts before disclosure, any internet–facing PHP system should be both patched and checked for signs it was reached beforehand. The first job this week is not patching — it is finding everything that needs patching, which is why the NCSC’s own list starts with identifying all PHP installations.

How the PHP warning unfolded

The reporting does not give precise dates for each step, so the sequence below describes the order of events rather than exact timings.

Background — PHP everywhere
PHP underpins a very large share of websites and is bundled inside many appliances and platforms as an internal component. That reach is what turns a flaw in PHP into a problem for an enormous number of organisations at once.
Discovery — reportedly with AI
The two vulnerabilities are reportedly uncovered with the help of AI tools, and are later described in reporting as among the most significant security flaws ever found that way.
Before disclosure — exploitation attempts
Amazon observes attacks attempting to exploit the flaws before they are publicly disclosed, according to BBC News reporting — a sign that some attackers may have known about the bugs ahead of the coordinated warning.
This week — PHP’s security update
PHP publishes a security update fixing CVE–2026–109618 and CVE–2026–109619. The PHP Team also provides temporary mitigations for organisations that cannot update immediately.
This week — a coordinated warning
The NCSC, alongside US and EU agencies, urges organisations to patch — what BBC News describes as a rare global cyber–security response. The NCSC says any version of PHP is affected.
This week — the NCSC’s priority actions
The NCSC publishes an eight–point priority list, including identifying all PHP installations with internet–facing systems first, applying vendor updates, and taking systems offline if they cannot be patched or mitigated in time. Unpatched systems should be checked for compromise, including backdoors, before upgrading.
This week — finding hidden PHP
NCSC–NL publishes an inventory of software products with a PHP dependency that may be affected, because many appliances and platforms bundle PHP without it being obvious to the end user.
22 October 2026 — where things stand
Fixes and mitigations are available, and agencies are urging immediate action. The PHP project and Chainguard have publicly disagreed over how the disclosure has been framed. For organisations, the priorities are finding every PHP installation, patching, and checking exposed systems for prior compromise.

The most consequential entry in that sequence is the one before disclosure. When attackers are exploiting a flaw before the world knows about it, even an organisation that patches within hours of the advisory may already have been reached. That is the same pattern seen this autumn with Citrix NetScaler and Cisco’s email gateway, and the response is the same: patch quickly, then look back. It also fits research published in the past few days suggesting that AI is changing how quickly vulnerabilities and gaps in fixes are found.

Where PHP hides in a small business

The chart below is an indicative planning model — not measured data — ranking common places PHP runs in a UK SME by how often they are overlooked when an advisory like this arrives.

Web admin pages of network appliances and storage devices
84%
Old microsites, campaign pages and staging copies
81%
Third–party portals, plugins and booking systems
66%
Software products listed as having a PHP dependency
62%
Internal tools and intranet pages built years ago
57%
A website on shared hosting, where the provider manages PHP
38%
The main company website on actively managed hosting
22%

The bottom of the chart is the part most businesses think of first, and usually the best covered. A main website on actively managed hosting is likely to be patched quickly by whoever manages it. The risk is concentrated higher up: systems nobody associates with PHP, sites nobody remembers, and products whose vendor has to supply the fix. Those are the ones that remain exposed weeks after an advisory, and they are exactly where an attacker who already knew about the flaws would look.

The shared–hosting row deserves a note. Many small business websites run on shared hosting, where the hosting provider is responsible for updating PHP itself. In that case, patching is largely the provider’s job — but it is still worth confirming with them that the fixed version is in place, and that any applications you run on top, such as a content management system and its plugins, are also current.

Both flaws, the worst kind

Two vulnerabilities, and both have the property that makes a flaw most dangerous on an internet–facing server.

2 of 2
Both CVE–2026–109618 and CVE–2026–109619 are memory corruption bugs that can lead to unauthenticated remote code execution — no login needed, and the result is an attacker running commands on the server

Unauthenticated remote code execution is the category security teams fear most on a public–facing system, because it combines the two worst properties. Anyone who can reach the server can attempt it, without credentials. And success gives the attacker the ability to run their own commands — to read data, plant backdoors, alter the site or use the server to reach other systems. On a web server, which is by definition reachable from the internet, that is about as serious as it gets.

The NCSC’s statement that any version of PHP is affected widens the impact considerably. Many vulnerability advisories apply to particular versions, and organisations already running recent releases can relax. Here, being up to date before the fix was released is not protection; only the fixed version or the provided mitigations are. Every PHP installation, however carefully maintained, needs attention.

The mechanism behind the second flaw also explains why the NCSC encourages checking for compromise. CVE–2026–109619 involves state left behind after memory is freed being used by a later request on the same worker. That is the kind of subtle, timing–dependent bug that is hard to spot by reviewing code and well suited to automated analysis — consistent with reports that AI tools helped find it. It is also the kind of flaw that may leave little trace when exploited, which is why looking for backdoors and unexpected changes matters as much as applying the fix.

Where UK businesses are exposed

The rows below reflect where PHP–related risk typically sits for a UK SME, with badges indicating how much attention each usually needs this week.

PHP vulnerability exposure in a typical UK SME
No list of every website, portal and system that runs PHP High
Forgotten microsites, staging copies or old campaign pages still online High
Appliances with PHP–based admin pages that nobody has checked High
Patching without checking internet–facing systems for prior compromise High
Unclear who is responsible for updating PHP on hosted sites Mid
Third–party plugins and portals with no vendor update yet Mid
No recent backup of website files and databases held separately Mid
No route to an incident response provider if compromise is found Low

The second row is one of the most common findings when businesses do this exercise. Old campaign sites, test copies of a website, and microsites built for an event years ago often remain online, unmaintained, on servers nobody looks at. They run PHP like everything else and are frequently on older software. Taking them offline altogether is often the simplest response, and matches the NCSC’s advice to take systems offline if they cannot be patched in time.

The seventh row matters for recovery. If a website turns out to have been compromised before it was patched, the cleanest fix is often to restore it from a known–good backup taken before the compromise, then patch. That only works if a recent backup of the site’s files and databases exists somewhere separate from the server itself. Many small business websites have no such backup, or rely solely on the hosting provider’s.

What responding properly costs

The bands below are indicative planning figures for UK businesses responding to this advisory — not quotes.

Situation Typical scope Indicative cost What you get for it
Small business with one website on managed hosting Confirm with your host that PHP is on the fixed version, update your content management system and plugins, take a separate backup £0 – £400 Confidence that your main site is patched and recoverable
Business with several sites, portals or internal tools Inventory of every PHP installation, patching or applying mitigations, retiring forgotten sites, checking internet–facing systems for signs of compromise £800 – £4,000 Every PHP system found and dealt with, rather than only the obvious one
Business with appliances or products that bundle PHP Check products against the NCSC–NL inventory, contact vendors for updates, restrict access to admin pages until fixed £500 – £3,000 Hidden PHP identified and either patched or isolated
Suspected or confirmed compromise Investigation for backdoors and changes, restoration from a clean backup, credential rotation, involvement of an NCSC–assured incident response provider if needed £3,000 – £25,000 An attacker removed rather than merely locked out
Any business, immediately List every website, portal and system you know runs PHP, and ask your web host and developer what they have done £0 The starting point for everything else on this table

The bottom row is free and the right place to begin, because it mirrors the first item in the NCSC’s own priority list. Most small businesses can identify their main website quickly; the value comes from pushing further — asking the developer what else they built, checking the hosting account for other sites, and looking at what appliances on the network have web admin pages. That list is what turns a vague worry into a specific, finishable job.

Two ways to handle a PHP advisory

Reactive posture

Patch the website and move on

  • The main website checked, and everything else assumed to be fine
  • Old microsites and staging copies left online and unpatched
  • Appliances with PHP admin pages never considered
  • Unclear whether the hosting provider or the developer is responsible for updates
  • Patches applied with no check for compromise beforehand
  • No separate backup, so a compromised site cannot be cleanly restored
  • No plan for what to do if signs of compromise are found

Proactive posture

Where Cloudswitched web development takes you

  • A maintained list of every site, portal and system that runs PHP
  • Forgotten sites retired, so there is less to patch and less to attack
  • Appliances and products checked against the NCSC–NL inventory
  • Clear responsibility for updates between hosting provider and developer
  • Internet–facing systems checked for backdoors when exploitation preceded disclosure
  • Regular backups held separately, ready for a clean restore
  • A known route to incident response support if something is found

The difference between those columns is mostly about knowing what you run. An organisation with an up–to–date list of its PHP installations can act on an advisory like this in hours; one without it spends the first days discovering what it has. Retiring sites that are no longer needed is the single cheapest improvement, because every site taken offline is one fewer thing to patch and one fewer way in. Separate backups and a known route to incident support turn the worst–case outcome — finding a compromise — from a crisis into a manageable process.

30
Indicative readiness, out of 100, for a typical UK SME to respond fully to this PHP advisory — assessed on knowing every PHP installation, clarity on who patches what, compromise checks for exposed systems and separate backups
Find it, fix it, then check it

Work through this in order. Find it: list your main website, any other sites in your hosting account, old campaign or event sites, staging or test copies, customer portals and booking systems, internal tools, and any appliances on your network with a web administration page. Check products against the NCSC–NL inventory of software with a PHP dependency. Ask your web developer and hosting provider what else they manage for you. Fix it: update PHP to the latest fixed version, or confirm your hosting provider has; update your content management system and plugins; apply the PHP Team’s temporary mitigations where you cannot update immediately; and take offline anything you cannot patch or mitigate, as the NCSC advises. Check it: because exploitation was reported before disclosure, look at internet–facing PHP systems for signs of compromise — unexpected files, new admin accounts, unfamiliar scheduled tasks, changes nobody made. If you find anything you cannot explain, restore from a backup taken before the problem and get help rather than simply patching over it.

Why this one is different

PHP advisories are not unusual. What sets this one apart is the combination of factors around it. The flaws are critical and unauthenticated. They affect any version, not just old ones. Exploitation was reportedly seen before disclosure. And the warning came simultaneously from UK, US and EU agencies, which is rare and reflects how widely PHP is used and how seriously the agencies view the risk.

The reported role of AI in finding the flaws adds a further dimension. Research published in the past few days found that the share of security fixes needing a follow–up because the first patch failed has risen sharply this year, with reporting linking the rise to AI–assisted analysis. Whether the same tools that helped find these PHP flaws will help find gaps in the fixes is an open question. The practical response is the one that research suggests for any fix to an exploited bug: apply it promptly, then keep watching for follow–up advisories over the coming weeks.

The bundled–PHP problem is likely to be the longest tail. Websites and hosting providers will patch quickly. Appliances and products that embed PHP depend on their vendors issuing updates, and some will take longer than others. NCSC–NL’s inventory is a practical tool for working out which products in your estate might be affected; for anything listed that does not yet have an update, restricting access to its web interface — so it is not reachable from the internet or from untrusted parts of the network — is a sensible interim step.

For organisations pursuing Cyber Essentials, this sits squarely within the scheme’s requirement to keep software supported and to apply high–risk and critical security updates promptly. Internet–facing web servers and their software are in scope. The scheme’s emphasis on knowing what software you run is exactly what makes an advisory like this manageable — and a forgotten, unpatched PHP site is precisely the kind of thing it is designed to surface.

The story at a glance

Item Detail
The vulnerabilities CVE–2026–109618 and CVE–2026–109619 in PHP
Impact Memory corruption bugs that can lead to unauthenticated remote code execution on servers running PHP
CVE–2026–109618 Out–of–memory handling interrupts PHP mid–initialisation, and cleanup treats invalid data as valid
CVE–2026–109619 Request–owned state survives after its memory is freed, and a later request on the same worker uses it
Versions affected The NCSC says any version of PHP is affected
Fix Update to the latest fixed PHP version; the PHP Team has published temporary mitigations
NCSC priority actions An eight–point list including identifying all PHP installations, applying updates, and taking systems offline if they cannot be patched or mitigated
If you cannot patch immediately Assess for compromise, including backdoors, before upgrading; NCSC–assured Cyber Incident Response providers can help
Exploitation Amazon observed exploitation attempts before public disclosure, according to BBC News
Discovery Reportedly found with the help of AI; described as among the most significant flaws found this way
Response UK, US and EU agencies warned together — a “rare global cyber–security response”, per BBC News
Hidden PHP NCSC–NL has published an inventory of software products with a PHP dependency that may be affected
Disclosure dispute The PHP project and Chainguard have publicly disagreed over how the disclosure has been framed
Free first step List every site, portal and system that runs PHP, and ask your host and developer what they have done

This story connects to several we have covered recently. Terra Security’s research on broken patches explains why fixes to exploited bugs should be watched for follow–ups. Our piece on the end of security through obscurity covers how AI changes what can be found in code. The actively exploited Citrix NetScaler flaws and the Cisco email gateway zero–day both involved exploitation before disclosure, and the same lesson that patching and compromise checks are separate tasks. Our building–system ransomware piece covers devices with hidden software that nobody thinks to patch. And the ConnectWise suspension is a reminder to keep a backup that does not depend on the system it protects.

Do you know every place your business runs PHP?

Most businesses can name their main website. Far fewer can list the old microsites, staging copies, customer portals, plugins and appliance admin pages that also run PHP — and those are the ones that stay exposed after an advisory like this. Cloudswitched builds and maintains websites and web applications for UK businesses, and helps them respond to vulnerabilities like these properly: finding every PHP installation, patching or retiring each one, checking internet–facing systems for signs of earlier compromise, and keeping separate backups so a clean restore is always possible.

Talk to us about Web Development

Frequently asked questions

What are the PHP vulnerabilities?
They are two critical flaws, CVE–2026–109618 and CVE–2026–109619, both memory corruption bugs in how PHP handles web requests. The first occurs when out–of–memory handling interrupts PHP while request data is only partly set up, so cleanup treats invalid data as valid. The second occurs when request state survives after its memory has been freed, and a later request on the same worker uses it. Both can lead to unauthenticated remote code execution — an attacker running commands on the server without logging in.
Which versions of PHP are affected?
According to the NCSC, organisations using any version of PHP are affected, not just outdated ones. That is unusual and important: being on a recent release before the fix was published does not protect you. You need the latest fixed version, or the temporary mitigations the PHP Team has provided if you cannot update immediately. If your website is on shared or managed hosting, your provider is usually responsible for updating PHP itself, but it is worth confirming with them that the fixed version is in place.
What does the NCSC say we should do?
The NCSC highly encourages updating to the latest fixed version of PHP and has published an eight–point priority action list. That list includes identifying all PHP installations, prioritising internet–facing systems; applying vendor updates; and taking systems offline if they cannot be patched or mitigated in time. If a system cannot be updated, disabled or mitigated immediately, the NCSC says to assess it for evidence of compromise, including backdoors, before upgrading, and notes that organisations can seek help from an NCSC–assured Cyber Incident Response provider.
Were the flaws exploited before the warning?
According to BBC News reporting, Amazon said it had observed attacks attempting to exploit the flaws before they were publicly disclosed. That suggests some attackers may have known about the bugs ahead of the coordinated warning. It is why the NCSC’s advice includes checking for compromise, and why any internet–facing PHP system should be both patched and examined for signs it was reached beforehand — unexpected files, new accounts, unfamiliar scheduled tasks or changes nobody made.
We only have a website on shared hosting. What should we do?
Contact your hosting provider and ask whether PHP has been updated to the fixed version on the server your site uses. On shared hosting that is usually their responsibility. Separately, make sure the applications running on top — a content management system such as WordPress and its plugins and themes — are fully up to date, since those are your responsibility. Take a backup of your site’s files and database and store it somewhere other than the hosting account, so you can restore cleanly if anything turns out to be wrong.
How can PHP be running somewhere we don’t know about?
Many appliances and software products include PHP as an internal component, often to power a web administration page, without making that obvious to the person using them. Old microsites, campaign pages and staging copies of websites also often remain online long after anyone remembers them. NCSC–NL, the Dutch national cyber security centre, has published an inventory of software products with a PHP dependency that may be affected. Checking the products you use against that list, and asking your web developer and host what else they run for you, is the quickest way to find hidden PHP.
What if a product we use bundles PHP and has no update yet?
Contact the vendor to ask when an update will be available, and in the meantime reduce exposure. The most effective interim step is usually to restrict access to the product’s web interface so it is not reachable from the internet or from untrusted parts of your network. If it does not need to be online at all, the NCSC’s advice is to take systems offline if they cannot be patched or mitigated in time. Keep a note of it as an open item and check back with the vendor until a fix is applied.
Is it true AI found these flaws?
The vulnerabilities were reportedly uncovered with the help of AI tools, and have been described in reporting as among the most significant security flaws ever found that way. That fits a broader pattern of AI changing how quickly vulnerabilities are discovered, by both defenders and attackers. For organisations running PHP, the practical point is the same either way: apply the fix promptly, check exposed systems for prior compromise, and watch for any follow–up advisories in the weeks ahead.
What is the disagreement between PHP and Chainguard?
The PHP project has disputed how responsibility for the flaws has been framed, pointing to supply–chain security company Chainguard. Chainguard’s CEO responded that the matter was handled via “coordinated vulnerability disclosure, unless there’s evidence of active exploits in the wild”. The details of that disagreement are for the parties involved. For organisations running PHP, it does not change what needs to be done: find every installation, patch or mitigate, and check exposed systems for signs of compromise.
What is the single most useful thing to do today?
Make a list of everywhere your business runs PHP — your main website, any other sites in your hosting account, old or test sites, portals and booking systems, internal tools, and appliances with web admin pages — and check products against the NCSC–NL inventory. Then ask your hosting provider and web developer what they have done. That list is the first item in the NCSC’s own priority actions, and it turns this advisory into a specific set of tasks you can finish, rather than a vague worry about the website.

Patch quickly, look back, and keep a clean copy

Two critical flaws, any version affected, and exploitation reported before the warning: this is an advisory that rewards organisations that know what they run. Cloudswitched helps UK businesses keep their websites and web applications secure and recoverable — maintaining an inventory of every site and system, keeping PHP and content management systems current, retiring what is no longer needed, checking for compromise when exploitation preceded disclosure, and holding separate backups so a clean restore is always available.

Talk to us about Web Development
Tags:Web DevelopmentIT SupportCyber EssentialsCloud Backup
Cloudswitched

London-based managed IT services provider offering support, cloud solutions and cybersecurity for SMEs.

Cloudswitched Service

Web Development

Custom websites, web apps and e-commerce solutions built for results

More about this service
CloudswitchedWeb Development
020 3004 3450

Technology Stack

Powered by industry-leading technologies including SolarWinds, Cloudflare, BitDefender, AWS, Microsoft Azure, and Cisco Meraki to deliver secure, scalable, and reliable IT solutions.

SolarWinds
Cloudflare
BitDefender
AWS
Hono
Opus
Office 365
Microsoft
Cisco Meraki
Microsoft Azure

Latest Articles

22
  • Internet & Connectivity

Fixed Wireless Access for UK Business: A Practical Guide to 5G and Microwave as an Alternative to Fibre in 2026

22 Oct, 2026

Fixed wireless access delivers business internet over radio rather than a cable into the building, and for many UK businesses it is a genuine primary...

Read more
21
  • Database Reporting

Database Reporting Security: A UK Business Guide to Who Can See What When You Build Internal Dashboards in 2026

21 Oct, 2026

Row-level security reporting means building dashboards that show each person only the rows of data they are entitled to see their own region, their own team,...

Read more
20
  • AI

AI Integration Architecture: A UK Business Guide to Connecting LLMs to Your Existing Systems Without Creating a Maintenance Nightmare in 2026

20 Oct, 2026

Good LLM integration architecture is what separates an AI feature that keeps working for years from one that becomes a maintenance burden within months. The...

Read more

Enquiry Received!

Thank you for getting in touch. A member of our team will review your enquiry and get back to you within 24 hours.