PHP2Shell: PHP Patches Two Critical RCE Vulnerabilities, Urges Immediate Updates

Source: Vulnerabilities and Threat Research – Qualys Security Blog

Author: Saeed Abbasi

URL: https://blog.qualys.com/vulnerabilities-threat-research/2026/10/20/php-announces-critical-security-release-for-two-vulnerabilities

ONE SENTENCE SUMMARY:

PHP patched two critical unauthenticated RCE flaws; internet-facing mod_php/FPM must upgrade, verify running runtimes, and apply mitigations temporarily.

MAIN POINTS:

  1. Two vulnerabilities, CVE-2026-109618 and CVE-2026-109619, enable unauthenticated remote code execution.
  2. Each issue is rated CVSS v4.0 9.2, demanding urgent remediation prioritization.
  3. Apache mod_php is especially exposed because exploitation can occur before application code.
  4. Cloudflare observed active attack traffic, including attempts to evade protective controls.
  5. Out-of-memory interruption can leave partially initialized request state, leading to corruption and RCE.
  6. Use-after-free arises when stale global references persist across worker requests, enabling RCE.
  7. Researchers demonstrated unauthenticated PHP worker memory disclosure, leaking secrets like API keys.
  8. Fixed versions are PHP 8.5.12, 8.4.27, 8.3.36, and 8.2.35.
  9. End-of-life branches need vendor builds, source backports, or upgrades to supported releases.
  10. Mitigations include disabling session upload progress, adjusting memory_limit, and restarting workers.

TAKEAWAYS:

  1. Patch internet-facing PHP stacks first, focusing on mod_php and long-lived workers.
  2. Validate vendor package versions carefully because backports may mask upstream version numbers.
  3. Confirm remediation by restarting services/containers and ensuring the runtime serving traffic is patched.
  4. Use temporary hardening only as stopgaps, then roll back emergency settings after patching.
  5. Inventory all PHP instances, including parallel installs and containers, to avoid missed vulnerable runtimes.