PHP2Shell critical PHP vulnerability: warning shield and terminal showing a PHP patch for UAE websites

PHP2Shell Vulnerability: Is Your Website at Risk? Protect Your PHP Website with ZWeb Solution

On 21st October 2026 the PHP project released emergency PHP security patch updates for two critical flaws that live inside PHP itself. Together they are called PHP2Shell, and they matter to almost every business in the UAE that runs a website, because PHP powers roughly seven in ten sites whose server-side language is known. If your WordPress, WooCommerce, Magento, Joomla or Laravel site sits on a server that has not been updated since then, it deserves attention this week.

This guide answers the question most owners ask first: how serious is PHP2Shell? It draws on reporting from Khaleej Times and Gulf News, plus the technical details published by the PHP project and security researchers. After that, it explains how ZWeb Solution can check, patch and secure your website so you are not left guessing.

Key Highlights:

How Critical Is PHP2Shell?

In short: very. Several independent groups have used the word critical. Both CVEs carry a CVSS 9.2 PHP rating, a CVSS v4.0 score of 9.2 out of 10, according to the PHP security team’s advisory. Tenable Research also placed the flaws in the top tier of its Vulnerability Watch programme, and its senior research engineer Satnam Narang said they rank among the most consequential vulnerabilities since Log4Shell because of how many sites they reach, as Khaleej Times reported.

9.2 / 10

CVSS v4.0 severity score given to both CVEs

10+ years

How long the flawed code has been part of PHP, which dates from version 5.4.0 in 2012

4,691

Potentially exposed internet-facing UAE hosts, according to Censys

79.5%

Share of the UAE’s versioned hosts that this figure represents

What Is PHP2Shell in Plain English?

Both bugs are memory-safety problems that appear when PHP runs out of memory while handling a web request. In the first, PHP can be interrupted halfway through setting up a request and then tidy up as if the half-built data were valid. In the second, internal data can outlive the memory behind it, and a later request handled by the same worker may pick it up. Either way, an attacker may be able to run code on the server without logging in, and may also read fragments of server memory that can hold passwords, session tokens and API keys.

The technical write-ups say every known trigger is a multipart form request, which is the format a browser uses to upload a file. PHP reads that request before your application code starts. That is why a strong admin password, a WordPress security plugin or a clean theme cannot stop it on their own: they all run after the point where the problem occurs.

Why PHP2Shell Is Worse Than a Routine Patch Notice

  • It sits in the engine, not the app. Gulf News notes that WordPress, Drupal, Joomla, Magento, Laravel and custom builds are all exposed when they run on a vulnerable PHP version.
  • Attackers move fast. Tenable’s Gavin Millard told Khaleej Times that attackers compare old and new code and work backwards, and that AI makes this quick. The flaws themselves were found with AI help.
  • Attempts began early. Security researchers report that Amazon Threat Intelligence logged an exploitation attempt on 17 October, four days before the public patch.
  • Patching may not be the end. Because memory can leak secrets, passwords and keys used on an exposed server may need to be rotated even after the update.
  • Old PHP gets no official fix. PHP 8.1 and older receive no new release, so those sites need an upgrade rather than a simple patch.

To keep this in proportion, Sophos’s Don Smith said the flaws had so far proved harder to exploit than first feared, and as of 22 October no confirmed break-in at a named organisation had been publicly reported. That is a reason to act calmly and quickly, not a reason to wait.

How Exposed Are UAE Websites?

Censys data cited by Khaleej Times counted 4,691 internet-facing hosts in the UAE as potentially exposed, which is 79.5 per cent of the country’s hosts where a PHP version could be identified. The same report says UAE companies and hosting providers have started deploying patched PHP packages and advising customers to check their runtime versions and restart web services, and that the US National Security Agency urged organisations to take sites offline if they could not fix the flaws straight away.

Not every site faces the same level of risk. Use this table as a quick guide.

