Listen now7 min listen

Two zero-day vulnerabilities in PHP: why your servers could be next

If your website runs on PHP, time may be running out. Two critical vulnerabilities in the world’s most widely used server-side scripting language have been exposed, putting millions of web services at risk of remote code execution, data theft and service disruptions. The question isn’t whether these flaws can be exploited—it’s how fast you can close the door before attackers walk through it.

Critical flaws with global reach

On October 21, 2026, two high-severity vulnerabilities in PHP were disclosed—CVE-2026-109618 and CVE-2026-109619—each scoring 9.2 on the CVSS v4.0 scale. Unlike isolated bugs that affect only a single application, these flaws target the core memory management and execution engine of PHP itself. This means the potential impact extends far beyond individual sites to entire server ecosystems, regardless of ownership or usage.

While some systems were temporarily taken offline as a precautionary measure, there is no evidence of a full-scale Internet collapse. Instead, the danger lies in silent compromise: servers that remain unpatched become low-hanging fruit for cybercriminals seeking to plant malware, steal credentials or pivot to other systems on the network.

The invisible backbone of the web

PHP powers over 70% of websites that declare their server-side language, according to cybersecurity firm Wiz. It’s the invisible engine behind content management systems like WordPress, e-commerce platforms, customer portals and API-driven applications. When a flaw exists in PHP itself, the ripple effect can touch everything from small blogs to corporate databases.

But not every PHP-powered site is vulnerable. Exposure depends on:

  • The PHP version in use
  • Whether security patches have been applied
  • Server configuration and isolation practices

Still, the sheer ubiquity of PHP means that even a small percentage of unpatched servers could translate into thousands of compromised systems worldwide.

How the ‘PHP2Shell’ flaws open the backdoor

The vulnerabilities, collectively labeled “PHP2Shell,” don’t require user interaction or authentication. They stem from two distinct memory-handling flaws:

CVE-2026-109618: The memory starvation trap

When PHP runs low on memory, improper handling of residual data can lead to memory corruption. Under specific conditions, this can be weaponized to overwrite critical memory segments, enabling remote code execution (RCE).

CVE-2026-109619: The ghost memory exploit

A more insidious issue arises when memory is freed but internal state variables retain references to it. Subsequent operations may then access or modify this “ghost” data, potentially allowing attackers to inject malicious commands that run with the same privileges as the PHP process.

In the worst-case scenario, an attacker could gain full control over the server without ever logging in—silently turning your web infrastructure into a launchpad for further attacks.

Can firewalls or workarounds save the day?

No. While web application firewalls (WAFs) or input sanitization can provide partial protection against some vectors, they cannot fully neutralize these deep-seated flaws. The PHP development team has confirmed that only patched versions eliminate the risk entirely:

  • PHP 8.5.12
  • PHP 8.4.27
  • PHP 8.3.36
  • PHP 8.2.35

Older branches—like PHP 8.1 and below—are no longer supported by official security updates, though some vendors may offer extended patches. For most organizations, upgrading remains the only sustainable solution.

What’s at stake for everyday users

Even if you don’t write a line of PHP code, your digital life could be indirectly affected. A compromised e-commerce site might expose your payment details. A hacked professional platform could leak your contact information. A breached server could be used to host phishing campaigns or distribute malware under your domain’s name.

That said, the presence of a vulnerability doesn’t guarantee exploitation. At the time of disclosure, there was no conclusive evidence of widespread attacks. Still, the threat is real enough to warrant immediate action—especially for platform owners and administrators.

Your 48-hour security checklist

For website owners and IT teams

Act today to reduce risk:

  • Audit your PHP version across all servers and applications.
  • Apply the latest security patches—version 8.5.12 or higher is strongly recommended.
  • Scan for signs of compromise by reviewing access logs, unusual processes and file changes.
  • Test compatibility before deploying updates in production environments.
  • Isolate vulnerable systems if immediate patching isn’t possible.

For everyday internet users

Stay vigilant without falling for scare tactics:

  • Keep all devices updated—browsers, operating systems and apps often include crucial security fixes.
  • Enable multi-factor authentication (MFA) on email, banking and social media accounts.
  • Avoid clicking suspicious links or downloading unverified “security patches.”
  • Monitor financial and social accounts for unauthorized activity.
  • Use strong, unique passwords and a reputable password manager.

Beyond the patch: a shift in digital resilience

This incident exposes a deeper truth about the internet’s architecture: when a foundational component like PHP is compromised, thousands of services become vulnerable at once. It’s a reminder that digital resilience isn’t just about firewalls or antivirus—it’s about continuous monitoring, rapid response and layered defenses.

Interestingly, advances in artificial intelligence played a role in detecting these flaws faster than ever before. AI-driven code analysis helped pinpoint memory anomalies that human reviewers might miss. Yet, the same technology could be exploited by attackers to automate vulnerability discovery and exploitation.

The lesson is clear: the tools we build to secure the web can also be turned against it. The only sustainable defense is proactive security—regular updates, vigilant monitoring and a culture of transparency when breaches occur.

Don’t wait for the next alert

With two zero-day vulnerabilities now in the wild, the race is on. Cybercriminals are already scanning the internet for unpatched servers. The question isn’t whether your systems are at risk—it’s whether you’re ready to act before it’s too late.

Follow storiesGet new articles in your favourite feed reader

By Henri Nkeng

Journalist