PHP2Shell: critical PHP vulnerabilities and a business response plan

Two critical vulnerabilities, confirmed exploitation and a runtime update. What should an online store or application owner check?

Information checked on 9 November 2026.

What happened

The October vulnerabilities known as PHP2Shell affect the PHP runtime itself. CVE-2026-109618 concerns out-of-memory handling; CVE-2026-109619 involves request state surviving in a worker after its backing memory is freed. They can allow remote code execution without authentication. The PHP team explains the mechanisms in its first and second security advisory.

Fixes are available in PHP 8.2.35, 8.3.36, 8.4.27 and 8.5.12. Older distribution packages require confirmation of a backported fix from their vendor. Configuration changes alone do not replace patching. PHP release announcement

On 26 October, CISA added both flaws to its catalog of vulnerabilities exploited in real attacks. That makes this an urgent maintenance task, rather than something to postpone until a website redesign. CISA announcement

What it means for a business

A company may run several independent PHP installations: a store, forms, an administration panel and an older application on another server. Updating one project does not establish that the others are protected. Updated CMS plugins are not evidence that the underlying interpreter is current either.

Assign one person to collect confirmations from the administrator, hosting provider and development suppliers. Each maintenance ticket should identify the services, technical owners, deployment deadline and verification method. This gives a statement such as “updated” a clear scope.

A practical response plan

  1. Inventory the services. Check the runtime handling web requests, every pool, container and standby instance. A terminal's php -v output may describe a different interpreter.
  2. Prepare the deployment. Verify backups, extension compatibility and the recovery plan. Test login, checkout, payments, forms and background jobs.
  3. Deploy the patched package. Follow the vendor's procedure and replace workers that could still be running the previous version.
  4. Keep evidence. Record the package version, vendor advisory, deployment time and the result of a test against the running service.

Patching removes a vulnerability; it does not establish whether a compromise happened earlier. Unexpected files, accounts or connections require separate investigation. If those signals appear, preserve logs and activate the incident response process.

Routine application maintenance should name the owner of security updates and define response times. That makes an urgent change easier to complete without negotiating responsibilities on the day an alert arrives.