PHP runs a large share of the web, including WordPress, Magento and WooCommerce stores. Researchers from Calif, OpenAI and Wiz found two remote code execution bugs in PHP itself, tracked as CVE-2026-109618 and CVE-2026-109619. PHP released fixes in its October 2026 security release (21 October 2026).

Who is affected

The bugs go back to PHP 5.4.0. Whether a site can be attacked depends on the PHP version and how PHP runs (Apache mod_php or PHP-FPM). Calif confirmed exploitable setups in:

  • WordPress 7.1.2, Drupal 11.4.3, Joomla 6.1.4 and MediaWiki 1.46.2
  • Magento 2.4.9, Nextcloud 35.0.1, Roundcube 1.7.4, phpMyAdmin 5.2.3 and WHMCS
  • Laravel 13.11 and Symfony 8.1

For several of these apps the attack works without logging in.

What goes wrong

PHP limits how much memory a request may use (128 MB by default). If a request hits that limit at just the wrong moment, PHP stops with a fatal error halfway through updating its own bookkeeping. Some of that half-finished state survives and is reused by a later request, which is a classic use-after-free. An attacker who can force the memory error at the right point can turn the leftover state into running their own code.

How it was found

The researcher worked with an AI assistant and an audit agent, using publicly available models and no special tooling. Knowing PHP’s history of similar bugs helped point the AI at the right code.

What to do now

  • Update PHP to the October 2026 security release for your branch, on every server and in every Docker image.
  • Ask your host. On shared or managed hosting the PHP version is often controlled by the provider. Confirm they have updated.
  • Temporary workaround only: for PHP-FPM, set session.upload_progress.enabled=0 and memory_limit=-1. For mod_php, set memory_limit=-1. Removing the memory limit makes it easier for one heavy request to exhaust the server, so treat this as a stop-gap until you can update.
  • Keep plugins, themes and extensions updated as well, and watch for unexpected admin users or files in upload folders.

Not sure if this affects you? Talk to us and we will check your WordPress, WooCommerce or Magento store and plan the update with you.

Source

This article summarises PHP2Shell: A tale of two PHP remote vulnerabilities, published by Calif on 21 October 2026 (research by Ryan Austin, with OpenAI and Wiz). Read the original for the full technical details.