PHP2Shell: What eCommerce Merchants Need to Know About CVE-2026-109618 and CVE-2026-109619

22 Oct 2026
Albert Wood
Albert Wood
PHP2Shell: What eCommerce Merchants Need to Know About CVE-2026-109618 and CVE-2026-109619

If your eCommerce store runs on Adobe Commerce (Magento), WooCommerce, or WordPress, PHP security directly affects your business.

On October 21, 2026, the PHP project released emergency patches for two critical vulnerabilities, CVE-2026-109618 and CVE-2026-109619, collectively known as PHP2Shell.

These vulnerabilities affect PHP itself, meaning updates to your eCommerce platform, themes, or extensions alone may not protect your store if the server runs a vulnerable PHP version. Successful exploitation could expose sensitive data, enable unauthorized code execution, and disrupt store operations.

In this post, ioVista explains what PHP2Shell means for eCommerce businesses, how to check whether your environment is affected, and the steps merchants and technical teams should take to reduce security risks.

Quick Answer: What is PHP2Shell and How Do You Fix It?

PHP2Shell refers to two critical PHP flaws (CVE-2026-109618 and CVE-2026-109619) that may allow unauthenticated remote code execution or memory disclosure. Magento, Adobe Commerce, WooCommerce, and WordPress merchants should urgently verify the PHP runtime, install a compatible patched PHP release (8.5.12, 8.4.27, 8.3.36, or 8.2.35) or a verified vendor backport, restart affected services, and validate the live environment. A WAF is an added safeguard, not a substitute for patching.

What is PHP2Shell? CVE-2026-109618 and CVE-2026-109619 Explained

PHP2Shell refers to two critical vulnerabilities in PHP, the programming language that powers many websites and eCommerce platforms. On October 21, 2026, the PHP project released security patches for both vulnerabilities. Researchers from Calif, OpenAI, Wiz, and Quarkslab participated in the coordinated disclosure and response.

Both vulnerabilities can potentially allow Remote Code Execution (RCE), which means an attacker could execute malicious code on a vulnerable server without authenticating. For eCommerce businesses, this could put store operations, customer data, and connected systems at risk.

PHP2Shell at a Glance

Detail Information
CVE Identifiers CVE-2026-109618 andCVE-2026-109619
Vulnerability Types Remote code execution caused by out-of-memory (OOM) corruption and stale global state
Severity Critical: CVSS v4.0 score of 9.2 for both vulnerabilities
Authentication Required None; successful exploitation depends on the relevant server configuration and attack conditions
Potential Impact Unauthorized code execution and exposure of sensitive server memory
Affected PHP Versions Vulnerable code exists in PHP versions dating back to 5.4.0; exposure depends on the specific code path and configuration
Fixed PHP Versions PHP 8.5.12, 8.4.27, 8.3.36, and 8.2.35
Official Resources PHP Release Announcement, PHP2Shell, and PHP Foundation Statement

How do the PHP2Shell Vulnerabilities Work?

The two PHP2Shell vulnerabilities involve different memory-handling errors.

One involves memory corruption following an out-of-memory condition; the other involves request-owned state that remains accessible after its backing memory is released. Both can expose PHP workers when an unsafe state is reused during cleanup or later requests.

CVE-2026-109618

When PHP runs out of memory, it may interrupt execution before certain internal data is fully initialized. During cleanup, PHP may treat this incomplete data as valid, potentially causing unsafe memory access and enabling further exploitation.

CVE-2026-109619

Certain fatal errors, session operations, or other diagnostics can leave PHP worker state pointing to memory from a completed request. When a later request reaches the same worker, PHP can access this released memory, potentially exposing data or enabling remote code execution.

Why PHP2Shell Matters for eCommerce Businesses

PHP2Shell affects PHP itself, not just a specific plugin, theme, or eCommerce platform. This means your Adobe Commerce (Magento), WooCommerce, or WordPress store could be at risk if its server runs a vulnerable PHP version.

  • Multiple Platforms are Affected:The risk depends on the PHP version, server configuration, and reachable request paths; Apache mod_php is particularly urgent because unauthenticated exploitation has been demonstrated before application code runs.
  • Updating Plugins is NOT Enough:Patching Adobe Commerce (Magento), WooCommerce, or their extensions does not fix a vulnerable PHP runtime.
  • Your Server Needs Attention:PHP installations using PHP-FPM, Apache with mod_php, php-cgi, FrankenPHP, or LiteSpeed may be affected. PHP-FPM is not inherently safe; a separate request-lifecycle exploit has also been demonstrated against it. Check the official PHP security advisory for details.

