Babble Blog

PHP2Shell: The Risks, What to Check & How to Protect Your Systems

Written by Dan Davies | Oct 22 2026

You've probably seen the headlines. A critical PHP vulnerability appears on your feed. Developers start discussing emergency patches, and suddenly everyone wants to know whether their website is at risk.

If you're not a developer, it's easy to dismiss this as another technical security story. The website still loads, customers can still place orders, and nothing appears broken.

So how serious can it really be?

As cybersecurity specialists at Babble, we've seen this pattern before. Some of the most significant cyber risks stem from technologies most organisations rarely think about until something goes wrong. PHP is one of those technologies.

Most business leaders have never needed to understand PHP, yet it's one of the most widely used server-side programming languages in the world, quietly powering websites, customer portals, ecommerce platforms, business applications and countless digital services behind the scenes.

PHP also underpins several of the world's most widely used content management systems, including WordPress, Drupal and Joomla. That widespread adoption is exactly why vulnerabilities affecting PHP attract immediate attention from security teams.

That's why the recently disclosed PHP2Shell vulnerabilities have generated so much concern.

The issue isn't simply that the vulnerabilities are severe. It's that they affect a foundational technology layer that many organisations depend on every day without even realising it.

What this article covers



What happened?

On 21 October 2026, the PHP project released emergency security updates to address two critical vulnerabilities:

  • CVE-2026-109618
  • CVE-2026-109619

Both vulnerabilities received a CVSS score of 9.2 (Critical) and may allow unauthenticated remote code execution (RCE).

In practical terms, that means an attacker could potentially run malicious code on a vulnerable server without requiring valid credentials.

For cybersecurity teams, remote code execution vulnerabilities represent some of the most serious threats possible because successful exploitation can provide attackers with a foothold inside critical systems, allowing them to steal data, deploy ransomware, establish persistence or move deeper into a network.

That alone makes PHP2Shell significant.

What makes it particularly concerning, however, is where these vulnerabilities exist.

Critical remote code execution vulnerabilities often trigger immediate action because they can potentially allow attackers to compromise systems without needing usernames, passwords or existing access. When vulnerabilities affect widely deployed technologies such as PHP, security teams frequently need to assess large numbers of systems in a very short period of time.

Why this is different from a typical website security issue

When website breaches hit the headlines, they're often linked to something specific:

  • A vulnerable plugin
  • An outdated CMS
  • A misconfigured application
  • A compromised user account

While serious, these incidents are usually limited to organisations running that particular software.

PHP2Shell is different.

The vulnerabilities exist within PHP itself.

PHP sits underneath many of the world's most widely used platforms, including WordPress, Drupal, Joomla, Magento and thousands of custom-built applications. As a result, the potential exposure extends far beyond a single vendor, plugin or website.

The concern isn't one application.

It's the sheer number of internet-facing systems built on PHP.

For organisations, this highlights an uncomfortable reality: some of the biggest cybersecurity risks don't emerge from niche software. They emerge from foundational technologies that are deeply embedded throughout the business.

 

What makes PHP2Shell so concerning?

Security vulnerabilities are typically judged by two factors:

  1. How severe the flaw is
  2. How widespread the affected technology is

PHP2Shell scores highly on both.

Many organisations know exactly which CRM they use, which website platform they run or which cloud provider hosts their systems.

Far fewer can confidently answer questions such as:

  • Which applications are running PHP?
  • Which versions are installed?
  • Which suppliers manage them?
  • How quickly can they be patched?

The challenge isn't always applying the fix.

The challenge is knowing where the vulnerable systems actually are.

This is where incident-response engagements often uncover a larger issue: incomplete asset visibility.

If you don't know what you own, it's difficult to secure it.

 

How do the vulnerabilities work?

You don't need to understand PHP internals to understand the business risk.

Both vulnerabilities relate to how PHP handles request data and memory under specific conditions.

CVE-2026-109618

This vulnerability involves how PHP handles certain out-of-memory scenarios.

Under specific circumstances, attackers may be able to exploit the way request data is processed, potentially creating a pathway to execute malicious code.

CVE-2026-109619

The second vulnerability involves request data remaining in memory when it should no longer be accessible.

An attacker may be able to leverage this behaviour to manipulate application processes and potentially execute code on affected systems.

The technical mechanisms differ, but the business impact is the same:

An attacker may gain the ability to execute commands on systems they should never have access to.

At that point, the issue moves beyond website security and becomes a broader business risk.

 

Which versions are affected?

The affected versions include:

  • PHP 8.5 before 8.5.12
  • PHP 8.4 before 8.4.27
  • PHP 8.3 before 8.3.36
  • PHP 8.2 before 8.2.35
  • Older end-of-life releases, including PHP 8.1 and earlier

If you're uncertain which version your organisation is running, now is the time to find out.

Particular attention should be paid to:

  • Legacy applications
  • Older websites that haven't been reviewed recently
  • Business systems inherited through acquisitions
  • Applications managed by third parties
  • Multiple hosting environments
  • Shadow IT or undocumented web applications

Many organisations discover they have considerably more internet-facing assets than they initially realised.

 

What organisations should do now

The consensus from the security community is straightforward:

Patch affected systems as quickly as possible.

However, effective response requires more than simply installing updates.

1. Identify where PHP exists

