Insights

PHP2Shell Vulnerability: What the AI-Found PHP Flaw Means for Your Business

Governments and companies around the world are racing to fix two critical flaws in PHP, the programming language behind roughly 70% of the world’s websites, according to CNN. The vulnerabilities were announced on Wednesday, and some sites and services briefly went dark. Japanese airline ANA, railway operator JR West and bank MUFG suspended some webpages. Government sites in France, Denmark, Finland and the Netherlands went offline during fixes, and nearly three dozen UK government services were unavailable on Thursday. Some users online are calling it Black October.

The flaws, known as PHP2Shell, sat inside PHP for about a decade. AI made them practical to exploit. Whether you run a PHP site yourself or rely on vendors that do, you have a patch window measured in days, and it is open right now.

Quick Answer: PHP2Shell is the name for two critical PHP flaws, CVE-2026-109618 and CVE-2026-109619, that can expose sensitive memory and, according to Cloudflare, allow remote code execution. You fix it by updating PHP to 8.2.35, 8.3.36, 8.4.27 or later, and by confirming that every vendor running PHP on your behalf has done the same.

What Is the PHP2Shell Vulnerability?

PHP2Shell is a pair of bugs in how PHP works with a computer’s memory. When a website request ends unexpectedly, PHP can leave data behind in memory. An attacker can later read or corrupt that data, which can include passwords and other sensitive information. Cloudflare says the flaws can also let attackers run code remotely and disrupt services.

Researchers at OpenAI, Wiz and Calif found the bugs in late August. The PHP Foundation built a patch before the public announcement and is urging every website operator to update immediately.

How AI Turned a Decade-Old Flaw Into a Live Threat

The flaws were old. The hard part was exploiting them, which Wiz describes as an exceptionally complex chain of steps at the edge of what human researchers could practically achieve. Frontier AI models lowered that barrier. Wiz says a single researcher finished in a week what would previously have taken a world-class team months.

Attackers moved just as fast. Cloudflare’s CEO said on X that its network observed millions of exploit attempts within days, and Wiz compares the moment to Heartbleed in 2014. Amplix flagged AI-automated vulnerability discovery as a rising risk in 5 Cybersecurity Threats You Can’t Ignore. PHP2Shell is that warning arriving at internet scale.

The gap between disclosure and attack keeps shrinking, and your patch process has to shrink with it.

Who Is Exposed to the PHP Vulnerability?

If you run any public website or application on PHP, you are exposed until it is patched. That includes many content management systems and ecommerce platforms.

You are also exposed through vendors. Nigel Green, CEO of deVere Group, told CNN that booking platforms, marketplaces, subscription services, ticketing sites, delivery apps and utility portals could all hold card details on systems built with the same kind of code. Shared software spreads problems quickly, as the 2024 CrowdStrike outage showed when one mistake in widely used software rippled through airlines and healthcare.

What to Do This Week

  • Inventory first. List every public website and application you own, and mark which ones use PHP.
  • Update PHP. Move to 8.2.35, 8.3.36, 8.4.27 or later, and upgrade every PHP package together.
  • Verify the running version. Check php -v, then confirm it matches the PHP-FPM or Apache build serving your site.
  • Ask your vendors. Request written confirmation of patch status. Vendors can backport fixes to older versions, so compare the full package revision against their advisory.
  • Review your logs. Look for unusual requests to PHP applications since Wednesday.
  • Check your incident response plan. Confirm contacts, escalation paths and recovery steps are current before you need them.

A Hard Lesson in the Middle of Cybersecurity Awareness Month

October is Cybersecurity Awareness Month, and keeping software up to date has been on its checklist for years, as our look at user cybersecurity behavior covers. This week shows why that habit has to extend from personal devices to every server and vendor system your business depends on.

How Amplix Can Help

A defensible response starts with knowing what you run and where it is exposed. Our guide to building a defensible security posture explains how to move from policy on paper to proof you can show an auditor.

Amplix cybersecurity advisory, including 24By7Security, helps you find exposure across your sites and vendors, test your defenses, and build an incident response plan that works when the next disclosure lands.

Request a security risk assessment to see where PHP, and every other fast-moving risk, sits in your environment.


Frequently Asked Questions

What is PHP2Shell?

PHP2Shell is the name for two critical flaws in PHP, tracked as CVE-2026-109618 and CVE-2026-109619. They involve how PHP handles memory when a website request ends unexpectedly. Attackers can read sensitive data left in memory and, according to Cloudflare, may also run code remotely or disrupt services. Researchers at OpenAI, Wiz and Calif found the flaws, and they were announced publicly on Wednesday, October 21, after the PHP Foundation released a patch.

Is my website affected by the PHP vulnerability?

Your website is affected if it runs a PHP version that has not received the fix. That includes sites you host yourself and sites hosted by vendors, agencies and platforms on your behalf. PHP powers roughly 70% of websites, so assume exposure until your IT team or vendor confirms the patch status in writing.

Which PHP versions fix PHP2Shell?

Vendor release notes list PHP 8.2.35, 8.3.36 and 8.4.27 as fixed releases. For other branches, including 8.5 and versions that no longer receive support, check the PHP Foundation advisory or ask your vendor, because backported fixes can apply to older versions.

How do I check my PHP version?

Run php -v on the server, then confirm the result matches the PHP-FPM or Apache build that actually serves your site, since a server can run more than one PHP version. If you cannot access the server, ask your host or vendor for the version and the full package revision, and compare both against their security advisory.

Should I take my website offline?

Patching quickly is the goal, and taking a site offline is a risk decision for your team. Japan’s prime minister told companies to consider suspending services if necessary while they apply the fix, and several organizations temporarily pulled pages offline. If you cannot patch a public-facing PHP application within days, talk to your security team about limiting access until you can.


Learn more about our content creation process

Share this:

Key Takeaways:

• PHP2Shell is a pair of critical PHP flaws (CVE-2026-109618 and CVE-2026-109619) that can expose memory and allow remote code execution.
• Update PHP to 8.2.35, 8.3.36, 8.4.27 or later, and upgrade every PHP package together.
• Ask each vendor that handles your data on PHP to confirm in writing that it has patched.
• AI shortened the time between disclosure and attack, so patch processes need to move in days.
• Cybersecurity Awareness Month advice to keep software updated now applies to every server and vendor system you depend on.


Share this:

Insights in Your Inbox

Never miss what’s new from Amplix! Subscribe to get notified.

Ready to amplify your technology investment?