Two critical PHP flaws, found with the help of AI, allow remote code execution

21/10/2026

Wiz researchers used artificial intelligence models to find two vulnerabilities in the core of PHP that had been present for over a decade. The project has released fixed versions and urges users to update immediately.

Two critical PHP flaws, found with the help of AI, allow remote code execution

Wiz Research, the research team at cybersecurity company Wiz, has discovered two critical vulnerabilities in the PHP engine with the help of artificial intelligence. For the work it used its Wiz Atlas tool together with the Gemini 4 Argon and GPT-5.6 Sol models. According to the company, these models helped adapt the exploit to different PHP versions and configurations, a task that previously required months of work by an expert team and that a single researcher completed in one week.

The flaws, registered as CVE-2026-109618 and CVE-2026-109619, reach a severity of 9.2 on the CVSS scale and allow an unauthenticated attacker to run code on a server remotely or read data from the process memory, such as passwords or access keys. PHP is the language behind content management systems such as WordPress, Drupal and Joomla and, according to Wiz, powers 70% of websites.

Both errors stem from how PHP handles fatal errors, especially running out of memory. When a request is abruptly interrupted, a corrupted internal state can be left behind, and a later request handled by the same process reuses it. Wiz states that the affected code has been there for more than a decade and that every version since 5.4 suffers from at least one of the flaws. Its researchers demonstrated unauthenticated remote execution on the latest WordPress, Drupal and Joomla images, and stress that the problem lies in PHP and not in those applications.

The PHP project has released versions 8.5.12, 8.4.27, 8.3.36 and 8.2.35, and recommends updating immediately. Versions 8.1 and earlier no longer receive official support, although it offers minimal fixes for 7.4, 8.0 and 8.1. For those who cannot update, it suggests some partial measures, such as disabling session upload progress tracking or limiting the maximum request size, and warns that only updating fully resolves the problem.

Key points

  • Wiz finds, with the help of AI, two critical vulnerabilities in the PHP engine.
  • It used Wiz Atlas, Gemini 4 Argon and GPT-5.6 Sol to adapt the exploit.
  • A single researcher achieved it in one week, according to Wiz.
  • They allow remote code execution or reading server memory.
  • They affect every version since PHP 5.4, according to Wiz.
  • PHP releases versions 8.5.12, 8.4.27, 8.3.36 and 8.2.35.
  • The flaws are in PHP, not in WordPress, Drupal or Joomla.
  • Their severity reaches 9.2 on the CVSS scale.
  • Versions 8.1 and earlier have no official support.
  • Partial measures do not replace updating.

Lastest news

★★★★★
Rate us on Google
This website uses technical, personalization and analysis cookies, both our own and from third parties, to facilitate anonymous browsing and analyze website usage statistics. We consider that if you continue browsing, you accept their use.