Cybersecurity & PHP 2026-11-14 ยท 6 min read

Critical PHP Security Advisory (CVE-2026-109618 & CVE-2026-109619): Impact and Patching Guide

Carlos Del Hierro
Carlos Del Hierro
Senior Drupal 10/11 & AI Architect ยท 10+ years Drupal experience
Critical PHP Security Advisory (CVE-2026-109618 & CVE-2026-109619): Impact and Patching Guide

On October 21, 2026, the PHP Group released emergency security updates addressing two critical unauthenticated Remote Code Execution (RCE) vulnerabilities: CVE-2026-109618 and CVE-2026-109619 (CVSS v4.0 score: 9.2, tracked under exploit toolchains dubbed php2shell).

1. Technical Root Cause

  • CVE-2026-109618 (OOM Handling Flaw): When PHP hits memory_limit mid-request initialization (such as multipart file uploads), it aborts via longjmp(), leaving partially initialized structures that request shutdown cleanup treats as valid memory.
  • CVE-2026-109619 (Stale Global State): Request-owned internal state can outlive its freed backing memory, allowing subsequent requests on the same worker (PHP-FPM, Apache mod_php, FrankenPHP, LiteSpeed) to exploit stale references.

2. Patched PHP Releases

Run php -v across your production servers and upgrade immediately to:

  • PHP 8.5 โ†’ 8.5.12
  • PHP 8.4 โ†’ 8.4.27
  • PHP 8.3 โ†’ 8.3.36
  • PHP 8.2 โ†’ 8.2.35

3. Temporary Workarounds

; Temporary php.ini hardening until the binary patch is deployed
session.upload_progress.enabled = Off
post_max_size = 16M
upload_max_filesize = 8M

Updating the PHP runtime and restarting worker processes remains the only complete fix.

#PHP Security #CVE-2026-109618 #PHP 8.4.27 #Drupal 11 #CISA

Want to implement this in your Drupal platform?

Have questions about this architecture, Drupal 11 + PHP 8.4, or AI/MCP workflows? Feel free to reach out and connect.