Your setupRisk levelWhat to do
Apache with mod_phpHighestPatch first. PHP’s own advisory treats this setup as the most exposed.
PHP 8.1 or olderHigh, no official fixUpgrade to a supported PHP branch. No official patched release exists for these versions.
Shared or cPanel hostingDepends on your hostAsk which PHP version actually serves your site. The version shown in a control panel is not always the live one.
Docker or cloud imagesHigh until rebuiltRebuild the image with a patched PHP and redeploy. Containers keep the old PHP until then.
Old staging, test or campaign sitesOften missedList every subdomain and microsite, then patch it or take it offline.
Static sites, Shopify, Wix, SquarespaceNone from this flawNo action needed for PHP2Shell. Confirm no PHP tool sits elsewhere in your stack.

One more warning from the same coverage: the forgotten server is often the weak link. Millard pointed to test sites set up years ago that nobody remembers to patch, so an inventory of every PHP site you own is the first job. Gulf News makes the same point, advising firms to list their internet-facing applications and PHP versions before anything else.

Why Updating WordPress or Your Plugins Does Not Solve It

The PHP runtime comes from your server, your hosting provider or your container image. Your CMS does not control it. Updating Elementor, WooCommerce or your theme is still good practice, but none of those updates change the PHP engine underneath. Four points are easy to miss:

  • Check the PHP version, not the CMS version. A perfectly updated WordPress site can still run on a vulnerable PHP.
  • Restart after updating. A patched file on disk does not help while an old worker is still running in memory, so Apache, PHP-FPM and any long-running PHP workers must be restarted.
  • Version numbers can mislead. Linux distribution packages can carry the fix while still showing an older-looking number, so the package changelog should be checked for the CVE identifiers.
  • Firewalls are a stopgap. Cloudflare itself described its emergency firewall rules as a stopgap, and rules only protect traffic that actually passes through them.

How ZWeb Solution Can Fix PHP2Shell on Your Website

ZWeb Solution designs, builds and maintains WordPress, WooCommerce and custom PHP websites, with PHP website security covered, for businesses across Dubai and the wider UAE. Here is the process we follow, so the fix is verified rather than assumed. You can see more of what we do on our WordPress development and website development pages.

1. Exposure check

We identify the PHP version and the handler that actually serves each site, such as PHP-FPM, mod_php or LiteSpeed. The command-line version often differs from the live one. We include forgotten staging sites, subdomains and microsites in the list.

2. Patch or upgrade PHP

We move the server to a fixed release (8.5.12, 8.4.27, 8.3.36 or 8.2.35) or to your vendor’s backported package. Sites on PHP 8.1 or older get a planned upgrade. Because PHP 8.2 reaches end of life on 31 December 2026, we prefer 8.3 or 8.4 where your site allows.

3. Backup and compatibility testing

We take a full backup first, then test your theme, Elementor pages, WooCommerce checkout, forms and file uploads on the new PHP version. Newer PHP releases are often faster too, which fits well with our website speed optimization guide.

4. Restart and verify

We restart PHP-FPM, Apache and any workers, rebuild container images where needed, and confirm the PHP vulnerability fix UAE sites need in a real request served by your web stack, not just on the command line.

5. Compromise review

Because attempts started before the patch, we review logs back to 17 October for odd multipart requests, memory-limit errors and HTTP 500 spikes. We also scan for modified files, new admin users and unfamiliar scheduled tasks.

6. Rotate secrets and harden

Where memory may have been read, we rotate database passwords, API keys and salts, and force logouts. We tighten firewall rules, upload paths and PHP limits, then give you a written summary of what we found and changed.

If you would rather not repeat this scramble at the next advisory, we can also set up regular maintenance with updates, tested backups and monitoring, so someone is always responsible for knowing what your website is running. This also covers eCommerce stores, where a single exposed server can put customer data and payment integrations at risk.

Not sure which PHP version your website runs?

Send us your domain and we will check which PHP version is serving it, then tell you plainly whether it needs action. We can also work on websites that were built by other agencies, subject to access to your hosting.

What You Can Do Today While You Wait

