On 21 October 2026 the PHP project shipped emergency fixes for two critical vulnerabilities in the PHP runtime, now known as php2shell and tracked as CVE-2026-109618 and CVE-2026-109619. Both are rated 9.2 (CVSS v4.0) and both allow unauthenticated remote code execution: an attacker can run code on a vulnerable server with a single crafted request, no login required. Details leaked before the official release, and attacks were reported soon after.

  • CVE-2026-109618 is triggered by improper handling of out-of-memory conditions while PHP processes a request.
  • CVE-2026-109619 is a use-after-free caused by request state that outlives the memory it depends on.

Because the flaw sits in PHP’s own request handling, the attack lands before your application code runs. Keeping WordPress, Laravel, or any other framework up to date does not protect you. The fix has to happen at the PHP level.

Who is affected

Any PHP installation serving web requests is in scope, including PHP-FPM, Apache with mod_php, php-cgi, FrankenPHP and LiteSpeed. The PHP team rates mod_php as the highest risk.

Branch Fixed in
PHP 8.5 8.5.12
PHP 8.4 8.4.27
PHP 8.3 8.3.36
PHP 8.2 8.2.35
PHP 8.1 and older (including 7.x and 5.x) No fix from the PHP project. Upgrade to a supported branch.

What to do now

  1. Check the version your web server actually uses, not just the CLI. Run php -v and php-fpm -v, or in WordPress go to Tools → Site Health → Info → Server.
  2. Patch to a fixed release from the table above. Running a package upgrade does not guarantee you’re fixed, so confirm the version afterwards and restart PHP-FPM or your web server.
  3. Move off end-of-life PHP. If you’re on 8.1 or older, upgrade to 8.3 or newer. Take a backup or snapshot first and test your plugins and themes.
  4. Look for signs of compromise. Check for unexpected processes, files, accounts or outbound connections tied to PHP or the web server.
  5. Remember third-party systems. Appliances, containers and vendor products often bundle their own PHP.

The free self-scan

If you’re not sure whether every host was patched, our free self-scan gives you an outside-in check. It was built by White Arrow Technology, using the open-source php2shell detection logic published by the Assetnote Security Research Team.

It sends a small control request followed by up to three crafted multipart probes, escalating from about 1 MiB to 20 MiB. A target is reported vulnerable when a probe produces a PHP memory-exhaustion error, a differential empty HTTP 500, a PHP-FPM worker failure, or an advertised PHP version known to be unpatched. Ordinary 5xx responses and rejected requests are not counted as crash signals, so the test stays conservative. Probing stops once a verdict is reached, and each path receives at most about 29 MiB of probe traffic.

Why it’s strictly a self-scan

A probe like this should never be pointed at someone else’s server, so the process is designed to make that impossible:

  • You confirm authorisation. You tick a box confirming you own the target or are authorised to test it, and that the scan will send several large requests to it.
  • Your email domain must match the target. [email protected] can scan example.com or www.example.com, and nothing else.
  • You verify that email first. We send an 8-character code (we store only its hash). The scan doesn’t start until you enter it.
  • One free scan per email. Codes expire after 15 minutes and allow at most five wrong attempts. Requests are rate-limited, and private or internal hosts are rejected.

What the result means

  • VULNERABLE means “go and verify your installed PHP version and any vendor backports.” It is not proof of exploitability. On some configurations, a patched server can also exceed its memory_limit and return the same empty HTTP 500. This has been reproduced on patched PHP 8.4.27 with low memory_limit values, and on PHP 8.3.36 at 128M with a high max_multipart_body_parts.
  • SAFE means no crash signal was seen.
  • UNKNOWN / NO SIGNAL means the probe was inconclusive.

In every case, your installed PHP version is the source of truth.

How to run it

  1. Open the self-scan page: whitearrowtechnology.co.uk/php2shell-self-scan.
  2. Enter the target URL and an email address at that domain, then tick the authorisation box.
  3. Enter the 8-character code from your inbox.
  4. Read your verdict, then confirm it against your actual PHP version.

It takes about two minutes and installs nothing on your servers.

Need help across a larger estate?

Checking one site is easy. Confirming that every server, container and appliance in a business is patched is harder. White Arrow Technology can audit your PHP exposure, plan and carry out upgrades from end-of-life versions, and check for signs of compromise. Get in touch and we’ll help you get to a confirmed answer.

The php2shell self-scan was built by White Arrow Technology. Its detection logic is based on the open-source php2shell scanner from the Assetnote Security Research Team.