PHP2Shell: Key Security Risks for Online Merchants

Online stores handle sensitive customer information, process orders, and connect to payment gateways, ERP systems, and shipping providers. If an attacker exploits PHP2Shell on a vulnerable server, these systems and business operations could be at risk.

Here are the key risks eCommerce merchants should understand:

  • Customer Data Exposure: Attackers who gain access to your server could potentially access customer records, order histories, and account credentials.
  • Payment Security Risks: Unauthorized server access could allow attackers to tamper with checkout pages or inject malicious code to capture payment information.
  • Stolen API Keys: Exposed server memory or compromised files could reveal credentials used to connect payment gateways, ERP systems, and marketing platforms.
  • Downtime and Lost Revenue: A compromised server may disrupt store operations, prevent customers from completing purchases, and lead to lost sales.
  • Compliance Obligations: A security incident involving payment or personal data could trigger investigation, reporting, and other obligations under applicable security and privacy requirements.

Which eCommerce Platforms Need Attention?

Your store’s risk depends on the server’s actual PHP runtime, configuration, and hosting arrangements. Cloudflare announced that WAF protections were deployed by default on October 21, 2026, for customers with its WAF, including Free plans; confirm those protections remain enabled, but do not rely on a WAF instead of applying the PHP patch. WooCommerce also confirms that stores on Automattic-managed infrastructure, including WordPress.com, WordPress VIP, Pressable, and WP Cloud, were protected at disclosure. Other merchants should request written patch verification from their hosting provider. Use the following table to identify next steps.

Platform

Exposure

Recommended Action

Adobe Commerce/Magento Open Source Vulnerable PHP version Check PHP compatibility and apply the appropriate patch.
Adobe Commerce on Cloud Depends on the environment Confirm the running PHP build and patch status with Adobe Commerce Cloud support or your managed-infrastructure team; validate the actual runtime, not just the Commerce version.
WooCommerce/WordPress Vulnerable PHP version Ask your hosting provider to patch PHP and restart services if needed.
Custom PHP applications Vulnerable PHP version Identify and patch all affected PHP environments.

Magento Versions and PHP Compatibility

Your Magento or Adobe Commerce version determines which PHP versions you can run. Before upgrading PHP, confirm that your platform supports the target version.

Use Adobe’s system requirements for the exact Commerce patch and deployment type, and consult the Adobe Commerce lifecycle policy. Adobe Commerce extended support is separate from upstream PHP support, and Magento Open Source does not automatically receive Commerce-only extended support.

Magento/Adobe Commerce Version PHP Compatibility to Check Support Considerations

Recommended Action

2.4.9 PHP 8.5 (8.4 only for upgrade; not production). Adobe Commerce standard support to May 31, 2029. Update PHP to 8.5.12.
2.4.8 PHP 8.4 or 8.3 Adobe Commerce standard support to May 31, 2028 Update to PHP 8.4.27 or 8.3.36
2.4.7 PHP 8.3 or 8.2 Adobe Commerce standard support to May 31, 2027; extended support to May 31, 2028 Update to PHP 8.3.36 or 8.2.35
2.4.6 PHP 8.2 or 8.1 Commerce standard support ended August 11, 2026; extended support to August 30, 2027; limited security-only to May 31, 2028 Patch PHP 8.2 to 8.2.35. For PHP 8.1, obtain a verified vendor or source backport, or upgrade Commerce and PHP together.
2.4.5 and 2.4.4 8.1 or older Standard and extended Commerce support ended; limited security-only period to May 31, 2027
  • No new upstream PHP release for these older branches; verify a vendor or PHP source backport.
  • Prioritize a supported upgrade; verify any PHP backport and consider restricting public access until remediation.
Magento 1 7.x or older End of life since 2020
  • High risk.
  • Upgrade or migrate as a priority.

