Critical PHP Vulnerabilities (“PHP2Shell”): What You Need to Know & Which Platforms Are Affected

Digital visualization of security shielding protecting the PHP core processor and server network against Remote Code Execution (RCE) vulnerabilities.

If you’ve checked technology or cybersecurity news over the past 24 hours, you’ve likely seen headlines about a massive internet security crisis. Because PHP powers approximately 70% of all websites on the internet – including platforms running WordPress, Drupal, Joomla, Wikipedia’s MediaWiki, and UltimateWB – the discovery of two zero-day vulnerabilities in the core PHP engine sent shockwaves across the tech industry.

Dubbed PHP2Shell by security researchers, these critical Remote Code Execution (RCE) flaws were unexpectedly leaked online ahead of scheduled disclosures, triggering widespread scanning, exploit attempts, and emergency maintenance shutdowns worldwide.

Because the UltimateWB website builder is built natively on clean, high-performance PHP, core server security, execution stability, and server performance are our top priorities.

Important Peace-of-Mind Notice for UltimateWB Clients:

All web hosting servers and accounts, including UltimateWB Cloud, hosted directly with UltimateWB have already been fully patched and updated against these vulnerabilities. If your site is hosted on our managed hosting platform, no action is required on your part.

If you host your website on your own private server, VPS, or third-party web host, read on for the full technical breakdown, the wild backstory behind how an AI model helped discover the flaw, and the exact steps you need to take.

The Backstory: AI Discovery, Leaks, Mass Exploitation, and Emergency Updates

The events leading up to this disclosure played out like a tech thriller:

  • Discovered with AI Assistance: In August 2026, Wiz Research uncovered critical vulnerabilities in PHP using AI-assisted tools, including Wiz Atlas, Google’s Gemini 4 Argon, and OpenAI’s GPT-5.6 Sol. The research and remediation effort involved collaboration with the PHP team, OpenAI, and Calif. AI-assisted research helped uncover flaws that had remained in PHP for more than a decade.
  • October 20, 2026 (The Leak): Details regarding the zero-day flaws leaked online prior to the planned coordinated disclosure date, forcing the official PHP team to accelerate release timelines.
  • The Global Exploit Spike: Threat activity surged immediately. Cloudflare recorded millions of exploit probes within hours, while Amazon Threat Intelligence confirmed observing automated exploit attempts against decoy cloud infrastructure.
  • October 21, 2026 (Emergency Patches): The PHP team released security updates for supported branches 8.2 through 8.5. For older, end-of-life branches, PHP also published minimal source-level backports for PHP 7.4, 8.0, and 8.1. Administrators using older versions need to verify whether their operating system or long-term support vendor provides a package containing the fixes.
  • Government Cybersecurity Advisories: The UK National Cyber Security Centre (NCSC) and the U.S. National Security Agency (NSA) issued urgent guidance urging organizations to identify affected PHP systems and apply security updates. The NSA also advised taking systems offline if immediate mitigation was not feasible.

Technical Breakdown: Understanding the Two Critical Vulnerabilities

Both vulnerabilities are assigned a CVSS v4.0 severity rating of 9.2 (Critical) and exist in PHP’s internal core engine rather than in any individual application code.

1. CVE-2026-109618: Out-of-Memory (OOM) Memory Corruption

  • The Mechanism: When a PHP script hits its memory_limit, execution halts abruptly via a longjmp() routine. If this happens while request data is partially initialized, PHP’s internal cleanup routine treats half-built structures as valid data, triggering memory corruption that allows unauthenticated Remote Code Execution (RCE).
  • Attack Vector: Specially crafted multipart HTTP requests (such as form data or file uploads containing exceptionally long parameter names) can force memory exhaustion before normal request limits take effect.

