Canonical URL: https://elacelerador.es/en/guides/php2shell-cloudflare-protection-update-php/

1. [Home](https://elacelerador.es/en/)
1. [Guides](https://elacelerador.es/en/guides/)

 

# PHP2Shell: what Cloudflare protects and how to update PHP

Two critical vulnerabilities, fixed releases and the scope of WAF defenses, including PHP's separate October 23 update.

 

By [Marian Vasile](https://elacelerador.es/en/author/marian-vasile/)October 23, 2026 2:19 PM13 min read[Add as preferred source](https://google.com/preferences/source?q=elacelerador.es&utm_source=elacelerador.es&utm_campaign=elacelerador.es)

Share [](https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Felacelerador.es%2Fen%2Fguides%2Fphp2shell-cloudflare-protection-update-php%2F%3Futm_source%3Dlinkedin%26utm_medium%3Dsocial&utm_source=elacelerador.es&utm_campaign=elacelerador.es) [](https://wa.me/?text=PHP2Shell%3A%20what%20Cloudflare%20protects%20and%20how%20to%20update%20PHP%20https%3A%2F%2Felacelerador.es%2Fen%2Fguides%2Fphp2shell-cloudflare-protection-update-php%2F%3Futm_source%3Dwhatsapp%26utm_medium%3Dsocial&utm_source=elacelerador.es&utm_campaign=elacelerador.es) [](https://t.me/share/url?url=https%3A%2F%2Felacelerador.es%2Fen%2Fguides%2Fphp2shell-cloudflare-protection-update-php%2F%3Futm_source%3Dtelegram%26utm_medium%3Dsocial&text=PHP2Shell%3A%20what%20Cloudflare%20protects%20and%20how%20to%20update%20PHP&utm_source=elacelerador.es&utm_campaign=elacelerador.es) [](https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Felacelerador.es%2Fen%2Fguides%2Fphp2shell-cloudflare-protection-update-php%2F%3Futm_source%3Dfacebook%26utm_medium%3Dsocial&utm_source=elacelerador.es&utm_campaign=elacelerador.es)

 

![Server racks with blue lights and red latches at NOIRLab headquarters in Tucson.](https://elacelerador.es/images/variants/v1/php2shell-what-cloudflare-protects-how-update-php-server-racks-blue-lights-red-w1280.avif?v=2)  

NOIRLab servers in Tucson. Contextual image, unrelated to an affected system. Photo: NOIRLab/NSF/AURA/P. Horálek, CC BY 4.0. Photo: [NOIRLab/NSF/AURA/P. Horálek · CC BY 4.0](https://commons.wikimedia.org/wiki/File:NOIRLab_HQ_Server_Racks_(OK_upr_IMG_0225-CC).jpg?utm_source=elacelerador.es&utm_campaign=elacelerador.es)

 

**In this report**

1. [Why PHP has such a wide reach](https://elacelerador.es/en/guides/php2shell-cloudflare-protection-update-php/#article-section-why-php-has-such-a-wide-reach)
1. [The Oct. 23 update concerns a separate CVE](https://elacelerador.es/en/guides/php2shell-cloudflare-protection-update-php/#article-section-the-oct-23-update-concerns-a-separate-cve)
1. [What the original PHP2Shell vulnerabilities do](https://elacelerador.es/en/guides/php2shell-cloudflare-protection-update-php/#article-section-what-the-original-php2shell-vulnerabilities-do)
1. [Which websites and applications are exposed](https://elacelerador.es/en/guides/php2shell-cloudflare-protection-update-php/#article-section-which-websites-and-applications-are-exposed)
1. [Fixed versions and the older-version problem](https://elacelerador.es/en/guides/php2shell-cloudflare-protection-update-php/#article-section-fixed-versions-and-the-older-version-problem)
1. [How the disclosure timetable changed](https://elacelerador.es/en/guides/php2shell-cloudflare-protection-update-php/#article-section-how-the-disclosure-timetable-changed)

3 figures

- [PHP’s share among server-side technologies](https://elacelerador.es/en/guides/php2shell-cloudflare-protection-update-php/#article-figure-1)
- [Which major PHP versions remain in use](https://elacelerador.es/en/guides/php2shell-cloudflare-protection-update-php/#article-figure-2)
- [PHP 8 adoption is spread across several branches](https://elacelerador.es/en/guides/php2shell-cloudflare-protection-update-php/#article-figure-3)

 

1 tables

- [Fixed versions and the older-version problem](https://elacelerador.es/en/guides/php2shell-cloudflare-protection-update-php/#article-table-1)

PHP2Shell exposes a security dependency beneath websites, online stores and marketing platforms: the PHP runtime. Two critical flaws now have fixes, while a separate Oct. 23 advisory adds a narrower session configuration issue.

 

For businesses, the immediate question is whether the software actually serving their pages has been updated. Cloudflare says it has deployed WAF protections, including for Free customers, while still recommending PHP updates. A current content management system, a container image in a registry and an enabled firewall each answer a different part of the remediation question.

 

## Why PHP has such a wide reach

 

W3Techs detects PHP on 69.3% of websites whose server-side language it identifies. Its survey measures technology adoption; that share cannot establish which servers have installed the security fix.

 

The data behind the story

### PHP’s share among server-side technologies

Share of websites whose server-side language W3Techs identifies, on October 23, 2026. PHP appears on 69.3%. The comparison shows the scale of the software dependency behind the security alert.

   

Websites with known server-side language

 

%

 

Tap or hover for details. All values are also available in the data table.

  

Source

W3Techs, 23 October 2026

A website can use several languages, so these categories are not mutually exclusive parts of a whole. Technologies below 0.1% are omitted. Technology usage is not a vulnerability rate.

 

Show data tableHide data table

 

Scroll left or right to see all columns

 

PHP’s share among server-side technologies (%)
| Category | Websites with known server-side language |
| --- | --- |
| PHP | 69.3% |
| --- |
| JavaScript | 8.2% |
| --- |
| Ruby | 7.1% |
| --- |
| Java | 5.5% |
| --- |
| Scala | 5.0% |
| --- |
| ASP.NET | 4.2% |
| --- |
| Static files | 2.1% |
| --- |
| Python | 1.1% |
| --- |
| ColdFusion | 0.2% |
| --- |
| Perl | 0.1% |
| --- |

 

W3Techs surveys more than 20 million relevant websites, excluding empty sites and essential duplicates. Reports update daily, but most sites are revisited approximately monthly. Detection may miss hidden technologies and take time to reflect changes.

 

## The Oct. 23 update concerns a separate CVE

 

PHP's latest notice recommends disabling session upload progress until the next regular bugfix release to address an unlikely remote code execution vector. The project assigned this issue CVE-2026-115560, separate from the two vulnerabilities fixed Oct. 21.

 

The conditions are specific: an application configures session.serialize_handler as php_binary or php_serialize, changes it to php at runtime before starting the session, and leaves session upload progress enabled. PHP says applications that never change the serialization handler at runtime can keep the feature enabled.

 

The recommendation is session.upload_progress.enabled=0. Organizations that already applied that setting under the Oct. 21 mitigation advice should retain it; PHP says no further action is needed for this particular vector. A full advisory will accompany the next regular release. PHP's Oct. 23 informational advisory.

 

## What the original PHP2Shell vulnerabilities do

 

The original pair is CVE-2026-109618 and CVE-2026-109619, each rated 9.2 under CVSS v4.0. Both concern PHP's handling of request memory and errors, with the potential for unauthenticated remote code execution.

 

The first flaw involves an out-of-memory error interrupting work while internal request data is only partly initialized. PHP's cleanup can subsequently read that invalid state. The error is therefore more consequential than a request merely exceeding its memory allowance: a cleanup operation may act on data that was never prepared safely. The fix changes how PHP exits these situations, preserving memory limits while avoiding the unsafe interruption. PHP's OOM corruption advisory.

 

The second flaw involves information retained by a PHP worker that still points to memory belonging to a finished request. If that memory has been freed, a later request handled by the same worker can encounter stale references before normal initialization replaces them. The advisory describes multiple kinds of internal state, so treating upload progress as the entire problem would miss other paths. Disabling error display also does not prevent internal access to stale error state. PHP's stale global state advisory.

 

For a nontechnical owner, remote code execution means an attacker could make the server run attacker-controlled code. It describes a capability exposed by a vulnerability; it does not establish that a particular business has been compromised.

 

## Which websites and applications are exposed

 

PHP integrations differ in their handling of a failed request. Apache with mod_php is particularly exposed because demonstrated exploitation can happen before application code runs. The OOM advisory also discusses FPM, FrankenPHP and LSAPI, separating confirmed behavior from conclusions based on source analysis. PHP's susceptibility assessment.

 

The PHP Foundation also reports remote code execution on PHP-FPM through application-level paths. A different server integration therefore should not become a reason to postpone remediation. The PHP Foundation's release explanation.

 

WordPress and Magento matter here because they depend on PHP. This is a runtime issue beneath those products: installing a theme, plugin or application update alone does not replace the PHP engine executing the site. Cloudflare identifies both platforms when explaining the possible reach of the flaws. Cloudflare's PHP2Shell analysis.

 

A familiar product name is not a complete inventory. ENISA's joint statement points out that commercial and open-source software can include PHP in the background, even when its users do not recognize that dependency. An organization therefore needs answers for hosted tools and supporting applications as well as its main website. The European joint statement.

 

## Fixed versions and the older-version problem

 

The upstream releases addressing the original pair are:

 

Show data tableHide data table

 

Scroll left or right to see all columns

 

Fixed versions and the older-version problem
| PHP branch | Fixed release issued Oct. 21 |
| --- | --- |
| PHP 8.2 | 8.2.35 |
| PHP 8.3 | 8.3.36 |
| PHP 8.4 | 8.4.27 |
| PHP 8.5 | 8.5.12 |

 

The data behind the story

### Which major PHP versions remain in use

W3Techs distribution among websites using PHP, on October 23, 2026. Versions 7 and 5 retain a meaningful presence, which explains why vendor backport and support information matters.

   

Websites using PHP

 

%

 

Tap or hover for details. All values are also available in the data table.

  

Source

W3Techs, 23 October 2026

A major version does not establish the installed patch revision, vendor backports or exposure to PHP2Shell. These are not percentages of vulnerable websites.

 

Show data tableHide data table

 

Scroll left or right to see all columns

 

Which major PHP versions remain in use (%)
| Category | Websites using PHP |
| --- | --- |
| PHP 8 | 65.3% |
| --- |
| PHP 7 | 26.9% |
| --- |
| PHP 5 | 7.7% |
| --- |
| PHP 4 | 0.1% |
| --- |

 

The data behind the story

### PHP 8 adoption is spread across several branches

Share of websites using PHP 8, according to W3Techs on October 23, 2026. The distribution explains why operators must identify their branch before choosing its update.

   

Websites using PHP 8

 

%

 

Tap or hover for details. All values are also available in the data table.

  

Source

W3Techs, 23 October 2026

The source also reports PHP 8.6 below 0.1%; that threshold is retained here and is not plotted as zero. Published values are rounded and do not establish security patch status.

 

Show data tableHide data table

 

Scroll left or right to see all columns

 

PHP 8 adoption is spread across several branches (%)
| Category | Websites using PHP 8 |
| --- | --- |
| PHP 8.3 | 34.9% |
| --- |
| PHP 8.2 | 27.6% |
| --- |
| PHP 8.1 | 15.1% |
| --- |
| PHP 8.4 | 12.1% |
| --- |
| PHP 8.0 | 5.8% |
| --- |
| PHP 8.5 | 4.5% |
| --- |

 

These are the branch-specific release targets reported by Docker alongside its image updates. A deployment should use the fixed release or a later appropriate release in that branch. Docker's security update.

 

Older branches need more careful interpretation. PHP 8.1 and earlier no longer receive normal updates from the PHP project. Distribution and long-term support vendors can supply backports, and PHP provided minimal source backports for 7.4, 8.0 and 8.1. PHP's older-version guidance.

 

A backport can leave the familiar version number unchanged. Package provenance and the provider's advisory therefore matter alongside the displayed PHP version. A service owner needs the installed package revision and a maintainer reference confirming that it addresses both CVEs.

 

Package installation is also a different milestone from replacing old PHP processes. The technical advisories call for restarting the relevant workers. Where several replicas serve visitors, the completed change needs to cover each instance still receiving traffic. Recording the intervention makes it possible to distinguish a finished rollout from a group of applications still awaiting work.

 

For a hosting customer, a useful provider response identifies the affected service, the corrected package or image, and when that deployment began serving requests. A general assurance that a platform is being updated leaves the status of an individual site unresolved. This becomes particularly relevant when a company purchases its storefront, campaign pages and editorial hosting from different suppliers. Each supplier's statement should match the service it actually operates, so that the business can track remaining work without confusing a platform announcement with a completed update to every application.

 

## How the disclosure timetable changed

 

The PHP Foundation says the CVE identifiers circulated Oct. 20 with an incorrect 10.0 score. PHP published an early announcement and advanced the planned release by one day, from Oct. 22 to Oct. 21.

 

The foundation says Calif mistakenly published a demonstration video that evening, contributing to faster development

 

Your free reader account

## Continue reading for free.

Create your account or sign in to get unlimited access.

Continue with LinkedInContinue with GoogleContinue with Facebook

 

No payment required. Newsletter signup is optional.

[Already registered? Sign in](https://elacelerador.es/en/login/?returnTo=%2Fen%2Fguides%2Fphp2shell-cloudflare-protection-update-php%2F)

[Back to top ↑](https://elacelerador.es/en/guides/php2shell-cloudflare-protection-update-php/#article-top)

## In this article

 

### Sources and documents

- [PHP security announcements, 21 and 23 October 2026](https://www.php.net/archive/2026.php?utm_source=elacelerador.es&utm_campaign=elacelerador.es) - PHP project
- [CVE-2026-109618: RCE via OOM corruption](https://github.com/php/php-src/security/advisories/GHSA-w8hw-w9fx-j79w?utm_source=elacelerador.es&utm_campaign=elacelerador.es) - PHP project
- [CVE-2026-109619: RCE via stale global state](https://github.com/php/php-src/security/advisories/GHSA-6wmf-4rv5-p3rp?utm_source=elacelerador.es&utm_campaign=elacelerador.es) - PHP project
- [Security release and disclosure chronology, 21 October 2026](https://thephp.foundation/blog/2026/10/21/todays-php-security-release-and-how-were-strengthening-php-security/?utm_source=elacelerador.es&utm_campaign=elacelerador.es) - The PHP Foundation
- [Cloudflare deploys protections against php2shell vulnerability](https://blog.cloudflare.com/php-vulnerabilities-waf-protection/?utm_source=elacelerador.es&utm_campaign=elacelerador.es) - Cloudflare
- [Introducing full transaction detection for Cloudflare WAF](https://blog.cloudflare.com/full-transaction-waf/?utm_source=elacelerador.es&utm_campaign=elacelerador.es) - Cloudflare
- [PHP2Shell early attack activity, 22 October 2026](https://www.imperva.com/blog/php2shell-early-attack-activity-through-impervas-lens/?utm_source=elacelerador.es&utm_campaign=elacelerador.es) - Imperva
- [PHP2Shell impact for Docker customers, 22 October 2026](https://www.docker.com/blog/security-update-on-php2shell-impact-for-docker-customers/?utm_source=elacelerador.es&utm_campaign=elacelerador.es) - Docker Security
- [Joint statement on critical PHP vulnerabilities, 21 October 2026](https://www.enisa.europa.eu/news/joint-statement-on-critical-php-vulnerabilities?utm_source=elacelerador.es&utm_campaign=elacelerador.es) - ENISA
- [Building php2shell detections before coordinated disclosure](https://corelight.com/blog/php2shell-detection-before-disclosure?utm_source=elacelerador.es&utm_campaign=elacelerador.es) - Corelight
- [Zeek and Suricata detections and inventory limitations](https://github.com/corelight/php2shell-detect?utm_source=elacelerador.es&utm_campaign=elacelerador.es) - Corelight
- [W3Techs server-side language usage, 23 October 2026](https://w3techs.com/technologies/overview/programming_language?utm_source=elacelerador.es&utm_campaign=elacelerador.es) - W3Techs / Q-Success
- [W3Techs PHP major-version usage, 23 October 2026](https://w3techs.com/technologies/details/pl-php?utm_source=elacelerador.es&utm_campaign=elacelerador.es) - W3Techs / Q-Success
- [W3Techs PHP 8 branch usage, 23 October 2026](https://w3techs.com/technologies/details/pl-php/8?utm_source=elacelerador.es&utm_campaign=elacelerador.es) - W3Techs / Q-Success
- [W3Techs method](https://w3techs.com/technologies?utm_source=elacelerador.es&utm_campaign=elacelerador.es) - W3Techs / Q-Success
- [W3Techs faq](https://w3techs.com/faq?utm_source=elacelerador.es&utm_campaign=elacelerador.es) - W3Techs / Q-Success
- [W3Techs limits](https://w3techs.com/disclaimer?utm_source=elacelerador.es&utm_campaign=elacelerador.es) - W3Techs / Q-Success
- [PHP's Oct. 23 informational advisory](https://www.php.net/archive/2026.php?utm_source=elacelerador.es&utm_campaign=elacelerador.es#2026-10-23-1)

Share [](https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Felacelerador.es%2Fen%2Fguides%2Fphp2shell-cloudflare-protection-update-php%2F%3Futm_source%3Dlinkedin%26utm_medium%3Dsocial&utm_source=elacelerador.es&utm_campaign=elacelerador.es) [](https://wa.me/?text=PHP2Shell%3A%20what%20Cloudflare%20protects%20and%20how%20to%20update%20PHP%20https%3A%2F%2Felacelerador.es%2Fen%2Fguides%2Fphp2shell-cloudflare-protection-update-php%2F%3Futm_source%3Dwhatsapp%26utm_medium%3Dsocial&utm_source=elacelerador.es&utm_campaign=elacelerador.es) [](https://t.me/share/url?url=https%3A%2F%2Felacelerador.es%2Fen%2Fguides%2Fphp2shell-cloudflare-protection-update-php%2F%3Futm_source%3Dtelegram%26utm_medium%3Dsocial&text=PHP2Shell%3A%20what%20Cloudflare%20protects%20and%20how%20to%20update%20PHP&utm_source=elacelerador.es&utm_campaign=elacelerador.es) [](https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Felacelerador.es%2Fen%2Fguides%2Fphp2shell-cloudflare-protection-update-php%2F%3Futm_source%3Dfacebook%26utm_medium%3Dsocial&utm_source=elacelerador.es&utm_campaign=elacelerador.es)

 

![Portrait of Marian Vasile](https://elacelerador.es/images/variants/v1/marian-vasile-autor-acelerador-retrato-w480.avif?v=2)  

About the author

## [Marian Vasile](https://elacelerador.es/en/author/marian-vasile/)

 

Marian Vasile is a MarTech and growth professional. His work spans product marketing, SEO, paid advertising and deep online tracking, including behavioral analytics and attribution.

 

## Related articles

 

[Guides](https://elacelerador.es/en/guides/) Analysis

### [Xbox Shocktober 2026 in Spain: deals, prices and what to check before buying](https://elacelerador.es/en/guides/shocktober-xbox-2026-spain-deals/)

 

[Marian Vasile](https://elacelerador.es/en/author/marian-vasile/)October 23, 202613 min

 

[Guides](https://elacelerador.es/en/guides/) Analysis

### [Enshrouded for Xbox: the 2027 release and what we know about its price](https://elacelerador.es/en/guides/enshrouded-xbox-release-price-2027/)

 

[Marian Vasile](https://elacelerador.es/en/author/marian-vasile/)October 23, 202612 min

 

[Guides](https://elacelerador.es/en/guides/) Analysis

### [Carpa Universitaria Pamplona 2026: date, opening hours, tickets and entry](https://elacelerador.es/en/guides/carpa-universitaria-pamplona-autumn-2026/)

 

[Marian Vasile](https://elacelerador.es/en/author/marian-vasile/)October 23, 202612 min

 

**In this report**

1. [Why PHP has such a wide reach](https://elacelerador.es/en/guides/php2shell-cloudflare-protection-update-php/#article-section-why-php-has-such-a-wide-reach)
1. [The Oct. 23 update concerns a separate CVE](https://elacelerador.es/en/guides/php2shell-cloudflare-protection-update-php/#article-section-the-oct-23-update-concerns-a-separate-cve)
1. [What the original PHP2Shell vulnerabilities do](https://elacelerador.es/en/guides/php2shell-cloudflare-protection-update-php/#article-section-what-the-original-php2shell-vulnerabilities-do)
1. [Which websites and applications are exposed](https://elacelerador.es/en/guides/php2shell-cloudflare-protection-update-php/#article-section-which-websites-and-applications-are-exposed)
1. [Fixed versions and the older-version problem](https://elacelerador.es/en/guides/php2shell-cloudflare-protection-update-php/#article-section-fixed-versions-and-the-older-version-problem)
1. [How the disclosure timetable changed](https://elacelerador.es/en/guides/php2shell-cloudflare-protection-update-php/#article-section-how-the-disclosure-timetable-changed)

[Back to top ↑](https://elacelerador.es/en/guides/php2shell-cloudflare-protection-update-php/#article-top)

 

## Related articles

 

[Guides](https://elacelerador.es/en/guides/) Analysis

### [Xbox Shocktober 2026 in Spain: deals, prices and what to check before buying](https://elacelerador.es/en/guides/shocktober-xbox-2026-spain-deals/)

 

[Marian Vasile](https://elacelerador.es/en/author/marian-vasile/)October 23, 202613 min

 

[Guides](https://elacelerador.es/en/guides/) Analysis

### [Enshrouded for Xbox: the 2027 release and what we know about its price](https://elacelerador.es/en/guides/enshrouded-xbox-release-price-2027/)

 

[Marian Vasile](https://elacelerador.es/en/author/marian-vasile/)October 23, 202612 min

 

[Guides](https://elacelerador.es/en/guides/) Analysis

### [Carpa Universitaria Pamplona 2026: date, opening hours, tickets and entry](https://elacelerador.es/en/guides/carpa-universitaria-pamplona-autumn-2026/)

 

[Marian Vasile](https://elacelerador.es/en/author/marian-vasile/)October 23, 202612 min
