Skip to Content
Security News

PHP Ships Emergency Patches for Two Critical 'PHP2Shell' Flaws

PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35 fix two unauthenticated remote code execution flaws rated 9.2 that affect PHP 5.4 through 8.5.11. Update: attacks are confirmed and CISA has added both to its KEV catalog.

NexGenex Labs Research TeamNews
PublishedUpdatedReading time2 min read
PHP Ships Emergency Patches for Two Critical 'PHP2Shell' Flaws

Update: now exploited

Updated November 14, 2026. Successful remote code execution was reported against mod_php honeypots on October 24, and CISA added both CVEs to its Known Exploited Vulnerabilities catalog on October 26 (federal deadline October 29). Unpatched servers should be treated as possibly compromised.

The update

The PHP project released emergency security updates on October 21, 2026 for two critical flaws in the PHP runtime, nicknamed PHP2Shell. A leak on October 20 moved the release forward by a day.

Key facts

  • CVE-2026-109618 (out-of-memory) and CVE-2026-109619 (session upload progress), both rated 9.2 on CVSS v4.0.
  • No login needed: one crafted request can be enough on Apache mod_php.
  • Affected: PHP 5.4 through 8.5.11. Fixed: 8.5.12, 8.4.27, 8.3.36, 8.2.35.
  • Exploited in the wild: confirmed RCE on October 24; added to CISA KEV on October 26.

What to do now

Update PHP, restart Apache, PHP-FPM and all workers, and check your Linux distribution's changelog for the CVE IDs. Read our full analysis and mitigation guide for stopgaps and signs of compromise.

Have a project like this in mind?

Talk To Our Team →
Stay In Sync

Sync WithNexGenEx

Receive the weekly protocol stream. Join 10k+ innovators in the NexGenEx decentralized network.