The PHP project lists PHP 8.2.35, 8.3.36, 8.4.27, and 8.5.12 as patched releases. A compatible Commerce version and PHP version must be selected together. For PHP 7.4, 8.0, and 8.1, the PHP security team supplied minimal source backports, while Linux distributions and LTS vendors may supply patched packages. Confirm that a backport is actually installed; a vendor-patched build may retain its original PHP version label.

What if Your Store Runs an Older Magento Version?

Older Magento releases may not support the PHP version required for a direct security update. If your store runs Magento 2.4.5 or earlier, consider these options. Do not interpret Adobe Commerce’s limited security-only transition as covering a vulnerable PHP runtime:

  • Upgrade Magento: Move to a supported release compatible with a patched PHP version.
  • Apply a Security Backport: Ask your PHP distribution, hosting provider, or LTS vendor for a verified fix to both CVEs. PHP also published minimal source backports for 7.4, 8.0, and 8.1.
  • Reduce Exposure: Keep WAF protections enabled, restrict unnecessary file uploads, and limit risky request patterns while expediting the PHP fix. Temporary controls do not provide complete protection.

For additional guidance, read our article on Magento 1 and legacy-site risks.

WordPress/WooCommerce Versions and PHP Compatibility

For WordPress and WooCommerce stores, PHP2Shell exposure depends on the PHP version running on the server, not just the WordPress or WooCommerce version. Even an updated store can remain vulnerable if it runs an unpatched PHP version.

Your platform version still matters because it determines which PHP versions WordPress core supports. The table below is guidance for WordPress core only; WooCommerce, payment extensions, themes, and other plugins require their own compatibility checks. Prefer PHP 8.3 or newer where supported.

WordPress Version Supported PHP Versions Fixed PHP Versions You Can Use

PHP2Shell Path

7.0 and 7.1 7.4 to 8.5
  • 8.5.12
  • 8.4.27
  • 8.3.36
  • 8.2.35
  • Update PHP.
  • Prefer 8.3.36 or 8.4.27 after testing all extensions; 8.5.12 also supported in WordPress core
6.9 7.2 to 8.5
  • 8.5.12
  • 8.4.27
  • 8.3.36
  • 8.2.35
Update patched PHP and move to a current, maintained WordPress release
6.7 and 6.8 7.2 to 8.4
  • 8.4.27
  • 8.3.36
  • 8.2.35
Update PHP to 8.4.27 or 8.3.36; PHP 8.5 is not listed as compatible
6.6 7.2 to 8.3
  • 8.3.36
  • 8.2.35
Update PHP, then update WordPress
6.5 7.0 to 8.3
  • 8.3.36
  • 8.2.35
Update to PHP 8.3.36 or 8.2.35, then upgrade WordPress.
6.4 7.0 to 8.3
  • 8.3.36
  • 8.2.35
Update PHP, then update WordPress
6.1 to 6.3 Up to 8.2 8.2.35 only
  • PHP 8.2.35 is an urgent stopgap, not a long-term target.
  • PHP 8.2 security support ends December 31, 2026, so update WordPress soon.
5.9 and 6.0 Up to 8.1 No upstream release (seek a source/vendor backport)
  • No new upstream PHP release for these older branches; verify a vendor or PHP source backport.
  • Upgrade WordPress and PHP together; urgently obtain a verified backport if you cannot migrate now.
5.8 and Older Up to 8.0 or 7.4 No upstream release (seek a source/vendor backport)
  • High risk.
  • Upgrade WordPress and PHP urgently; obtain a verified vendor backport or restrict access if immediate remediation is impossible.

WordPress 7.1.1 is the current security-maintenance release as of October 22, 2026. WooCommerce recommends PHP 8.3 or newer and confirms compatibility with PHP 8.3+. Official upstream PHP security releases cover 8.2 through 8.5; older branches require verified vendor or source backports. PHP 8.2 reaches end of security support December 31, 2026.

What Should WordPress/WooCommerce Merchants Do?

  • Check Your PHP Version: In WordPress, go to Tools → Site Health → Info → Server. You can also check your hosting control panel.
  • Confirm Compatibility: Verify that your WordPress version, WooCommerce, theme, and extensions support the target PHP version.
  • Apply the Security Update: Ask your host to install a fixed PHP package or verified backport and restart all PHP workers; obtain written confirmation of the effective production patch.
  • Test Critical Store Functions: Test checkout, payments, shipping and tax, orders, scheduled tasks, and integrations in staging before deployment and again on production after the patch.

How to Fix PHP2Shell: Step-by-Step Remediation for Online Stores

Follow these steps to patch vulnerable PHP environments, protect your store, and minimize disruption to eCommerce operations.

Step 1: Identify All PHP Environments

Inventory production, staging, integration servers, and every WordPress installation.

Step 2: Back Up Your Store

Back up your website files, database, and configuration before making changes.

Step 3: Prepare and Test the PHP Patch in Staging

Select a compatible fixed PHP build (8.5.12, 8.4.27, 8.3.36, or 8.2.35), or an independently verified vendor backport for a legacy branch. Apply it to a staging copy first.

Step 4: Deploy the Verified Patch to Production

Test checkout, payments, search, shipping and tax, cron/queue jobs, customizations, extensions, and ERP/CRM integrations in staging. After successful tests and an approved deployment plan, patch the production PHP runtime promptly.

Step 5: Restart PHP Services

Restart PHP-FPM, Apache where applicable, and all relevant web/CLI workers so unpatched processes are replaced; plan maintenance to minimize order-processing disruption.

Step 6: Verify the Update

Check PHP through a live web request, not only the command-line binary. Verify the installed package or vendor backport, restart state, and successful storefront checkout and integration smoke tests.

Step 7: Review for Compromise and Rotate Credentials

Review web server, WAF, PHP, and application logs for unusual requests, crashes, uploads, and administrative changes. Patching does not prove the site was never compromised. If compromise is suspected or confirmed, engage incident response and rotate affected admin passwords, API keys, and payment integration credentials.

Step 8: Plan PHP Upgrades

For PHP 8.1 or older, schedule a move to supported PHP and a compatible platform release, even when a vendor backport provides short-term protection.

Confirm the PHP version is compatible with your eCommerce platform and extensions before upgrading. PHP 8.2 is also nearing the end of support, so plan for a longer-term upgrade.

Protect Your eCommerce Store Now

PHP2Shell remediation requires verified patching of the PHP runtime, not merely an eCommerce platform update. Confirm compatibility, test critical store functions, restart affected services, and independently verify production patch status. Keep WAF protections enabled, investigate suspicious activity, and remember that patching cannot undo an earlier compromise.

ioVista helps eCommerce businesses assess PHP runtime exposure, coordinate hosting and platform updates, test extension compatibility, and troubleshoot critical storefront integrations. No single security control can guarantee a store is fully secure.

If you operate Adobe Commerce, Magento Open Source, WordPress, or WooCommerce, contact ioVista to evaluate exposure, plan appropriate PHP2Shell remediation, and protect critical selling operations with a verified deployment plan.

Official Sources and Further Reading

PHP Security Advisory (October 21, 2026)

PHP Technical Advisories and Additional Information

Adobe Commerce System Requirements

Adobe Commerce Lifecycle Policy

WordPress PHP Compatibility

WooCommerce PHP Security Guidance

Cloudflare PHP2Shell WAF Protections

Albert Wood
Albert Wood linkedin

Albert Wood is an accomplished eCommerce Business Analyst. As a technology futurist and sales motivator at ioVista, Albert is dedicated to transforming struggling eCommerce businesses into thriving enterprises. With a keen focus on client’s business processes, user experience (UX), and leveraging the power of digital marketing, he helps businesses optimize their online presence and drive sustainable growth. Albert’s passion is for virtual reality (VR), augmented reality (AR), and mixed reality (MR), immersing himself in unforgettable experiences and exploring the limitless possibilities they offer. His enthusiasm for these emerging technologies fuels his drive to push the boundaries of innovation in eCommerce.

Get in Touch






    Let’s work together to create outstanding digital experiences.

    With 20+ years of industry experience, ioVista understands your eCommerce needs and delivers best-in-class solutions that help you gain a competitive edge.

    Platform Assessment

    TOP