漏洞描述
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).
影响产品
修复建议
建议关注厂商安全公告,及时升级至已修复版本,并结合实际资产暴露情况采取缓解措施。
参考链接
www.php.nethttps://www.php.net/index.php#2026-10-21-5↗www.php.nethttps://www.php.net/archive/2026.php↗cert.europa.euhttps://cert.europa.eu/publications/security-advisories/2026-018↗github.comhttps://github.com/php/php-src/security/advisories/GHSA-w8hw-w9fx-j79w↗github.comhttps://github.com/php/php-src/security/advisories/GHSA-6wmf-4rv5-p3rp↗www.wiz.iohttps://www.wiz.io/blog/php2shell-php-rce↗github.comhttps://github.com/assetnote/php2shell-scanner↗seclists.orghttp://seclists.org/fulldisclosure/2026/Oct/51↗www.openwall.comhttp://www.openwall.com/lists/oss-security/2026/10/21/6↗www.openwall.comhttp://www.openwall.com/lists/oss-security/2026/10/23/5↗github.comhttps://github.com/rapid7/metasploit-framework/pull/22139↗arcticwolf.comhttps://arcticwolf.com/resources/blog/php2shell-critical-php-vulnerabilities-enable-unauthenticated-remote-code-execution/↗cert-portal.siemens.comhttps://cert-portal.siemens.com/productcert/html/ssa-166980.html↗cert-portal.siemens.comhttps://cert-portal.siemens.com/productcert/html/ssa-566435.html↗cert-portal.siemens.comhttps://cert-portal.siemens.com/productcert/html/ssa-566512.html↗php2shell.delftintellab.comhttps://php2shell.delftintellab.com↗