Why This PHP Advisory Matters for Production Teams
Emergency security updates across PHP 8.2, 8.3, 8.4, and 8.5 address critical Remote Code Execution (RCE) flaws tracked as CVE-2026-109618 and CVE-2026-109619 (widely referred to as php2shell, CVSS 9.2), alongside CVE-2026-129289 in PHP-FPM/LSAPI request handling.
1. Root Cause Overview
Under specific out-of-memory (OOM) or fatal error conditions—such as malformed multipart file uploads hitting memory limits—partially initialized request state can trigger memory corruption or use-after-free conditions. Because these paths occur early in request lifecycle handling, unauthenticated attackers can target exposed PHP-FPM endpoints.
2. Required Patched Versions
- PHP 8.3 branch: Upgrade immediately to 8.3.37 or later.
- PHP 8.4 branch: Upgrade immediately to 8.4.28 or later.
3. Verification & Hardening Checklist
- Verify your active CLI and FPM binaries with
php -vandphp-fpm -vafter restarting services—package managers sometimes update CLI without reloading FPM workers. - Enforce strict
upload_max_filesize,post_max_size, andmemory_limitceilings at both the reverse-proxy and PHP-FPM pool levels. - Disable dangerous unused functions in production
php.iniand isolate FPM pools per application user.
Need help auditing or patching your production PHP servers? Explore our Maintenance & Support or Cloud & DevOps retainers.
Written by
Admin Softhuge
Building resilient, high-performance digital products at Softhuge Technologies — Flutter mobile development, Laravel SaaS and cloud-scale systems.