Tia N.List

KEV catalog · CISA Known Exploited Vulnerabilities

CVE-2026-109618 9.8
PHP Group · PHP · Added 2026-10-26 · Published 2026-10-21
3-Day Required PoC Available KEV Active Exploitation

Details

VulnerabilityPHP Memory Corruption Vulnerability
VendorPHP Group
ProductPHP
Date added2026-10-26
Due date2026-10-29
Required actionApply mitigations in accordance with vendor instructions, ensuring compliance with CISA’s BOD 26-04 Prioritizing Security Updates Based on Risk (see URL in Notes) guidance and CISA’s “Forensics Triage Requirements” (see URL in Notes). Follow applicable BOD 26-04 guidance for cloud services or discontinue use of the product if mitigations are unavailable. Stakeholders are responsible for evaluating each asset's internet exposure and ensuring adherence to BOD 26-04 patching guidelines.
CWECWE-1325 CWE-416 CWE-755 CWE-824
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS 0.4508 · 99th percentile · 2026-11-26 · 7d -0.5492
EPSS trend 1.0000 → 0.4510 -0.5490 over 21 observations
Descriptions

KEV: PHP contains an out-of-memory corruption vulnerability that allows for unauthenticated remote code execution.

NVD: PHP uses longjmp() for out-of-memory (OOM) errors to exit the current context and abort handling of the request. Some contexts may not properly account for this scenario and leave request memory in an uninitialized state before performing an allocation. The subsequent request cleanup procedure may read or branch on this memory. Multiple OOM strategies can consistently trigger this condition and lead to remote code execution (RCE).

Compliance SSVC + BOD 26-04

Automatableno
Technical impacttotal
Exploitation statusactive
3-day qualifyingYes
Public timeline3 days + forensic
Non-public timeline14 days
Forensic (public)Required
Forensic (non-public)Not required

Research metadata

Last researched2026-10-26 23:40 UTC
Wall time0.8s
Searches2
Component defaultyes

QC notes

info precondition_contradiction: Preconditions don't mention deployment applicability (component/product version)
warn component_extraction: Component 'PHP core OOM bailout path in Zend/zend_alloc.c (zend_out_of_memory()/longjmp) reached through the ext/session rfc1867 session.upload_progress multipart body parser (main/rfc1867.c)' matches or contains product name 'PHP' — no specific component identified

Hunting hypothesis agent

Hunt WAF/IDS for multipart POST bodies carrying PHP_SESSION_UPLOAD_PROGRESS plus a PHPSESSID form field or `|O:`/`<?php` filename; pivot to PHP 'memory size ... exhausted in Unknown on line 0' fatals and 502s (access logs miss bodies).

Research details

ComponentPHP core OOM bailout path in Zend/zend_alloc.c (zend_out_of_memory()/longjmp) reached through the ext/session rfc1867 session.upload_progress multipart body parser (main/rfc1867.c)
PreconditionsPHP 5.4.0 through 8.2.34 / 8.3.35 / 8.4.26 / 8.5.11 (fixed in 8.2.35, 8.3.36, 8.4.27, 8.5.12; PHP 8.1 and older are EOL with only minimal source backports). session.upload_progress.enabled=On (the php.ini default) and unauthenticated network access to any PHP endpoint: on Apache mod_php the multipart body is parsed before application code, so no application bug is required, while the public FPM chains need a session_start()/unserialize() sink and, for the handler-mismatch chain, two directories with different session.serialize_handler. agent
DeliveryUnauthenticated HTTP multipart/form-data POST to any PHP endpoint that drives memory_limit exhaustion during body parsing (pre-auth, before application code on Apache mod_php); companion session.upload_progress chains deliver the payload via a PHPSESSID form field, the PHP_SESSION_UPLOAD_PROGRESS field and PHP code or serialized objects embedded in the upload filename.
Public PoCyes
Exploit notesReproducible public exploit code exists, not just writeups: ikow/php2shell-poc (~1.8k stars) ships Chain A session-injection+LFI, Chain B var_destroy UAF and Chain C per-directory serialize_handler mismatch scripts plus Suricata, Sigma and ModSecurity rules; junaire/CVE-2026-109618-exploit has a stdlib-only exploit.py with a verified end-to-end transcript (uid=33(www-data)) against nginx+php-fpm 8.2.34; eness, JoasASantos and devploit publish further PoCs/labs. The dependency-free Chains D/E (mod_php OOM, FPM stale-BG) that match this CVE's OOM description are paid-subscriber-only, but their trigger mechanics are public in docs/ANALYSIS.md. CVSS 9.2 / AV:N/AC:L/PR:N/UI:N, so once a target is fingerprinted the public chains are scriptable in seconds.
Operational notescaused-by-fix: the 8.2.35/8.3.36/8.4.27/8.5.12 patch removes the longjmp() OOM bailout and adds the memory_hard_limit_percent setting (default 200 — i.e. 2x memory_limit up to 1G, then memory_limit+1G); crossing it calls _exit(137), so shutdown functions, destructors and error handlers do not run, PHP-FPM logs 'exited with code 137' (only visible with catch_workers_output=yes) and nginx returns 502. Hosts with a finite memory_limit that depend on shutdown/error handlers or on OOM log lines must retest memory-heavy paths: open php-src issue #24492 shows sprintf('%400000000s'), pack, number_format, bin2hex and phar manifest lengths now hard-kill where 8.4.26/8.5.11 raised a catchable fatal. Do not set memory_hard_limit_percent=100 (it turns every normal OOM into a hard kill), and remove any pre-patch memory_limit=-1 workaround once patched. agent
https://ma.ttias.be/php-memory-hard-limit/
https://github.com/php/php-src/issues/24492
https://www.php.net/manual/en/ini.core.php
https://www.php.net/archive/2026.php
SummaryPHP core out-of-memory corruption RCE (the 'php2shell' CVE-2026-109618): an unauthenticated multipart request that exhausts memory_limit makes PHP's longjmp() bailout skip request cleanup, leaving Zend engine state invalid so request shutdown reads freed memory and can be turned into code execution — on Apache mod_php this happens before any application code runs. Fixed in PHP 8.2.35, 8.3.36, 8.4.27 and 8.5.12; PHP 8.1 and older are end-of-life with no upstream fix, and memory_limit=-1 is the documented temporary mitigation. watchTowr reports in-the-wild exploitation and CISA added both PHP2Shell CVEs to KEV on 2026-10-26 with a three-day BOD 26-04 forensic-triage deadline for exposed hosts; multiple public exploit chains and detection rule sets are already on GitHub.

Tia coverage

First reported2026-05-14
First exploit report2026-10-21
Exploit report → KEV5 days before the listing

When Tia's reporting first covered this CVE and whether a report claimed exploitation before the KEV listing. Lead-time deltas are measured from the exploitation report only — plain coverage is not exploitation intel. See the story links under Mentioned in for coverage detail.

Mentioned in

arara-message-email-service-breach-leaks-77-million-addresseschina-linked-hackers-exploit-php2shell-to-root-firewallsfragnesia-new-dirty-frag-class-linux-kernel-lpe-cve-2026-46300-phighly-classified-nsa-communications-network-is-down-cnn-sourcesinfratrust-pulse-new-framework-for-prioritizing-infrastructure-voctober-2026-cve-landscapepalo-alto-networks-patches-13-vulnerabilitiesphp-warns-admins-of-two-critical-flaws-emergency-patches-comingwhy-the-2026-2shell-bugs-keep-landing-in-native-code

Record schema v1.0. Enrichment is research-grade, not a substitute for analyst review.

Source on GitHub