{"id":"CVE-2026-109618","published":"2026-10-21T14:17:09Z","modified":"2026-10-30T19:18:07Z","title":"PHP Memory Corruption Vulnerability","vendor":"PHP Group","product":"PHP","tier":"core","eol":null,"description":{"text":"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).","provenance":"source","from":"NVD"},"summary":{"text":"A memory corruption flaw in PHP's request handling lets out-of-memory conditions, which are handled via longjmp(), leave request memory uninitialized before a later allocation, and the cleanup routine then reads or branches on that memory. An unauthenticated remote attacker with network access can trigger this without user interaction by using one of several out-of-memory strategies that consistently reproduce the condition, potentially achieving remote code execution.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-10-29T07:10:54Z"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"NVD"},"epss":{"score":0.99999,"percentile":0.99998,"date":"2026-10-30","provenance":"source"},"kev":{"dateAdded":"2026-10-26","dueDate":"2026-10-29","ransomware":false,"requiredAction":"Apply 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.","notes":"This vulnerability affects an open-source component, third-party library, protocol, or proprietary implementation that could be used by different products. For more information, please see: https://www.php.net/ ; https://www.cisa.gov/news-events/alerts/2026/10/21/critical-vulnerabilities-php-require-immediate-patching ; BOD 26-04: https://www.cisa.gov/news-events/directives/bod-26-04-prioritizing-security-updates-based-risk ; Forensics Triage Requirements: https://www.cisa.gov/news-events/directives/bod-26-04-implementation-guidance-prioritizing-security-updates-based-risk ;  https://nvd.nist.gov/vuln/detail/CVE-2026-109618","provenance":"source"},"vulncheckKev":{"dateAdded":"2026-10-21","exploitedFirstSeen":"2026-10-21","ransomware":false,"evidence":[{"url":"https://aws.amazon.com/blogs/security/amazon-threat-intelligence-identifies-php2shell-exploitation-prior-to-public-disclosure-in-madpot/","date":"2026-10-21"},{"url":"https://previdian.com/CVE-2026-109618","date":"2026-10-21"},{"url":"https://watchtowr.com/intelligence/php-remote-code-execution-php2shell/","date":"2026-10-21"},{"url":"https://www.fastly.com/blog/fastlys-proactive-protection-critical-php-rce-cve-2026-109618","date":"2026-10-21"},{"url":"https://www.sophos.com/en-us/blog/proof-of-concept-exploit-released-for-php-vulnerabilities-109618-109619","date":"2026-10-21"},{"url":"https://arcticwolf.com/resources/blog/php2shell-critical-php-vulnerabilities-enable-unauthenticated-remote-code-execution/","date":"2026-10-22"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2026-10-22&host_type=src&vulnerability=cve-2026-109618","date":"2026-10-22"},{"url":"https://x.com/klrgrz/status/2113780927952236580","date":"2026-10-23"},{"url":"https://github.com/0x4D31/honeypot-data/blob/main/reports/php2shell/2026-10-24-confirmed-rce.md","date":"2026-10-24"},{"url":"https://www.cyfirma.com/research/cyfirma-threat-advisory-suspected-dprk-campaign-staging-php2shell-targeting-against-global-php-infrastructure/","date":"2026-10-24"}],"evidenceTotal":15,"provenance":"source"},"exploited":true,"otx":{"pulseCount":50,"pulses":[{"name":"CVE’s","url":"https://otx.alienvault.com/pulse/6ae57326978de23b4b78ad3c","created":"2026-10-31"},{"name":"A Hidden Project Link Can Make Claude Code Silently Send Your Files to an Attacker","url":"https://otx.alienvault.com/pulse/6ae57170bc9a64b82397153c","created":"2026-10-31"},{"name":"Actively_Exploited_Kev | Oct 31, 2026","url":"https://otx.alienvault.com/pulse/6ae4aefab0c2191cecd41862","created":"2026-10-30"},{"name":"Known_Cve | Oct 30, 2026 | Part 1/2","url":"https://otx.alienvault.com/pulse/6ae35d8e6ee9e838fd042498","created":"2026-10-29"},{"name":"Actively_Exploited_Kev | Oct 30, 2026","url":"https://otx.alienvault.com/pulse/6ae35d889ea92b4ce19c2680","created":"2026-10-29"},{"name":"Unknown APT uses NetamLoader to attack a Win10 OS customized for governments in Asia","url":"https://otx.alienvault.com/pulse/6ae307a3ac3f1c968fce54a3","created":"2026-10-29"},{"name":"PHP2Shell: Two Critical PHP Flaws, Exploitation Evidence and Mitigations","url":"https://otx.alienvault.com/pulse/6ae28c801976ed06a2ea830f","created":"2026-10-29"},{"name":"PHP2Shell in botnet kits within two days: Mirai and RedTail infrastructure","url":"https://otx.alienvault.com/pulse/6ae2882c73d58fe099d87a3d","created":"2026-10-28"},{"name":"68 GB Stolen From a Philippine Government Agency's Overseas-Employment Databases, Exposed by the Operator's Own Open Directory","url":"https://otx.alienvault.com/pulse/6ae2813cfa64c7b9ffe6edfb","created":"2026-10-28"},{"name":"PHP2Shell Weaponized After Japanese Real Estate Extortion","url":"https://otx.alienvault.com/pulse/6ae28116b20445e937a5a058","created":"2026-10-28"}],"provenance":"machine"},"cwes":[{"id":"CWE-416","name":"Use After Free"},{"id":"CWE-755","name":"Improper Handling of Exceptional Conditions"},{"id":"CWE-824","name":"Access of Uninitialized Pointer"},{"id":"CWE-1325","name":"Improperly Controlled Sequential Memory Allocation"},{"id":"CWE-1419","name":"Incorrect Initialization of Resource"}],"references":[{"url":"https://github.com/php/php-src/security/advisories/GHSA-w8hw-w9fx-j79w","tags":["Mitigation","Vendor Advisory"]},{"url":"http://seclists.org/fulldisclosure/2026/Oct/51","tags":["Mailing List"]},{"url":"http://www.openwall.com/lists/oss-security/2026/10/21/6","tags":["Mailing List","Third Party Advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2026/10/23/5","tags":["Mailing List","Third Party Advisory"]},{"url":"https://arcticwolf.com/resources/blog/php2shell-critical-php-vulnerabilities-enable-unauthenticated-remote-code-execution/","tags":["Third Party Advisory"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-166980.html","tags":[]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-566435.html","tags":[]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-566512.html","tags":["Third Party Advisory"]},{"url":"https://php2shell.delftintellab.com","tags":["Third Party Advisory"]},{"url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-109618","tags":["US Government Resource"]},{"url":"https://www.wiz.io/blog/php2shell-php-rce","tags":["Third Party Advisory"]}],"techniques":[{"id":"T1190","name":"Exploit Public-Facing Application","tactics":["initial-access"],"provenance":"ai","basis":"ai-mapping","bases":["ai-mapping"],"basisDetail":"claude-haiku-5-5: network-reachable PHP request triggers memory corruption","mappingType":"exploitation_technique","evidence":[{"from":"description","quote":"lead to remote code execution (RCE)","start":398,"end":433}],"model":"claude-haiku-5-5","confidence":"medium","confidenceNote":"AI-mapped from the description (quote-validated, not expert-reviewed)"},{"id":"T1059","name":"Command and Scripting Interpreter","tactics":["execution"],"provenance":"ai","basis":"ai-mapping","bases":["ai-mapping"],"basisDetail":"claude-haiku-5-5: RCE yields arbitrary command execution in the process","mappingType":"primary_impact","evidence":[{"from":"description","quote":"lead to remote code execution (RCE)","start":398,"end":433}],"model":"claude-haiku-5-5","confidence":"medium","confidenceNote":"AI-mapped from the description (quote-validated, not expert-reviewed)"}],"reports":[],"affected":[],"advisories":[],"euvd":{"id":"EUVD-2026-107260","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-107260","exploited":true,"exploitedSince":"2026-10-26","provenance":"source"},"exploits":[{"id":52704,"url":"https://www.exploit-db.com/exploits/52704","title":"PHP2Shell (CVE-2026-109618) - PHP core versions after v5.4 - RCE","type":"remote","platform":"php","date":"2026-10-22","verified":true,"provenance":"source"}],"exploitSources":{"exploitdb":{"count":1,"earliest":"2026-10-22"},"pocGithub":{"count":704,"skipped":25,"earliest":"2026-10-18","earliestUrl":"https://github.com/corelight/php2shell-detect","repos":[{"name":"ikow/php2shell-poc","url":"https://github.com/ikow/php2shell-poc","stars":1912,"created":"2026-10-21"},{"name":"eness/php2shell-CVE-2026-109618-CVE-2026-109619-PoC","url":"https://github.com/eness/php2shell-CVE-2026-109618-CVE-2026-109619-PoC","stars":1052,"created":"2026-10-21"},{"name":"assetnote/php2shell-scanner","url":"https://github.com/assetnote/php2shell-scanner","stars":969,"created":"2026-10-22"},{"name":"JoasASantos/php2shell-exploit","url":"https://github.com/JoasASantos/php2shell-exploit","stars":191,"created":"2026-10-22"},{"name":"devploit/php2shell","url":"https://github.com/devploit/php2shell","stars":187,"created":"2026-10-21"}]},"nuclei":[{"id":"CVE-2026-109618","name":"PHP2Shell (CVE-2026-109618/CVE-2026-109619) - Active Crash Detection","severity":"critical","path":"http/cves/2026/CVE-2026-109618.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-109618.yaml"}],"first":{"date":"2026-10-18","source":"PoC-in-GitHub","url":"https://github.com/corelight/php2shell-detect"},"provenance":"source"},"exploitRefs":[],"flow":[{"stage":"exploitation","techniques":["T1190"],"provenance":"ai"},{"stage":"primary","techniques":["T1059"],"provenance":"ai"}],"timeline":[{"date":"2026-10-18","kind":"exploit-public","label":"First public exploit: PoC-in-GitHub; later: Exploit-DB 2026-10-22","url":"https://github.com/corelight/php2shell-detect","provenance":"source"},{"date":"2026-10-21","kind":"published","label":"Published (NVD)","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-109618","provenance":"source"},{"date":"2026-10-21","kind":"exploited-reported","label":"Exploitation first reported (VulnCheck KEV evidence)","url":"https://aws.amazon.com/blogs/security/amazon-threat-intelligence-identifies-php2shell-exploitation-prior-to-public-disclosure-in-madpot/","provenance":"source"},{"date":"2026-10-26","kind":"kev","label":"Added to CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","provenance":"source"},{"date":"2026-10-26","kind":"euvd-exploited","label":"ENISA EUVD: exploited","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-107260","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":"PoC-in-GitHub","daysToKev":5},"priority":{"score":79.9,"factors":[{"name":"In a KEV catalog","points":35.0,"detail":"listed in CISA KEV and VulnCheck KEV"},{"name":"Recent KEV listing","points":10.0,"detail":"added 10 days ago"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":20.0,"detail":"percentile 1.0000"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"1 Exploit-DB entry; 704 PoC-in-GitHub repos; 1 nuclei template"},{"name":"Mentioned in OTX pulses","points":3.0,"detail":"50 pulses"},{"name":"CVSS severity","points":6.86,"detail":"base score 9.8"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}