---
title: "Cloudflare deploys protections against php2shell vulnerability"
description: "Two PHP vulnerabilities, CVE-2026-109618 and CVE-2026-109619, collectively called php2shell, affect all web servers running PHP 5.4 or later and can enable denial of service, remote code execution, and data exposure. The flaws reside in how PHP handles memory when a request processing error occurs, either by using uninitialized data during cleanup or by following outdated memory references in a later request. Cloudflare collaborated with the PHP Foundation, OpenAI, and Wiz to deploy mitigations and released WAF protections about nine hours before public disclosure. The protections use a new full transaction detection capability that analyzes both request and response signals within the same HTTP transaction to reduce false positives. Cloudflare customers on free or paid WAF plans are protected by default, and administrators must still patch their PHP software because the vulnerabilities are in the runtime itself."
---

# Cloudflare deploys protections against php2shell vulnerability

[Cloudflare](https://yomu.fyi/company/cloudflare) · Kuber Nandwani · Oct 21, 2026

**Type:** Announcement

## Summary

Two PHP vulnerabilities, CVE-2026-109618 and CVE-2026-109619, collectively called php2shell, affect all web servers running PHP 5.4 or later and can enable denial of service, remote code execution, and data exposure. The flaws reside in how PHP handles memory when a request processing error occurs, either by using uninitialized data during cleanup or by following outdated memory references in a later request. Cloudflare collaborated with the PHP Foundation, OpenAI, and Wiz to deploy mitigations and released WAF protections about nine hours before public disclosure. The protections use a new full transaction detection capability that analyzes both request and response signals within the same HTTP transaction to reduce false positives. Cloudflare customers on free or paid WAF plans are protected by default, and administrators must still patch their PHP software because the vulnerabilities are in the runtime itself.

## Context

Two vulnerabilities in PHP, tracked as CVE-2026-109618 and CVE-2026-109619 and known as php2shell, affect all web servers running PHP 5.4 or later and may allow denial of service, remote code execution, and data exposure when an application processes specially crafted HTTP traffic. The flaws are in the PHP runtime itself, so updating website code or plugins alone does not fix them; administrators must update the PHP software.

## Approach / What changed

Cloudflare developed and deployed full transaction detection, a new WAF capability that combines signals from both the request and the response within the same HTTP transaction, and released managed rules that can block a matching origin response before it reaches the requester.

## Takeaways

- The php2shell vulnerabilities (CVE-2026-109618 and CVE-2026-109619) affect the PHP runtime itself, not application code, so updating website code or plugins alone does not fix them; administrators must update the PHP software.
- Cloudflare’s full transaction detection is a new WAF capability that combines request and response signals within the same HTTP transaction, enabling higher-confidence rules that can block an origin response before it reaches the requester.
- Cloudflare deployed WAF protections for all customers, including Free users, by default about nine hours before public disclosure, and analysts continue to monitor attack activity and update rules as new techniques emerge.

## FAQ

### Can I fix php2shell by updating plugins?

No, updating website code or a plugin alone does not fix these vulnerabilities because the flaws are in the PHP runtime. Administrators need to update the PHP software running their applications. If a hosting provider manages PHP, the provider should apply the security update. Cloudflare recommends keeping WAF protections enabled while patching.

**Tags:** [Cloudflare](https://yomu.fyi/topic/cloudflare), [PHP](https://yomu.fyi/topic/php), [Security](https://yomu.fyi/topic/security), [Vulnerabilities](https://yomu.fyi/topic/vulnerabilities), [WAF](https://yomu.fyi/topic/waf)

- Source: [Cloudflare](https://blog.cloudflare.com/php-vulnerabilities-waf-protection)
- Source URL: https://blog.cloudflare.com/php-vulnerabilities-waf-protection
- Ingested by Yomu: 2026-10-21T15:00:22.222Z

[Read original post](https://blog.cloudflare.com/php-vulnerabilities-waf-protection)
