PHP紧急修复两个严重RCE漏洞
PHP发布PHP 8.5.12、8.4.27、8.3.36和8.2.35,修复CVE-2026-109618与CVE-2026-109619;特定条件下,未经认证的攻击者可能远程执行代码。PHP项目称,两处漏洞分别涉及内存损坏和错误状态残留,位于核心内存管理与错误处理路径。Simon Willison's Weblog和The Next Web报道称,AI工具参与了漏洞研究和报告验证,但修复方案选择及兼容性评估仍由人工工程师负责。
这些漏洞位于PHP大量请求都会触及的核心组件,运行受影响版本的组织应尽快安装可用的安全更新。
Earlier today, the PHP project released PHP 8.5.12, 8.4.27, 8.3.36, and 8.2.35. These releases fix two critical vulnerabilities that, under the right conditions, allow an unauthenticated attacker to execute code on servers running PHP. If you run PHP, it is imperative that you update now. The announcement on php.net contains and references technical details on the vulnerabilities, attack vectors, and instructions on how to update on which systems.
This post isn't about how to update. It's about how these vulnerabilities were found and fixed, what has changed in how PHP security is handled over the past two years, and what we need from the organizations that depend on PHP to keep PHP's security work going.
- CVE-2026-109618 / GHSA-w8hw-w9fx-j79w: RCE via OOM corruption (out-of-memory): If a request reached PHP's memory_limit at exactly the wrong moment, PHP could leave partially initialized internal data behind and later treat it as valid, corrupting memory. On Apache with mod_php, an unauthenticated request can trigger this before any application code runs, and full remote code execution was demonstrated with default settings. Remote code execution was also confirmed on PHP-FPM through application-level code paths.
- CVE-2026-109619 / GHSA-6wmf-4rv5-p3rp: RCE via stale state: A fatal error at the wrong point could leave internal state pointing to memory that belonged to a previous request. A later request handled by the same worker could then use that freed memory. A use-after-free and worker crash were confirmed, and the reporter demonstrated remote code execution against a real-world application running on Apache with mod_php.
#PHP#PHP Foundation#PHP 8.5.12#PHP 8.4.27#PHP 8.3.36#PHP 8.2.35#GPT-5.6 Sol#Gemini 4 Argon#Wiz Atlas#Claude Mythos#OpenAI Daybreak#Wiz Research