After the Patch: Rotate, Review and Monitor

Patching closes the hole, but it does not undo anything that happened before the update. After the fix is live, work through these checks:

  • Rotate credentials for the database, admin users, API keys, payment and email services, and force every session to log out.
  • Review logs from 17 October, not from the day you patched, and look for backdoors, new admin accounts and changed core files.
  • Check memory settings. The fix introduces a new hard memory limit, so confirm memory_limit and post_max_size still suit large imports and uploads.
  • Remove temporary mitigations such as blocked uploads once the site is patched.
  • Keep it continuous. Pushkar Singh of Protectt.ai told Khaleej Times that security is not a one-time compliance exercise, and Gulf News agrees that inventory, patching and monitoring have to be ongoing.

The Bottom Line

PHP2Shell is a genuine critical risk because it sits below your website, needs no login and was probed before a patch existed. The good news is that the fix is well understood: find every PHP site, update to a fixed release, restart, check for signs of compromise and rotate secrets. If you want that done properly and documented, contact our team and we will start with a PHP version check.

FAQ

Frequently Asked Questions

What is PHP2Shell?

PHP2Shell is the name given to CVE-2026-109618 and CVE-2026-109619, two critical flaws in the PHP runtime. They can let an attacker run code on a web server without logging in, and can expose server memory. Both are rated 9.2 out of 10 under CVSS v4.0.

Is my WordPress website affected?

It is if the server running it uses an unpatched PHP version. The flaw is in PHP itself, so updating WordPress, plugins or your theme does not fix it. The same applies to WooCommerce, Drupal, Joomla, Magento and Laravel.

Which PHP versions are safe?

The fixed releases are PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35 or later in those branches. PHP 8.1 and older have no official patched release, so they need an upgrade or a vendor backport. A distribution package may carry the fix under an older-looking version number.

Does Cloudflare or a security plugin protect me?

They help as an extra layer, but they are not a fix. The attack reaches PHP before your application code runs, and firewall rules only cover traffic that passes through them. Updating PHP is the only complete solution.

Do I need to change passwords after patching?

Yes, for internet-facing sites it is strongly advised. Because the flaws can expose server memory, database passwords, API keys and tokens used before the patch may already be known to an attacker.

Can ZWeb Solution Fix Websites Developed by Other Companies?

Yes. We can review and work on websites built elsewhere, as long as we have access to the hosting. We start by checking which PHP version is serving the site and whether it needs action contact our team.
We use cookies to improve your experience, analyze traffic, and share limited usage data with our social media, advertising, and analytics partners. View more
Cookies settings
Accept
Privacy & Cookie policy
Privacy & Cookies policy
Cookie name Active

Privacy Policy

Last Updated: June 29, 2026
Welcome to ZWeb Solution. We respect your privacy and are committed to protecting the personal information you share with us. This Privacy Policy explains how we collect, use, store, and protect your information when you visit our website or use our services. Whether you are contacting us for web design, web development, digital marketing, branding, SEO, or any other digital solution, you can trust that your information will be handled responsibly and securely. By accessing or using our website, you acknowledge that you have read and agreed to the terms outlined in this Privacy Policy.

Information We Collect

We collect information to provide better services, improve user experience, and communicate effectively with our clients. The information collected may be either personal information that you voluntarily provide or technical information collected automatically when you browse our website.

Personal Information

When you interact with ZWeb Solution, you may voluntarily provide personal information by completing contact forms, requesting a quotation, subscribing to newsletters, or applying for career opportunities. The personal information we may collect includes:
  • Full Name
  • Company Name
  • Email Address
  • Phone Number
  • Business Address
  • Project Details
  • Any additional information you choose to provide
This information helps us understand your business requirements and provide the most appropriate solutions.

Automatically Collected Information

When you browse our website, certain information may be collected automatically using cookies and analytics tools. This information generally includes your IP address, browser type, operating system, device type, pages visited, time spent on our website, referral source, and browsing behavior. This data does not personally identify you but helps us improve website performance, usability, and security.

