Executive Summary
PHP has disclosed two remote vulnerabilities in PHP, CVE-2026-109618 and CVE-2026-109619. Both have been patched in the PHP October 2026 security release (released October 21, 2026). The bugs let an attacker exhaust PHP’s memory limit with a crafted multipart request, then interrupt request cleanup at the right moment so that stale memory gets reused and executed.
The vulnerabilities will have wide reaching effects on other software which packages PHP in it’s deployments. Researchers have already demonstrated remote code execution in WordPress, Drupal, Joomla, Nextcloud, and phpMyAdmin platforms using the default settings.
CyberMaxx is urging everyone to patch PHP deployments as well as software which uses PHP right away.
Background
The timeline for discovery extends back to 2004 when memory bugs were discovered in PHP and patched. Several organizations were involved in the discovery through OpenAI’s “Patch the Planet” program using LLMs to vulnerable threat surface. Disclosure was coordinated with a timed release in order to facilitate a full patch.
How the vulns are exploited
The bugs stem from timing and memory space. The vulnerabilities are from the mod_php function under Session upload-progress feature in PHP.
mod_php Exploitation
An attacker sends crafted multipart requests that push PHP toward its memory limit. At the right moment, a fatal error interrupts PHP while it’s registering request data, leaving a worker in heap memory valid even though it was never fully instantiated and not cleaned up. The Apache worker survives the failure to cleanup and handles later requests. That gives the attacker a way to control memory in the surviving process and run code.
PHP-FPM Exploitation
PHP-FPM is harder to attack this way because it kills the worker when startup fails, so the broken state described above (partially) disappears. LLM found a way around this by targeting a fatal error that happens after startup succeeds, during the application’s data decoding. That error leaves decoder bookkeeping behind, and a later upload-progress request can reuse it. Because the worker survives post-startup errors, the attacker can exploit that leftover state. This route depends on the application actually decoding data in a vulnerable way, so impact varies by application deployment.
Impact
PHP is deployed ubiquitously on the internet. This is a situation where an underlying application may affect tens or hundreds of thousands of sites. It should go witout saying that this is an attackers dream scenario: not having to find a way into each site. Since proof of concept code has already been released, mass exploitation attempts are imminent. This makes fully remediating (patching) the vulnerabilities a top priority for IT administrators.
Recommendations
CyberMaxx strongly urges all organizations to Patch PHP software deployments to the current October 2026 patch level (Released Wednesday, 21 October 2026 at 14:00 UTC.)
If you cannot patch immediately, the following temporary, the follow mitigations may be deployed. But we must stress that with functioning POC code, research on the exploit exposed, and LLM availability this is NOT recommended and may not fully prevent exploitation:
– For PHP-FPM, disable session upload progress with session.upload_progress.enabled=0 and set memory_limit=-1.
– For mod_php, set memory_limit=-1.
Link to the Patch:
Detections & IOC [Updated 10/26/26]
* CyberMaxx Security Research team will continue to update this blog with IOC and detection opportunities as they become available. *
Parsing weblogs for requests containing the following data in requests / headers:
/tmp/sessions/sess_
PHP_SESSION_UPLOAD_PROGRESS
verifysession00000000000000
(temporary shell for execution):
<?php system(‘id’);echo ‘RCE’;?>
From Endpoint:
Search for commands with the raw strings :
<?php system(‘id’);echo ‘RCE’;?>
[Below is from an AI generated POC which (depending on telemetry) may surface in EDR logs if exploitation is attempted.]
x|O:8:\”stdClass\”:0:{}
Search in the following paths:
/var/log/php/error.log
/var/log/apache2/access.log
/var/log/apache2/error.log
/var/log/syslog
for log messages:
PHP Fatal error: Allowed memory size … exhausted
in Unknown on line 0
pid=33 “POST /wp-login.php HTTP/1.1” 500
zend_mm_heap corrupted
AH00052: child pid 33 exit signal Abort (6)
Correlate these to activity observed on the host like PHP-FPM, PHP-CGI, Apache2, w3wp.exe spawning child processes which can be used to issue commands (e.g., sh, bash, PowerShell.exe, cmd.exe, python, etc).
Webshells:
If suspicious activity is observed, query for recently written or altered .php files which may contain webshells or known webshell frameworks.
IOCs:
Known Scanning, Payload Delivery, and Command-and-Control Infrastructure
45[.]198[.]224[.]169
92[.]118[.]112[.]100
134[.]199[.]154[.]64
117[.]55[.]202[.]115
Open-Directory Exploit Tooling, Proof-of-Concept, and Research Infrastructure
102[.]210[.]149[.]166
122[.]10[.]110[.]72
122[.]10[.]17[.]49
58[.]221[.]60[.]160
206[.]188[.]197[.]105
41[.]223[.]30[.]7
157[.]230[.]117[.]70
104[.]219[.]251[.]31
107[.]150[.]31[.]151
217[.]160[.]132[.]82
47[.]100[.]125[.]108
54[.]169[.]109[.]7
139[.]162[.]165[.]136
Conclusion
PHP is one of the most widely deployed web languages in the world, and that reach makes these vulnerabilities very significant. Patching to the October 21, 2026 PHP security release is the most important step any organization can take right now. Where patching is delayed, the temporary mitigations described above can reduce exposure, but they are not a substitute for an update. The CyberMaxx Security Research team will continue to update this blog with IOC and detection opportunities as they become available.
More reading :
https://reliaquest.com/blog/threat-spotlight-php2shell-responding-to-critical-php-vulnerabilities
https://www.wiz.io/blog/php2shell-php-rce