PHP2Shell: critical PHP flaws are under attack — what an online store should do this week
Two PHP vulnerabilities allow code execution on the server, and attacks have been confirmed. Who is affected, which versions are safe and what to check right now.

Image: The PHP Foundation
On 21 October the PHP Foundation shipped an urgent security release, and by 26 October exploitation in real attacks was confirmed. The US agency CISA added the flaws to its catalogue of actively exploited vulnerabilities the same day.
What happened
- CVE-2026-109618 — remote code execution via memory corruption when a request hits
memory_limit. According to the PHP Foundation, on Apache withmod_phpit can trigger before any of the site's own code runs — with default settings. On PHP-FPM, code execution was confirmed through application code paths. - CVE-2026-109619 — a use-after-free after a fatal error.
- Severity — 9.2 out of 10 (CVSS).
- Fixed versions: 8.5.12, 8.4.27, 8.3.36 and 8.2.35.
- A related flaw has no patch yet; PHP's interim advice is to disable
session.upload_progress.enabled.
BleepingComputer estimates there are more than 5 million internet-facing PHP servers.
What it means for business
WordPress and WooCommerce, Magento, OpenCart, PrestaShop, most CRMs and hosting panels run on PHP. That covers almost every small and mid-sized online store.
What to do this week:
- Ask your host or developer for the exact PHP version on your server.
- Update to one of the fixed versions (or newer).
- Disable
session.upload_progress.enabledif you don't need it. - Review web-server logs for the last two weeks for odd requests and new files in site folders.
Not sure where to start? Get in touch — we'll check your server and tell you what to update.