Published 21 October 2026 by the PHP project · Summary updated
php2shell, explained.
CVE-2026-109618 and CVE-2026-109619 are two critical flaws in PHP itself, each rated CVSS 9.2. Here is what you need to know.
What it is.
- CVE-2026-109618: remote code execution via memory corruption when PHP runs out of memory mid-request.
- CVE-2026-109619: remote code execution via stale state that one request leaves behind for the next request on the same worker.
- Neither requires a login. An attacker only needs to reach your website.
Who is affected.
- Every PHP version before 8.2.35, 8.3.36, 8.4.27 and 8.5.12.
- All common setups: PHP-FPM, Apache mod_php (highest risk), php-cgi, FrankenPHP and LiteSpeed.
- That includes WordPress, WooCommerce, Magento, Drupal, Laravel, Symfony, CodeIgniter and custom PHP sites.
Is it being exploited?
Yes. Exploitation attempts were observed on 17 October 2026, before public disclosure, and security researchers report that php2shell is now being broadly exploited. Automated scanners will find unpatched servers.
What to do now.
- Update PHP to a fixed release, or install your Linux distribution’s security update. This is the only complete fix.
- If you can’t update today, apply the PHP project’s interim settings (such as
session.upload_progress.enabled=0) and restart PHP. - Check for signs of compromise, since attacks started before the patch.