How We Use Your Information

The information collected by ZWeb Solution is used solely to improve our services and provide an exceptional customer experience.

Providing Our Services

Your personal information allows us to communicate with you, understand your project requirements, prepare quotations, deliver requested services, and provide ongoing customer support throughout your project.

Improving Our Website

We continuously monitor website performance to improve loading speed, navigation, design, security, and overall user experience. Anonymous visitor data helps us understand which pages are most useful and where improvements are needed.

Marketing Communications

If you choose to subscribe, we may send occasional emails regarding new services, industry updates, promotional offers, or company announcements. You may unsubscribe from these communications at any time using the unsubscribe link provided in our emails.

Cookies Policy

Cookies are small files stored on your device that help websites remember information about your visit.

Why We Use Cookies

ZWeb Solution uses cookies to improve website functionality and provide a better browsing experience. Cookies help us remember visitor preferences, analyze website traffic, understand visitor behavior, and optimize our website based on user interactions. Disabling cookies may affect certain features of the website, although you can manage cookie preferences through your browser settings at any time.

How We Protect Your Information

Protecting your information is one of our highest priorities. We implement appropriate technical, administrative, and organizational security measures to safeguard your personal information against unauthorized access, misuse, disclosure, alteration, or destruction.

Security Measures

Our security practices include secure hosting environments, SSL encryption, access control measures, regular software updates, and ongoing monitoring to reduce security risks. While we strive to maintain the highest level of security, no online transmission or storage system can be guaranteed to be completely secure.

Sharing Your Information

ZWeb Solution values your privacy and never sells, rents, or trades your personal information.

When We May Share Information

We may share your information only when necessary to:
  • Deliver requested services
  • Process payments
  • Work with trusted service providers
  • Comply with legal obligations
  • Protect our legal rights
  • Prevent fraudulent activities
Any third-party partners who process your information are required to maintain appropriate confidentiality and security standards.

Third-Party Services

To improve our services, we may use trusted third-party platforms such as Google Analytics, Google Ads, Meta Pixel, website hosting providers, CRM systems, and email marketing services. These providers may collect limited information necessary to perform their services. Their use of your information is governed by their own privacy policies.

External Website Links

Our website may contain links to external websites that provide additional information or resources.

Third-Party Websites

Once you leave the ZWeb Solution website, we have no control over the privacy practices or content of external websites. We encourage you to review the privacy policies of every website you visit.

Data Retention

We retain your personal information only for as long as necessary to fulfill the purposes outlined in this Privacy Policy. Information may also be retained to comply with legal obligations, resolve disputes, maintain business records, and enforce our agreements. Once your information is no longer required, it is securely deleted or anonymized.

Your Privacy Rights

We respect your rights regarding your personal information.

You May Request To

  • Access your personal information
  • Correct inaccurate information
  • Request deletion of your personal data
  • Withdraw consent
  • Opt out of marketing communications
  • Request information regarding how your data is processed
We will respond to all legitimate requests within a reasonable timeframe in accordance with applicable privacy laws.

Children’s Privacy

Our website and services are intended for businesses and adults. We do not knowingly collect personal information from children under the age of 13. If we become aware that such information has been collected, we will promptly remove it from our records.

Changes to This Privacy Policy

As our services and legal obligations evolve, we may update this Privacy Policy from time to time.

Policy Updates

Any changes will become effective immediately after they are published on this page. The “Last Updated” date at the top of this policy will always indicate the most recent revision. We encourage visitors to review this page periodically to stay informed about our privacy practices.

Contact ZWeb Solution

If you have any questions regarding this Privacy Policy or how we collect, use, or protect your personal information, please contact us.

ZWeb Solution

Website: www.zwebsolution.com Email: info@zwebsolution.com Phone: +971 50 373 5430 Our team will be happy to answer your questions and assist you with any privacy-related concerns.
Save settings
Cookies settings

Get a Free Quote

Share your project details using the form below, and our team will provide a fast, accurate, and personalized quote according to your needs.