问题所在
PHP 在使用 longjmp() 时未能妥善处理内存不足(out-of-memory)错误,导致请求内存处于未初始化状态。随后的请求清理程序可能会读取该内存或在此基础上进行条件跳转,从而使攻击者能够在远程稳定执行任意代码。
影响范围
这影响 PHP 版本 >= 7.3.0 至 < 8.2.35、>= 8.3.0 至 < 8.3.36、>= 8.4.0 至 < 8.4.27 以及 >= 8.5.0 至 < 8.5.12。
应对措施
根据受影响的版本分支,将 PHP 升级至已修复的版本 8.2.35、8.3.36、8.4.27 或 8.5.12。或者,应用厂商提供的缓解措施。
原始描述
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).
已知被利用(CISA KEV)
- 加入 KEV 日期
- 2026-10-26
- 修复期限(美国联邦机构)
- 2026-10-29
- 用于勒索软件
- Unknown
- 要求采取的措施
- 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.
受影响的软件
- PHP ≥ 8.4.0 < 8.4.27≥ 8.5.0 < 8.5.12≥ 7.3.0 < 8.2.35≥ 8.3.0 < 8.3.36 修复版本: 8.4.27, 8.5.12, 8.2.35, 8.3.36 精确匹配
详情
- 发布日期
- 2026-10-21
- 最后修改
- 2026-11-17
- CVSS 向量
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N- CWE
- CWE-416, CWE-755, CWE-824, CWE-1325, CWE-1419
- EPSS(30 天内被利用概率)
- 100.00% (百分位 100)
参考资料
本产品使用 NVD API 的数据,但未获得 NVD 的认可或认证。CVE® 是 The MITRE Corporation 的注册商标;CVE 记录依据 CVE Program 使用条款使用。