Updated: 23 October 2026
A critical PHP security alert raises immediate questions for any business running a website or online application. Is the server affected? Does Cloudflare provide protection? Will updating WordPress solve the problem? And what should the hosting provider do?
The PHP2Shell vulnerabilities put these questions into focus in October 2026. For business owners, the priority is understanding the exposure, applying the correct fixes and checking that essential services still work.
This guide explains what happened, which PHP releases address the two vulnerabilities, and what our initial security review covered at NXP Technologies.
What Is PHP2Shell?
PHP2Shell is the nickname used for two critical PHP runtime vulnerabilities: CVE-2026-109618 and CVE-2026-109619. Both received a CVSS v4.0 severity score of 9.2. Successful exploitation can allow an attacker to execute code remotely without first signing into the application.
Canonical reports that disclosure was brought forward from 22 to 21 October 2026 following a public leak. Security updates became an urgent priority for organisations using affected PHP packages. Source: Canonical
These are vulnerabilities in the software that executes PHP applications. A business therefore needs to involve whoever manages its server runtime, even when a separate team maintains the website.
What Went Wrong Inside PHP?
The two vulnerabilities involve unsafe handling of memory during request processing.
| Vulnerability | Plain-language explanation |
| CVE-2026-109618 | An out-of-memory interruption can leave internal request data incompletely initialised. PHP may then use that invalid data during cleanup. |
| CVE-2026-109619 | A worker can retain references to request memory after that memory has been released. A later request may access the outdated state. |
The first advisory documents a working attack against Apache mod_php before application code starts. The second describes how stale state can be consumed across requests handled by the same worker. Exploitability depends on the environment and relevant execution paths; every installation should not be described as equally easy to exploit. Sources: PHP OOM advisory, PHP stale-state advisory
A familiar login screen or a normally functioning homepage cannot establish whether the underlying runtime is vulnerable.
Which PHP Versions Fix PHP2Shell?
The PHP advisories identify these fixed upstream releases for the two original vulnerabilities:
| PHP branch | Fixed upstream release |
| PHP 8.2 | 8.2.35 |
| PHP 8.3 | 8.3.36 |
| PHP 8.4 | 8.4.27 |
| PHP 8.5 | 8.5.12 |
Use the relevant fixed release or a later supported release containing the patches. Check compatibility before changing branches. Source: PHP security advisory
Distribution packages require an additional check. Vendors can backport security fixes while retaining an older upstream version number. Ask the host for the full package revision and the vendor advisory confirming the fix, rather than judging a package from its short version string alone. Canonical publishes specific corrected Ubuntu package versions. Source: Canonical package information
Does PHP2Shell Affect WordPress Websites?
A WordPress website can be exposed through the PHP runtime beneath it. PHP’s notice covers web-serving installations including PHP-FPM, Apache mod_php, php-cgi, FrankenPHP and LiteSpeed. The PHP team identifies mod_php as the highest-risk environment in its initial advisory. Source: PHP announcement
Updating WordPress, themes and plugins remains useful maintenance, but those updates do not replace the PHP runtime patch.
For an online shop, lead-generation website or customer portal, arrange verification with both the application maintainer and hosting administrator. Businesses using our WordPress development services in Dubai can include runtime ownership and update responsibilities in their maintenance discussions.
Does Cloudflare Protect Against PHP2Shell?
Cloudflare states that it deployed PHP2Shell WAF protections for Free and paid customers. Its announcement also describes the automatically deployed Cloudflare Managed Response Firewall Default, which uses response-side detection.
For Free customers, the relevant request rules are included in the Cloudflare Managed Free Ruleset. Cloudflare still recommends applying the PHP vendor update while retaining WAF protection. Source: Cloudflare
For an individual website, verify deployment and traffic routing instead of assuming that using Cloudflare settles every security question.
How We Responded: Our Initial Security Review
At NXP Technologies, our initial review focused on the Cloudflare configuration used by eAuto Dealer.
The dashboard screenshots reviewed showed PHP2Shell protection messaging and the response firewall applied. We also examined two existing Skip rules because legitimate development access and search-engine crawling needed to remain available.
In the reviewed settings, “All managed rules” was unchecked in both Skip rules. We therefore did not identify a direct managed-rule bypass from that particular option.
This was a configuration review with a defined scope. It did not confirm the origin server’s PHP patch status, establish successful exploitation, or complete verification of PHP attack events.
The practical lesson is to keep separate records for what was observed, what remains unverified and what must happen next. A firewall status indicator should not become a blanket statement that an entire server has been secured.
Why Firewall Exceptions Need Careful Review
An access exception may exist for a legitimate integration, developer or crawler. Removing it without understanding its purpose can interrupt operations.
Cloudflare’s Skip action can target different security products or phases. Review both the matching conditions and the controls selected for skipping. The label “Skip” alone does not establish that all managed WAF protection has been bypassed. Source: Cloudflare Skip documentation
Our recommendation is to document each exception’s owner and purpose, then make only the changes supported by that review. Test the permitted workflow after any adjustment.
What Website Owners Should Do Next
1. Identify the responsible administrator
Create a short inventory of production websites, subdomains, APIs and staging applications. Record who controls each PHP runtime and who can authorise an urgent update. Include services that customers reach outside the main website.
2. Obtain patch evidence and restart confirmation
Request the installed package revision, its matching vendor advisory and confirmation that the affected running services were restarted. Canonical specifically notes that applications using the updated interpreter may need restarting; automatic package installation alone does not establish that the running application has reloaded it. Source: Canonical update guidance
3. Test important customer journeys
After the update, test forms, logins, uploads, checkout and application integrations relevant to the business. Record actual results. A successful homepage load does not test the enquiry form that generates sales leads.
4. Review evidence of suspicious activity
Preserve available logs and investigate unfamiliar file changes, unexpected administrator accounts or unexplained redirects. Treat these as investigation leads, not automatic proof of PHP2Shell exploitation. WordPress’s hardening guidance supports maintaining backups, logging and monitoring as ongoing security practices. Source: WordPress
Important Update: PHP’s 23 October Advisory
On 23 October, PHP issued additional guidance concerning an unusual session upload-progress configuration and CVE-2026-115560.
PHP recommends setting session.upload_progress.enabled=0 until the next regular bugfix release. The described case requires upload progress to remain enabled and an application to change its session serialisation handler from php_binary or php_serialize to php at runtime. Applications that never change the handler at runtime can keep the feature enabled, according to PHP.
Ask the server administrator to assess this follow-up guidance alongside the original patches. Source: PHP follow-up advisory
Frequently Asked Questions
1. What does PHP2Shell mean?
It is the nickname for the two original critical PHP vulnerabilities described above, which can enable unauthenticated remote code execution under exploitable conditions.
2. Does an affected PHP version mean my website was hacked?
No. Vulnerability establishes exposure; a compromise conclusion requires evidence from an investigation.
3. Can changing my WordPress password fix PHP2Shell?
No. Password changes cannot repair a flaw in the PHP runtime. Investigate credential exposure separately if there is evidence of compromise.
4. Is a WordPress security plugin enough?
Do not use a plugin’s status as evidence that the server runtime contains the required fixes. Obtain confirmation from the hosting administrator.
5. Does Cloudflare Free include protection?
Cloudflare’s announcement includes Free-plan WAF protections. Check the actual website configuration and retain the runtime-patching task.
6. Should I switch off every Skip rule?
Review each rule first. Preserve required access while checking exactly which security controls the exception affects.
7. Can my hosting company apply the fix?
If it manages the PHP installation, ask it to confirm the applicable update, package revision and service restart.
8. Should I publish a phpinfo page to check?
Prefer an authenticated hosting panel or an administrator’s verification. Avoid exposing detailed server configuration publicly.
9. Why test forms after updating PHP?
Forms and integrations may follow different application paths. Testing them confirms that important business functions still work after the change.
10. What should a security handover include?
Record the reviewed systems, patch evidence, restart confirmation, test results, remaining questions and responsible owners.
Final Thoughts
PHP2Shell highlights why website maintenance must cover the application, hosting environment and firewall configuration together. Each layer answers a different question about exposure and recovery.
For UAE businesses, a useful response produces evidence that another administrator can verify and a website that customers can continue using.
NXP Technologies provides PHP development services in Dubai. If your team needs help understanding its website’s technical dependencies or planning an update, contact NXP Technologies to discuss the scope.


