Not php.net · Not NVD · Not CISA

PHP Vulnerability Tracker

Unofficial briefing on PHP security vulnerabilities

English简体中文

Security alert

PHP2Shell: upgrade PHP. That is the only complete fix.

CVE-2026-109618 and CVE-2026-109619 are critical, unauthenticated remote-code-execution bugs in PHP itself. The PHP project shipped fixes on 21 October 2026 for the supported 8.2–8.5 branches. Restart PHP after you upgrade. A firewall is not a substitute.

Remediation steps

Overview

What is PHP2Shell? Two critical RCE bugs in PHP

The nickname is used by Wiz, Cloudflare, watchTowr, CISA (as “php2shell”), and others for CVE-2026-109618 and CVE-2026-109619 together. It echoes Log4Shell in the way people are talking about it. The defects are not a lookup feature in a Java library. They are memory-safety failures in PHP’s request handling.

Last updated

What the PHP project says is at risk

php.net’s 21 October advisory says every PHP installation that serves web requests is in scope, naming PHP-FPM, Apache with mod_php, php-cgi, FrankenPHP, and LiteSpeed. The project considers the risk highest for mod_php, where it says a demonstrated exploit lets an unauthenticated request trigger the attack before any application code runs. Application-level hardening does not help on that path.

The same advisory says only an update is a complete solution. Interim settings reduce exposure to specific paths and do not make an installation safe. CISA’s wording matches that operational conclusion: patch immediately, and take PHP-based systems offline if you cannot update, including PHP 8.1 and earlier.

How the two bugs differ

Both sit in code nearly every request touches. The PHP Foundation describes CVE-2026-109618 as out-of-memory handling that can leave partially initialized internal data, which PHP later treats as valid. It describes CVE-2026-109619 as a fatal error at the wrong moment leaving internal state pointed at memory from an earlier request, so a later request on the same worker uses freed memory. Wiz and Cloudflare also describe memory disclosure — process memory that can hold secrets from other requests — alongside remote code execution and denial of service. This page does not repeat exploit construction.

Which versions

The ranges in circulation are not identical, and flattening them would invent a precision the vendors have not published. The PHP security team’s oss-security note for CVE-2026-109618 lists PHP 8.2 before 8.2.35, 8.3 before 8.3.36, 8.4 before 8.4.27, and 8.5 before 8.5.12. Those are the branches that got release packages. The project also said 8.1 and older are out of upstream support, and that it published minimal source backports for 7.4, 8.0, and 8.1.

Wiz says every PHP version released in roughly the last decade, back to 5.4, is affected by at least one of the issues. Google Cloud says 5.4 through 8.5.11. Cloudflare says PHP 5.4 or later. watchTowr’s FAQ, first published 20 October before the vendor advisory, says PHP 5, 7, and 8. Expel says the backports are evidence that 7.4, 8.0, and 8.1 are affected, and that PHP has not said whether 7.3 and older are affected. Expel’s practical advice is to assume any end-of-life PHP serving web traffic is at risk. The version table keeps these statements side by side.

Exploitation: attempts, not a confirmed breach count

Public proof-of-concept code is reported by AWS, the Canadian Cyber Centre (as open-source reporting that a PoC is available), and Expel. Expel adds that circulating code is unverified and that some of it may be malicious. We do not link to or reproduce it.

Scale, carefully

Wiz’s headline figure is that PHP powers a large majority of websites; Cloudflare’s post says almost 70 percent. That is a share of sites, not a count of exploitable servers. The internet-facing host estimate repeated in The Record is about 5.1 million IP addresses in a VirusTotal analysis, with the caveats on the home page. ThreatCluster, describing that VirusTotal scan, says roughly four in five fingerprinted PHP servers do not volunteer a version string.

PHP is also embedded in appliances and hosting panels. The UK NCSC points at an NCSC-NL inventory of products with a PHP dependency as a starting list, not a complete census. Google Cloud says its own platform is not vulnerable as a platform, while customers who run PHP on App Engine, Cloud Run, GKE, or Marketplace images may be, and it describes which of those it was patching automatically.

Discovery, as the participants describe it

Wiz Research says the flaws had been present for more than a decade and that frontier models made an exploit chain practical. Google Cloud credits Wiz and says Gemini 4 Argon contributed to discovery, exploit development, detection, and patch validation. The Record reports that the PHP Foundation said an AI review first sparked alarm in August 2026, while signs had surfaced in 2024. Those are attribution claims from the organizations involved. They do not change the remediation: upgrade.

Sources

Outbound links leave this site. We do not host exploit code.

  1. News archive 2026: security advisory, 21 October 2026 — PHP project (php.net)
  2. Today’s PHP security release, and how we’re strengthening PHP security — The PHP Foundation
  3. CVE-2026-109618: PHP 8.2–8.5 RCE via OOM corruption — oss-security (Jakub Zelenka, PHP security team)
  4. Critical vulnerabilities in PHP require immediate patching (21 October 2026) — CISA
  5. Joint statement on critical PHP vulnerabilities — ENISA
  6. Critical security issue affecting PHP — UK NCSC
  7. AL26-026 — Critical vulnerabilities impacting PHP — Canadian Centre for Cyber Security
  8. PHP2Shell: AI uncovers critical RCE vulnerabilities affecting 70% of the Internet — Wiz Research
  9. Responding to core PHP vulnerabilities CVE-2026-109618 and CVE-2026-109619 — Google Cloud
  10. Cloudflare deploys protections against php2shell vulnerability — Cloudflare
  11. Amazon Threat Intelligence identifies PHP2Shell exploitation prior to public disclosure in MadPot — AWS Security Blog
  12. PHP2Shell: PHP remote code execution exploited — watchTowr
  13. FAQ: PHP2Shell CVE-2026-109618 and CVE-2026-109619 (published 20 October 2026, updated 22 October 2026) — watchTowr
  14. PHP2Shell patches land as first exploitation attempts hit sensors — SecurityWeek
  15. Notice: php2shell, critical PHP vulnerabilities (status as of 21 October 2026, 20:00 UTC) — Expel
  16. Security advisory: critical unauthenticated RCE in PHP (“php2shell”) — University of Toronto Information Security
  17. PHP says AI review of critical bugs first sparked alarm in August, but signs surfaced in 2024 — The Record
  18. Sizing the PHP exposure window for CVE-2026-109618 and CVE-2026-109619 — ThreatCluster (VirusTotal Internet scanning write-up)
  19. PHP2Shell: responding to CVE-2026-109618 and CVE-2026-109619 — Tanium
  20. Known Exploited Vulnerabilities catalog — CISA
  21. php2shell product-inventory notes — NCSC-NL