Severe "PHP2Shell" Flaws Expose Tens of Millions of Servers

Severe "PHP2Shell" Flaws Expose Tens of Millions of Servers

A major security crisis has surfaced across internet infrastructure following the disclosure of two critical vulnerabilities embedded directly within the core PHP interpreter, collectively designated by researchers as PHP2Shell.

A major security crisis has surfaced across internet infrastructure following the disclosure of two critical vulnerabilities embedded directly within the core PHP interpreter, collectively designated by researchers as PHP2Shell.

The security flaw grants unauthenticated remote attackers the ability to execute arbitrary code (RCE) and take full administrative control over target infrastructure. Notably, exploitation takes place during initial HTTP request handling at the web server layer, before any application-level scripts begin execution.

Key technical specifications from vulnerability databases:

  • CVE-2026-109618: An Out-of-Memory (OOM) error handling breakdown. Maliciously crafted requests trigger memory exhaustion during request setup, causing cleanup routines to process corrupted states as valid memory.

  • CVE-2026-109619: A Use-After-Free (UAF) flaw tied to longjmp() flow interruptions, leaving global pointers attached to deallocated memory segments.

  • Severity Classification: Evaluated at a Critical score of 9.2 out of 10 under the CVSS v4.0 framework.

Because PHP underpins roughly 70% of the world's web services and content management platforms, telemetry data confirms widespread exposure. Network scans via Palo Alto Networks Cortex Xpanse detected over 22.6 million internet-facing instances exposed to the vulnerability, while telemetry from Censys mapped 36.7 million exposed services actively running susceptible versions.

To counter active exploitation risks, official security releases have been made available across all active PHP branches:

  • PHP 8.5 Branch: Patched in PHP 8.5.12

  • PHP 8.4 Branch: Patched in PHP 8.4.27

  • PHP 8.3 Branch: Patched in PHP 8.3.36

  • PHP 8.2 Branch: Patched in PHP 8.2.35

For legacy, End-of-Life (EOL) releases covering PHP 5.4 through PHP 8.1, upstream builds are unavailable; systems still running these legacy versions must rely on backported packages maintained by operating system distributions and open-source communities.

With obsolete environments cut off from official upstream support, system migration has shifted from an optional roadmap item to an operational imperative for both developers and enterprise organizations. Accelerating migration to supported runtime baselines is now essential to insulate operations from systemic disruption, prevent catastrophic data breaches, and permanently retire legacy technical debt.

Back to all news

Comments (0)

No comments yet. Be the first to share your thoughts.

Leave a comment

Comments appear on the site once our team has reviewed them.

Your email is never shown publicly. Only our team can see it.

Related articles

LET'S BUILD SOMETHING MEANINGFUL.

Start by telling us your challenge or idea.

We look forward to your enquiry or request for a quote.