CVE-2026-109619 – Critical PHP RCE in PHP2Shell Vulnerability Series
CVSS 4.0: 9.2 (CRITICAL) | CVSS 3.1: 8.1 (HIGH) | CISA KEV | Active Exploitation Confirmed
TL;DR – Key Takeaways
- CVE-2026-109619 is a pre-authentication remote code execution flaw in PHP's multipart/form-data session upload-progress handler
- Part of the "PHP2Shell" vulnerability pair (with CVE-2026-109618) disclosed October 21, 2026
- Active exploitation in the wild – CISA added to Known Exploited Vulnerabilities catalog on 2026-10-26 with 3-day patch deadline
- Affects PHP 8.2–8.5 (patched); 59% of PHP servers run EOL versions (≤8.1) with no official fix
- Immediate action required: Upgrade PHP, disable
session.upload_progress.enabled, block unexpected multipart requests at edge
Overview#
CVE-2026-109619 is a heap Use-After-Free vulnerability in PHP's native C implementation of the multipart/form-data parser within the session upload-progress handler (ext/session/session.c). The flaw allows unauthenticated attackers to achieve remote code execution by sending crafted multipart requests that manipulate PHP's internal request-state management.
The vulnerability stems from stale internal request-state pointers – PHP maintains global state that temporarily points into request memory. In certain scenarios, this state is not correctly reset or is repopulated after reset, causing it to reference freed memory. Subsequent requests can read or branch on this stale state before full initialization, enabling code execution.
This vulnerability was disclosed alongside CVE-2026-109618 as part of the "PHP2Shell" research. Information leaked ahead of coordinated disclosure on October 21, 2026, creating a brief zero-day window. Patches were released the same day for supported PHP versions.
Technical Details#
Root Cause#
The vulnerability resides in PHP's multipart/form-data parsing logic that executes before any userland PHP code runs (i.e., before line 1 of index.php). This means:
- Application-level authentication (Laravel middleware, WordPress auth, etc.) does not mitigate the issue
- Setting
file_uploads = Offinphp.inidoes not prevent exploitation - The attack surface exists at the PHP engine level, not the application level
Attack Vector#
An unauthenticated attacker sends a specially crafted multipart/form-data POST request that triggers the Use-After-Free condition in the session upload-progress handler. The parser processes the request at the C level, corrupting heap metadata and enabling arbitrary code execution in the context of the PHP-FPM worker process.
CWEs#
- CWE-416: Use After Free (primary)
- CWE-755: Improper Handling of Exceptional Conditions
- CWE-824: Access of Uninitialized Pointer
- CWE-1325: Improperly Controlled Sequential Memory Allocation
Severity & Impact#
| Metric | Value |
|---|---|
| CVSS 4.0 (PHP Security Team) | 9.2 – CRITICAL |
| CVSS 3.1 (NIST) | 8.1 – HIGH |
| Vector (v3.1) | AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| CISA KEV | Yes (added 2026-10-26, due 2026-10-29) |
| KEV Name | PHP Stale Internal Request-State Vulnerability |
| Exploitation Status | Active, widespread |
The CVSS 4.0 score of 9.2 reflects the critical nature: network attack vector, high attack complexity but no privileges or user interaction required, with high impact on confidentiality, integrity, and availability. The CISA KEV listing confirms real-world exploitation mandating urgent remediation for federal agencies and critical infrastructure.
Affected Products#
Primary vendor: PHP (versions 8.2–8.5 receive official patches; ≤8.1 are EOL)
Downstream vendors bundling PHP:
- Palo Alto Networks – PAN-OS (multiple versions 10.2.x, 11.1.x, 11.2.x, 12.1.x)
- Siemens – Multiple industrial products (RUGGEDCOM, SPECTRUM, CP61850, Energy Engage, BluePlanet)
Note: The full CPE list includes 30+ products across three vendors with dozens of version permutations. For the complete affected product/version matrix, see the CVE page.
Exploitation Activity & Threat Intelligence#
Active exploitation has been observed continuously since disclosure:
- Peak activity: 12+ active exploitation reports in a single day (2026-11-13)
- Sustained campaign: Daily exploitation reports throughout October–November 2026
- PoC/Exploit code: Publicly available; multiple proof-of-concept exploits and weaponized tools circulating
- Targeting: Internet-facing PHP applications, CMS platforms (WordPress, Magento), and vendor appliances bundling PHP
The FBI Cyber Branch issued an urgent advisory on October 21, 2026, urging organizations to patch immediately or take systems offline. Monitoring for PHP processes unexpectedly launching shells or downloading files is critical.
For real-time exploit signals, daily mention trends, and indicator tracking, see the VulnSocial CVE page.
Actionable Insights for Defenders#
What Makes This Dangerous#
- Pre-auth RCE at engine level – Bypasses all application-layer defenses
- EOL coverage gap – Majority of PHP deployments (59% per Shodan) run unsupported versions
- Weaponized exploits public – Low barrier to entry for attackers
- Vendor appliance exposure – Firewalls, industrial controllers, and network devices bundling PHP are affected
Detection Guidance#
Monitor for:
- Unexpected
php-fpmchild processes spawning shells (/bin/sh,/bin/bash) - Outbound connections from PHP worker processes
- Anomalous
multipart/form-dataPOST requests with malformed boundaries - PHP error logs showing session upload-progress handler crashes
Deploy WAF rules blocking suspicious multipart requests (see mitigation below).
Remediation & Mitigation#
Priority 1: Immediate Patching (Do Now)#
-
Upgrade PHP to patched versions:
- PHP 8.2.27+, 8.3.15+, 8.4.2+ (check PHP security advisories)
- For vendor appliances: Apply vendor-specific patches (Palo Alto Networks, Siemens advisories linked in References)
-
If running EOL PHP (≤8.1): Plan emergency migration to supported version. No official patches will be released.
Priority 2: Runtime Mitigations (Deploy Immediately if Patching Delayed)#
# Nginx: Block unexpected multipart requests at edge
location ~ \.php$ {
if ($request_method = POST) {
set $block_multipart 0;
if ($content_type ~* "multipart/form-data") {
set $block_multipart 1;
}
if ($block_multipart = 1) {
return 403;
}
}
# ... rest of PHP handler
}
; php.ini or php-fpm pool config: Disable session upload progress
session.upload_progress.enabled = Off
php_admin_flag[session.upload_progress.enabled] = off
# Apache: ModSecurity rule example
SecRule REQUEST_HEADERS:Content-Type "multipart/form-data" \
"id:1000001,phase:2,deny,status:403,msg:'PHP2Shell multipart block'"
Priority 3: Cloud/Edge Protections#
- Cloudflare: Enable managed WAF rule for PHP2Shell (rule ID
100789) - AWS WAF / Azure WAF / GCP Cloud Armor: Deploy PHP2Shell managed rule sets
- CDN/WAF vendors: Most have released signatures – verify deployment
Priority 4: Post-Exploitation Checks#
- Audit logs: Review web server and PHP-FPM logs for October 21+ anomalies
- File integrity: Scan for webshells, modified PHP files, suspicious cron jobs
- Process audit: Check for persistent PHP processes with unusual command lines
- Network forensics: Identify outbound C2 connections from web tier
- Report compromise: Follow FBI guidance – preserve logs, report to IC3
References#
Vendor Advisories & Patches
- PHP Security Advisory GHSA-6wmf-4rv5-p3rp
- Palo Alto Networks PAN-OS Security Advisories
- Siemens SSA-166980
- Siemens SSA-566435
- Siemens SSA-566512
- Siemens SSA-862892
Coordination & Disclosure
- oss-security mailing list (Oct 21)
- oss-security mailing list (Oct 22)
- oss-security mailing list (Oct 23)
Technical Analysis
Government & Industry Alerts
- CISA Known Exploited Vulnerabilities Catalog
- Cert-NG Advisory
- Cert-VDE Advisory
- Aviatrix Threat Research
Community Resources
Bottom Line#
CVE-2026-109619 is a critically severe, actively exploited RCE in the PHP engine itself. The pre-authentication nature, bypass of application controls, and public exploit code make this a patch-now emergency. Organizations running PHP – directly or via vendor appliances – must:
- Patch immediately (supported versions)
- Deploy runtime mitigations (disable
session.upload_progress, block multipart at edge) - Hunt for compromise (logs, processes, network)
- Migrate off EOL PHP (≤8.1) as a strategic priority
The 3-day CISA KEV deadline (2026-10-29) has passed – every unpatched instance represents unacceptable risk.
#CVE2026109619 #PHP2Shell #RCE #CISAKEV #CriticalVulnerability #PHP #CyberSecurity #VulnerabilityManagement #IncidentResponse


