Synex

3 min read515 words 4

Two Critical Remote Code Execution Flaws Hit PHP Core

PHP2Shell Strikes: Two Critical Remote Code Execution Flaws Hit PHP Core

PHP powers a massive share of the web. On October 21, 2026, the PHP project released emergency patches for two critical vulnerabilities that allow unauthenticated remote code execution. Known publicly as PHP2Shell, the flaws (CVE-2026-109618 and CVE-2026-109619) sit deep in the language runtime itself. They affect how PHP handles out-of-memory conditions and request state, independent of any application code running on top.

Security teams and site operators moved quickly once details leaked the day before the planned release. Exploitation attempts appeared in the wild even before the fixes landed. If your servers still run unpatched PHP, this is the moment to act.

Yellow caution tape on orange background source: Ars Technica

What Exactly Happened

CVE-2026-109618 involves out-of-memory corruption. PHP uses longjmp() to abort a request when memory runs out. In certain contexts the cleanup code that follows can treat partially initialized request memory as valid. Attackers can force these conditions with crafted requests, leading to remote code execution or memory disclosure.

CVE-2026-109619 centers on stale global state. Request-owned internal pointers can survive after their memory is freed. A later request handled by the same worker process may then use that stale state, again enabling use-after-free and RCE.

Both received a CVSS v4.0 score of 9.2 (Critical). The highest risk is on Apache with mod_php, where a demonstrated exploit can trigger before any application code runs. PHP-FPM, php-cgi, FrankenPHP and LiteSpeed are also considered exposed. Researchers confirmed the issues affect supported branches and noted broader historical impact reaching back further, though only current branches received official fixes.

PHP2SHELL title graphic – two pre-auth RCE flaws in PHP core source: ELLIO

Patch Immediately and Reduce Exposure

Fixed versions released on October 21, 2026 are:

  • PHP 8.5.12
  • PHP 8.4.27
  • PHP 8.3.36
  • PHP 8.2.35

Upgrade as soon as possible. Linux distributions received the patches in advance, so vendor packages may already be available. Until the upgrade is complete, partial mitigations include setting session.upload_progress.enabled=0 (and fatal_error_backtraces=0 on PHP 8.5), restarting workers, and carefully reviewing memory limits. These steps are incomplete on their own.

Watch for related discussion and technical walkthroughs. One clear overview of the impact appears here: The PHP RCE is Insane.

The internet runs on PHP for a reason, yet core runtime bugs of this severity demand fast response. Patch, monitor logs for unusual multipart or upload-progress activity, and verify your version today.

Illustrated PHP elephant with red marks indicating vulnerability source: PHP News

Yellow caution tape on orange background source: Ars Technica

What steps have you already taken on your servers? Drop a comment below, hit like if this helped you prioritize the update, and subscribe for the next critical security briefing. Stay sharp.

You can write and read similar articles at the Cizeex app.

#PHP2Shell #CVE2026109618 #CVE2026109619 #PHPSecurity #CyberSecurity

Sources

  • NVD and CVE.org records for CVE-2026-109618 and CVE-2026-109619
  • PHP Group security advisories (GHSA-w8hw-w9fx-j79w and GHSA-6wmf-4rv5-p3rp)
  • JFrog Security Research, Sansec, Qualys, and official PHP release notes, October 21, 2026

Read the next story first in the Cizeex app.

CIZEEX
PREPARING