Begin with visibility.

Create an inventory of:

  • Websites
  • Customer portals
  • Ecommerce platforms
  • Internal web applications
  • Third-party hosted applications

You can't protect systems you don't know about.

2. Confirm affected versions

Determine which PHP versions are currently deployed across your environment and identify any unsupported or end-of-life instances.

3. Prioritise review and remediation of internet-facing systems

Public-facing applications should be prioritised for review and remediation because they present the greatest exposure.

4. Apply security updates

Implement the latest supported PHP releases as soon as change-management processes allow.

5. Increase monitoring

Security teams should look for:

  • Unusual web requests
  • Unexpected system processes
  • Application instability
  • Unexplained memory-related errors
  • Indicators of compromise
  • Signs of attempted exploitation

6. Escalate systems that cannot be patched

Where immediate patching is not possible, organisations should formally assess the risk and implement temporary mitigating controls while remediation is completed.

 

Don't forget your third-party suppliers

One of the most common misconceptions following a critical vulnerability disclosure is:

"It's not our problem because someone else hosts our website."

Unfortunately, that isn't always the case.

Many organisations rely on:

  • Managed hosting providers
  • Website agencies
  • Ecommerce vendors
  • Managed service providers
  • SaaS platforms

Business leaders should seek confirmation from these partners that affected systems have been reviewed and, where necessary, patched.

Third-party ownership doesn't eliminate risk.

It simply changes who is responsible for managing it.

 

Questions to ask your suppliers and hosting providers

If a third party manages your website, applications or hosting environment, consider asking:

  • Are any of your services affected by PHP2Shell?
  • Which PHP versions are currently deployed?
  • Has remediation been completed, and when?
  • Have any indicators of compromise or exploitation attempts been identified?
  • Could customer environments, data or service instances have been affected?
  • What mitigating controls are currently in place?
  • Have subcontractors, hosting partners and supporting suppliers completed their own assessment?

These questions can help organisations gain assurance more quickly following a critical vulnerability disclosure and support supplier risk-management processes.

 

The questions business leaders should be asking

You don't need to become a cybersecurity expert.

But you do need visibility.

When vulnerabilities like PHP2Shell emerge, leaders should be asking:

  • Do we know which business-critical systems rely on PHP?
  • Have we confirmed whether those systems are affected?
  • Who owns responsibility for patching them?
  • How quickly are critical vulnerabilities assessed and actioned?
  • What visibility do we have into third-party hosted systems?
  • Do we maintain an up-to-date inventory of internet-facing assets?
  • Have we independently verified that remediation has been completed?

These questions often reveal far more about an organisation's cyber resilience than the vulnerability itself.

 

The bigger lesson: Preparedness beats patching

The most interesting lesson from PHP2Shell isn't actually about PHP.

It's about operational readiness.

Every major technology stack contains hidden dependencies:

  • Operating systems
  • Frameworks
  • Libraries
  • Cloud services
  • Scripting languages
  • Third-party platforms

Most organisations depend on hundreds of these components without realising it.

When a critical vulnerability emerges in one of those foundational layers, the businesses that respond fastest aren't necessarily the ones with the biggest security teams.

They're the organisations that already know:

  • What they own
  • Where it lives
  • Who manages it
  • How vulnerabilities are handled

At Babble, incidents like PHP2Shell regularly reinforce the same lesson: organisations rarely struggle because patches don't exist. They struggle because visibility, ownership and governance aren't as mature as they need to be.

The businesses that respond most effectively are usually the ones that have already invested in understanding their assets before a critical vulnerability appears.

In our experience, the biggest challenge isn't patching.

It's governance, visibility and ownership.

 

Frequently Asked Questions

 

Is PHP2Shell being actively exploited?

Organisations should monitor vendor updates, threat intelligence feeds and security advisories for the latest information. Regardless of active exploitation status, critical vulnerabilities with potential remote code execution capabilities should be prioritised for assessment and remediation.

Can WordPress websites be affected?

Potentially, yes. WordPress itself is not the issue, but WordPress websites running on vulnerable PHP versions could be affected because PHP sits underneath the platform.

How do I check which PHP version I'm running?

The method varies depending on your hosting provider and environment. Internal IT teams, hosting providers, managed service providers or development partners should be able to confirm the currently deployed version.

Should organisations patch immediately?

Yes. Security teams and vendors have consistently recommended prompt assessment and patching of affected systems, particularly internet-facing applications.

What should I ask my hosting provider?

Ask whether they are affected, which PHP versions are deployed, whether remediation has been completed, whether any signs of exploitation have been identified, and whether supporting suppliers have completed their own assessment.

 

The bottom line

PHP2Shell is a reminder that some of the most significant cybersecurity risks exist beneath the applications we use every day.

The vulnerabilities don't target a specific plugin, website or vendor. They affect PHP itself, one of the most widely used technologies underpinning the modern web.

For organisations running PHP-powered systems, rapid assessment and patching should be a priority.

More importantly, this incident serves as a valuable test of your organisation's vulnerability management maturity.

Because when the next critical vulnerability emerges, the question won't be whether you've heard about it.

The question will be whether you know exactly which systems are affected, who owns them and how quickly they can be secured.

Ultimately, that's what separates resilient organisations from reactive ones.

​‌