PHP2Shell Now Under Active Attack: CISA Orders Emergency Patching by October 29


Last week, two critical PHP flaws — dubbed PHP2Shell — made headlines as a serious risk. This week, that risk turned real. The U.S. Cybersecurity and Infrastructure Security Agency (CISA) has confirmed both vulnerabilities are now being exploited in live attacks, added them to its Known Exploited Vulnerabilities (KEV) catalog, and ordered U.S. federal civilian agencies to patch by October 29, 2026.

If you run a website on PHP — and roughly 70% of websites do — this is no longer a “patch when convenient” situation. This is a “patch today” situation.

What Changed Since Last Week

The two flaws are CVE-2026-109618 and CVE-2026-109619, both rated CVSS 9.2. Chained together, they let an unauthenticated attacker run arbitrary code on a vulnerable PHP server — no login, no password, no user interaction needed.

What changed is the evidence. Security researchers documented successful remote code execution against honeypot systems on October 24 and October 27, 2026, proving the exploit chain works outside a lab. Reports from security firms describe attack attempts surging from thousands to millions after technical details circulated. CISA’s KEV listing is the official confirmation: these flaws are being exploited in the wild, right now.

The Flaws, in Plain English

  • CVE-2026-109618 is a memory corruption flaw in how PHP handles out-of-memory errors. When a PHP process hits its memory limit and tries to shut down, the error handling can be manipulated to corrupt memory.
  • CVE-2026-109619 is a stale request-state flaw: PHP fails to properly clear internal state between requests, letting an attacker carry poisoned state from one request into the next.

Neither flaw alone is the full story. Chained together, they push a server into an unstable state where attacker commands execute. The flaws trace back to issues first spotted in a 2024 security audit — they went unfixed for years because exploitability hadn’t been demonstrated. AI-assisted research changed that equation this year.

Which PHP Versions Are Safe

PHP released fixed versions on October 21. Upgrade to one of these (or later):

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

If you run an older, unsupported PHP branch, there is no patch coming — upgrading is the only fix. That is uncomfortable, but running an unpatched internet-facing server with a known exploited RCE is far worse.

How to Check Your Own Server

Run this on your server:

php -v

Compare the version number against the fixed list above. If you use shared hosting, check your hosting control panel for the PHP version, or ask your host directly whether they have applied the PHP2Shell patches. If your host cannot confirm, that is itself an answer — consider moving.

After Patching: Hunt for Compromise

Patching stops new attacks, but it does not undo an attack that already happened. Before you relax:

  • Check web server logs for unusual requests, especially repeated requests hitting the same endpoints.
  • Look for unexpected files in your web directories, especially recently modified PHP files you did not create.
  • Review running processes and scheduled tasks (cron jobs) for anything unfamiliar.
  • If anything looks off, treat the server as compromised: restore from a known-clean backup, rotate credentials, and investigate before putting it back online.

The Lesson

The gap between “vulnerability disclosed” and “vulnerability exploited at scale” is now measured in days, not months. Attackers automate fast, and AI-assisted research is shrinking that window further. The defense is boring but effective: know what software you run, patch on a schedule, and check your version the day a critical flaw is announced — not the week after.

Patch PHP today. Then check the logs. In that order.

Comments

Popular Posts