Aamir Lakhani, Global Director of Threat Intelligence and Adversarial AI Research, Fortinet

The PHP project released security updates on 21 October, 2026. Fixed upstream releases are PHP 8.2.35, 8.3.36, 8.4.27, and 8.5.12. Organizations using distribution or application-vendor packages should confirm which package contains the fix, as vendors may backport security changes without adopting the upstream version number.

PHP 8.1 and earlier no longer receive standard security releases from the PHP project. Organizations using these branches should check whether vendors provide supported backports or offer an upgrade to a supported version. The PHP project has also provided limited source backports for select older branches, which require suitable build and deployment expertise.

1. Identify affected deployments

  • Use external attack surface management to help discover internet-facing assets. Include those missing from existing inventories, and prioritize potentially exposed PHP services
  • Confirm and record each deployment’s active PHP version, deployment model, application owner, and patch status
  • Include containers, managed hosting, and third-party applications that bundle PHP
  • Confirm remediation plans with the providers responsible for those environments

2. Test and deploy the update

  • Test the PHP update against critical application workflows and dependencies
  • Deploy the appropriate patched PHP runtime or vendor-provided package
  • Restart or replace affected PHP workers and containers as needed
  • Verify that the running web service uses the patched runtime and that older worker processes have stopped (a completed package update alone does not confirm that the fix is active)

3. Apply interim controls

While preparing and deploying the PHP update:

  • Enable relevant virtual patching, intrusion prevention system protections, and web application firewall protections
  • Review the PHP advisory for temporary configuration measures appropriate to your deployment
  • Place systems that do not need to be internet-facing behind a VPN or SASE to reduce exposure
  • Restrict access to affected services where practical
  • Consider temporarily isolating the affected service until it can be patched (if these measures cannot adequately control exposure)

4. Investigate potential compromise

  • Review suspicious web requests, unexpected PHP worker crashes, unexplained process execution, modified application files, and unusual outbound connections
  • Preserve evidence and investigate persistence mechanisms and exposed credentials if compromise is suspected. Note: installing the fix will not remove an attacker who has already gained access
  • Note that temporary configuration changes address only specific attack paths. For example, disabling session upload progress may reduce exposure to confirmed session-related paths for CVE-2026-109619, but it does not cover all variants. The PHP project states that updating is the complete solution. Follow its current advisory rather than treating a single setting or traffic rule as a comprehensive fix
  • One technique called virtual patching may be used where available, where network inspection identifies and blocks known exploitation techniques before they reach a vulnerable system. It reduces exposure without changing application code, giving teams time to test the PHP update and complete the necessary operational work