2. CVE-2026-109619: Stale Global State (Use-After-Free)

  • The Mechanism: High-performance web setups re-use persistent worker processes (such as PHP-FPM or Apache mod_php) to serve consecutive HTTP requests. Under specific fatal error conditions, request-owned state remains allocated after the behind-the-scenes memory is freed. A subsequent request processed by the same worker can reuse those stale memory pointers (a Use-After-Free flaw).
  • Attack Vector: Common default configurations – such as session.upload_progress.enabled – can be leveraged across request lifecycles to refill freed memory with malicious payloads.

Official Patched PHP Versions & Emergency Backports

If you run your own server or host UltimateWB on a self-managed environment (cPanel/WHM, VPS, or Dedicated Server), verify that your PHP installation matches or exceeds these security release numbers:

PHP BranchUpstream StatusFixed / Patched Release BuildAction Required
PHP 8.5Active Support8.5.12Update immediately
PHP 8.4Active Support8.4.27Update immediately
PHP 8.3Security Support8.3.36Update immediately
PHP 8.2Security Support8.2.35Update immediately
PHP 8.1End-of-Life (EOL)Emergency Backport (8.1.34)Apply emergency distro patch
PHP 8.0End-of-Life (EOL)Emergency Backport (8.0.30)Apply emergency distro patch
PHP 7.4End-of-Life (EOL)Emergency Backport (7.4.33+)Apply emergency distro patch

Important Note on EOL Versions (PHP 7.4 / 8.0 / 8.1): Although official standard maintenance for these branches has ended, emergency source-level patches were made available due to the severity of PHP2Shell. Commercial control panels (such as Plesk/cPanel), OS repositories, and LTS vendor distributions have compiled updated binaries (such as patched 7.4.33 builds compiled on or after October 21, 2026). If you run PHP 7.4, ensure your package manager has pulled the latest vendor backport, though upgrading to PHP 8.2+ remains the recommended long-term solution.

If you’re running an end-of-life PHP version, read our guide on how to safely upgrade legacy PHP 5.6, 7.0, and 7.3 to modern supported versions to learn how to upgrade older PHP codebases.

Crucial Clarification: Application Updates vs. Engine Patches

A common misconception among site owners is that updating CMS scripts (such as WordPress plugins, themes, or custom site code) protects against engine flaws.

  • Updating web applications alone does NOT patch PHP. These vulnerabilities reside inside the underlying PHP interpreter binary itself.
  • Even a simple HTML site running a single contact form can be vulnerable if the hosting server’s PHP engine binary is unpatched.

How UltimateWB Keeps Your Website Protected

At UltimateWB, our platform architecture and server management strategy prioritize performance, security, and digital autonomy:

  1. Immediate Server Patching: As soon as security releases and patches were available, our system administrators updated the server-level PHP binaries across all managed hosting nodes and recycled running worker pools.
  2. Built-in Native Application Features: UltimateWB includes built-in application functionality (e-commerce, forums, classifieds, social networking, mailing lists) rather than relying on bloated third-party plugins. This lean structure reduces execution overhead and minimizes unnecessary attack vectors.
  3. Hardened Default Configurations: UltimateWB hosting environments utilize strict server-level execution controls, isolated process execution, and perimeter request limits to mitigate exploitation attempts before they reach application workers.

Related: Why Relying on WordPress Plugins Can Backfire (And How to Avoid It)

Checklist for Self-Hosted Site Administrators

If you operate your own WHM, cPanel, or VPS environment, follow these steps to address PHP2Shell:

  • Install Verified PHP Security Updates: Use your operating system’s package manager, hosting control panel, or PHP vendor’s instructions to install a build containing the PHP2Shell fixes. Package names and update commands vary by system, so confirm that the update includes the security patches rather than assuming a routine package update is sufficient.
  • Verify Web-Serving Runtimes: Do not rely on php -v alone, because the command-line PHP binary can differ from the runtime serving your websites. Check your control panel, installed package versions, and active PHP handlers to confirm that every exposed PHP runtime is patched.
  • Reload the Relevant Services: Follow your distribution’s or hosting control panel’s instructions to reload or restart the appropriate PHP-FPM pools and web-server services so that active workers use the updated runtime.
  • Use Temporary Mitigations Only If Patching Is Delayed: Setting session.upload_progress.enabled = 0 can mitigate specific exploit paths associated with one of the vulnerabilities. However, configuration changes do not fully protect a vulnerable PHP installation. Install a verified patched build as soon as possible.

