PHP is the server-side language behind a large part of the web. WordPress, Drupal, Joomla and MediaWiki, the software behind Wikipedia, all run on it. According to W3Techs, 69.3 percent of all websites with a known server-side language use PHP (as of October 22, 2026). This is in line with the roughly 70 percent Wiz cites. The figure describes how widely PHP is used, not how many systems are vulnerable.
Researchers Sagi Tzadik, Shir Tamari, Nir Ohfeld and Tomer Schwartz found several memory-safety bugs in the PHP core. They all arise at the same point: when PHP aborts a request because of a fatal error, usually an out-of-memory (OOM) condition. The core then does not clean up completely. A pointer to memory that has already been freed survives, and the next request in the same worker accesses it.
From this pattern, Wiz developed four attack paths. They range from reading other memory regions to executing code on the server, all without authentication. Wiz sees PHP2Shell as a turning point similar to Heartbleed (2014) and Log4Shell (2021). As with Log4Shell, the biggest challenge is how widespread the software is: PHP is embedded in web servers, container images, appliances and hosting platforms, often without showing up in the asset inventory.
Independently of Wiz, Calif and OpenAI had already reported the root cause to the PHP team in August 2026. According to Wiz, there are further variants of the same pattern beyond the four paths it demonstrated. The PHP team's patch addresses the root cause.