Security

PHP Vulnerabilities and How to Protect Your Website

Does your website, store, or API run on PHP? If you use Magento Open Source, Adobe Commerce, WordPress, WooCommerce, Laravel, or a custom PHP application, check the runtime serving your site. That includes setups using NGINX with PHP-FPM, Apache with mod_php, LiteSpeed, and PHP running in containers or on managed hosting.

Recent PHP runtime disclosures make timely patching critical for live web applications. Understanding the affected versions, checking your active server build, and verifying post-update workflows can help protect your site against service disruption and unauthorized access.

What PHP2Shell and the November Fixes Mean for Your Site

On 21 October, PHP disclosed two critical vulnerabilities in its core runtime, known as PHP2Shell. Both can allow remote code execution without a login:

  • CVE-2026-109618 affects how PHP cleans up a request after running out of memory.
  • CVE-2026-109619 can leave a PHP worker with a reference to memory that has already been released.

On 19 November, follow-up releases addressed gaps in the original CVE-2026-109619 fix on affected branches and patched additional vulnerabilities. Examples relevant to web deployments include CVE-2026-129289 in PHP-FPM request handling, CVE-2026-115560 in session upload progress handling, and CVE-2026-126714 in file-based sessions. These flaws can allow code execution in certain configurations, so check the full advisory list for the PHP version and features your site uses.

For an ecommerce store, a worker crash can interrupt checkout or payment callbacks. If an attacker gains code execution, they could access or alter order data, application files, or credentials that the PHP process can reach. Exposure depends on the deployed PHP build and server configuration, even when the application and its extensions are up to date.

Affected and Patched PHP Versions

In your hosting panel, look up the PHP version assigned to the live site. Ask your host or DevOps team to confirm the exact build running on every web server or container serving the storefront, admin panel, and APIs. Running php -v reports the command-line version, which can differ from the version handling web requests. Compare the live build with the table below, and for hosting or OS packages with backported fixes, check the exact package revision against the vendor’s security advisory.

PHP Branch Upstream Versions Affected by October PHP2Shell Initial October Patch November Update Covering Both Rounds
8.2 8.2.0–8.2.34 8.2.35 8.2.36
8.3 8.3.0–8.3.35 8.3.36 8.3.37
8.4 8.4.0–8.4.26 8.4.27 8.4.28
8.5 8.5.0–8.5.11 8.5.12 8.5.13

Google Cloud also identifies PHP 5.4 through 8.1 as affected. These branches are out of upstream support, so if you depend on a vendor-maintained build, verify its patch coverage and plan a move to a supported branch. If you applied only the October patch, move to the November build in the table or a newer compatible patched release. Applicability of individual November CVEs varies by branch and configuration, and PHP 8.6.0, released on 19 November, also includes the fixes. Confirm platform and extension compatibility before changing branches.

Remediation Steps for Live Deployments

Patching and verification should follow a structured sequence so live traffic and critical workflows stay protected:

  • Patch exposed PHP services first, prioritizing internet-facing sites and APIs. Confirm compatibility with your platform and extensions, then apply a build that covers both rounds or the vendor’s equivalent package. If deployment must wait, restrict exposure where practical and use vendor-recommended web application firewall controls while the patch is prepared.
  • Deploy and verify by restarting the services that run PHP or redeploying the patched containers. Confirm the live build on every instance, place a test order on stores to check payment callbacks, order status updates, and stock changes, and verify login, forms, and uploads on websites.
  • Investigate suspicious activity promptly. If you see unexplained PHP worker crashes, unexpected file changes, or unusual admin activity, preserve relevant logs and involve your incident response team.

Our team at Tridhya Tech can verify the live PHP build, choose a compatible update, coordinate the rollout with your hosting team, confirm the fix in production, and test the workflows your business depends on, including checkout and payment confirmation.

Protect Your PHP Storefront and Web Applications

At Tridhya Tech, we help organizations audit runtime configurations, apply security updates safely, and keep mission-critical web platforms running smoothly. Contact us to check your exposure, plan your PHP update, and verify post-deployment stability.

Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.