FAQ: Which Website Builders and CMS Platforms Use PHP?

Because PHP2Shell targets the underlying PHP execution engine, whether your website is affected depends on the technology stack powering your site or hosting platform. Below is a breakdown of major CMS and website builder platforms:

UltimateWB

  • Built On: PHP & MySQL.
  • PHP2Shell Impact: UltimateWB utilizes clean, high-performance PHP. All websites and accounts hosted directly on UltimateWB Cloud / Managed Hosting have been fully patched, requiring zero action from site owners. Self-hosted administrators must apply server-level PHP binary updates.

WordPress (including WooCommerce)

  • Built On: PHP & MySQL.
  • PHP2Shell Impact: Fully affected. WordPress is native PHP. Updating plugins or themes does not protect against this vulnerability; server administrators must update the underlying PHP engine binary on their web server.

Drupal & Joomla

  • Built On: PHP & MySQL.
  • PHP2Shell Impact: Fully affected. Like WordPress, both platforms require underlying server-level PHP updates.

Wix

  • Built On: JavaScript (React on front-end) and Node.js serverless backend (Velo / Wix Studio).
  • PHP2Shell Impact: Not affected. Wix does not run or support custom PHP scripts.

But does avoiding PHP make Wix more secure overall? Read Is Wix Safer Because It Doesn’t Use PHP? Wix Security Vulnerabilities Tell a Different Story to examine documented Wix security flaws and the risks beyond PHP vulnerabilities.

Squarespace

  • Built On: Java (backend platform architecture) and JavaScript.
  • PHP2Shell Impact: Not affected. Squarespace does not support server-side execution of PHP code.

Webflow

  • Built On: Node.js, Go, and AWS cloud infrastructure.
  • PHP2Shell Impact: Not affected. Webflow generates static HTML/CSS/JS output and relies on non-PHP server infrastructure for hosting.

Shopify

  • Built On: Ruby on Rails.
  • PHP2Shell Impact: Not affected. Core store hosting and backend rendering run on Ruby rather than PHP.

Square / Weebly

  • Built On: Proprietary cloud hosting infrastructure (utilizing a mix of JavaScript, React, and server-side components).
  • PHP2Shell Impact: Not affected. Weebly is a fully hosted proprietary website builder and does not use or execute PHP scripts on user hosting environments.

Need Help Securing Your Website?

If you manage your own server and need help verifying your PHP configuration, or if you want to migrate to a fully managed, pre-patched UltimateWB hosting environment, reach out to our technical support team today!

Related: Is WordPress Insecure and Slow Because It Uses PHP?


Ready to design and build your website? Learn more about UltimateWB! We also offer web design packages if you would like your website designed and built for you.

Got a techy/website question? Whether it’s about UltimateWB or another website builder, web hosting, or other aspects of websites, just send in your question in the “Ask David!” form. We will email you when the answer is posted on the UltimateWB “Ask David!” section.

About the UltimateWB Team

This article was written and reviewed by the UltimateWB Development Team. With over 20 years of hands-on experience in full-stack web development, database optimization, and secure server administration (WHM/cPanel), we engineer UltimateWB with clean, built-in apps so you never have to deal with the performance-draining software bloat, security risks, or compatibility issues of third-party plugins. We build software designed from day one for maximum developer autonomy and lightning-fast performance.

This entry was posted in AI, Technology in the News, Website Security and tagged , , , , , , , , , , , , , , , , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *