Upcoming Critical PHP Security Release (18 Nov 2026)

本文为原文前 6,000 字符的节选翻译,完整内容请查看原文。

The PHP security team announces upcoming security releases scheduled for Thursday, 19 November 2026, between 14:00 and 14:30 UTC. These releases are part of PHP’s regular four-week release cycle and will address security vulnerabilities affecting all supported PHP versions. The highest severity is CRITICAL. The issues rated CRITICAL require either non-default configuration or uncommon setups. Users are strongly encouraged to prepare to upgrade promptly once the releases become available. Technical details and fixed version numbers will be published alongside the releases. Thank you for helping us keep PHP secure.

PHP 安全团队宣布即将于 2026 年 11 月 19 日星期四协调世界时(UTC)14:00 至 14:30 之间发布安全更新。这些版本是 PHP 常规四周发布周期的一部分,将解决影响所有受支持 PHP 版本的安全漏洞。最高严重级别为“严重”(CRITICAL)。被评为“严重”的问题需要非默认配置或不常见的设置。强烈建议用户在版本发布后立即准备升级。技术细节和修复的版本号将随发布一同公布。感谢您帮助我们维护 PHP 的安全。

The PHP team is pleased to announce the fifth release candidate of PHP 8.6.0, RC7. This continues the PHP 8.6 release cycle, whose rough outline is specified in the PHP Wiki. Source downloads of PHP 8.6.0 RC7 are available on the download page. Please carefully test this version and report any issues found in the GitHub Issues. Please DO NOT use this version in production, it is an early test version. For more information on the new features and other changes, you can read the NEWS file, or the UPGRADING file for a complete list of upgrading notes. These files can also be found in the release archive. The next release will be the first GA release, PHP 8.6.0, planned for 19 November 2026. The signatures for the release can be found in the manifest or on the pre-release builds page. Thank you for helping us make PHP better.

PHP 团队很高兴宣布 PHP 8.6.0 的第五个候选版本 RC7。这延续了 PHP 8.6 的发布周期,其大致轮廓已在 PHP Wiki 中说明。PHP 8.6.0 RC7 的源代码下载可在下载页面获取。请仔细测试此版本,并在 GitHub Issues 中报告发现的任何问题。请勿在生产环境中使用此版本,它是一个早期测试版本。有关新功能和其他更改的更多信息,您可以阅读 NEWS 文件,或阅读 UPGRADING 文件以获取完整的升级说明列表。这些文件也可以在发布存档中找到。下一个版本将是第一个正式发布(GA)版本 PHP 8.6.0,计划于 2026 年 11 月 19 日发布。该版本的签名可以在清单或预发布构建页面上找到。感谢您帮助我们使 PHP 变得更好。

The PHP team is pleased to announce the fourth release candidate of PHP 8.6.0, RC5. This continues the PHP 8.6 release cycle, whose rough outline is specified in the PHP Wiki. Source downloads of PHP 8.6.0 RC5 are available on the download page. Please carefully test this version and report any issues found in the GitHub Issues. Please DO NOT use this version in production, it is an early test version. For more information on the new features and other changes, you can read the NEWS file, or the UPGRADING file for a complete list of upgrading notes. These files can also be found in the release archive. The next release will be the first GA release, PHP 8.6.0, planned for 19 November 2026. The signatures for the release can be found in the manifest or on the pre-release builds page. Thank you for helping us make PHP better.

PHP 团队很高兴宣布 PHP 8.6.0 的第四个候选版本 RC5。这延续了 PHP 8.6 的发布周期,其大致轮廓已在 PHP Wiki 中说明。PHP 8.6.0 RC5 的源代码下载可在下载页面获取。请仔细测试此版本,并在 GitHub Issues 中报告发现的任何问题。请勿在生产环境中使用此版本,它是一个早期测试版本。有关新功能和其他更改的更多信息,您可以阅读 NEWS 文件,或阅读 UPGRADING 文件以获取完整的升级说明列表。这些文件也可以在发布存档中找到。下一个版本将是第一个正式发布(GA)版本 PHP 8.6.0,计划于 2026 年 11 月 19 日发布。该版本的签名可以在清单或预发布构建页面上找到。感谢您帮助我们使 PHP 变得更好。

The PHP team announces updated Windows builds: PHP 8.5.12-1, 8.4.27-1, 8.3.36-1 and 8.2.35-1. These builds include Brotli 1.2.1, which fixes CVE-2026-111497, an out-of-bounds write vulnerability in Brotli decompression. In PHP Windows builds, the vulnerable decoder can be reached through the cURL extension when automatic HTTP response decompression is enabled. This is disabled by default in cURL, but applications and HTTP client libraries can enable it. The -1 suffix identifies a Windows package rebuild with updated dependencies. These builds use the same PHP source releases, and the PHP runtime versions remain unchanged. The updated packages are available on the downloads page.

PHP 团队宣布更新了 Windows 构建版本:PHP 8.5.12-1、8.4.27-1、8.3.36-1 和 8.2.35-1。这些构建版本包含了 Brotli 1.2.1,修复了 CVE-2026-111497,这是一个 Brotli 解压缩中的越界写入漏洞。在 PHP Windows 构建版本中,当启用了自动 HTTP 响应解压缩时,可以通过 cURL 扩展访问该易受攻击的解码器。cURL 默认禁用此功能,但应用程序和 HTTP 客户端库可以启用它。后缀“-1”标识了带有更新依赖项的 Windows 软件包重建。这些构建版本使用相同的 PHP 源代码发布,PHP 运行时版本保持不变。更新后的软件包可在下载页面获取。

We suggest you set session.upload_progress.enabled=0 until the next regular bugfix release, to fully protect from an unlikely RCE vector. This setting was already listed as a mitigation in the GHSA-6wmf-4rv5-p3rp advisory for CVE-2026-109619 published on Oct 21st, 2026. If you applied it then, keep it in place and no further action is needed. The issue can only occur under an unusual combination of configuration and application code. An application must set session.serialize_handler to php_binary or php_serialize in its configuration and then switch it to php at runtime with ini_set() before calling session_start(). Session upload progress must also still be enabled. Applications that never change the serialize handler at runtime can keep the feature enabled. Since this setup is unlikely in practice, we are handling it in the regular release cycle and will publish a full advisory for CVE-2026-115560 with the next release.

我们建议您将 session.upload_progress.enabled 设置为 0,直到下一次常规错误修复版本发布,以完全防御一种不太可能的远程代码执行(RCE)向量。此设置已在 2026 年 10 月 21 日发布的 CVE-2026-109619 的 GHSA-6wmf-4rv5-p3rp 公告中列为缓解措施。如果您当时已经应用了该设置,请保持不变,无需进一步操作。该问题仅在配置和应用程序代码的异常组合下才会发生。应用程序必须在其配置中将 session.serialize_handler 设置为 php_binary 或 php_serialize,然后在调用 session_start() 之前使用 ini_set() 在运行时将其切换为 php。此外,必须仍然启用会话上传进度功能。从不在运行时更改序列化处理程序的应用程序可以保持该功能启用。由于这种设置在实践中不太可能出现,我们将在常规发布周期中处理它,并将在下一次发布时发布 CVE-2026-115560 的完整公告。

PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35 fix two critical vulnerabilities that can allow unauthenticated remote code execution. All PHP users are strongly encouraged to update immediately. Who is at risk: all PHP installations serving web requests, including PHP-FPM, Apache with mod_php, php-cgi, FrankenPHP and LiteSpeed. We consider the risk highest for mod_php, with a demonstrated exploit where an unauthenticated request can trigger the attack before any application code runs. The vulnerabilities: RCE via OOM corruption, CVE-2026-109618 (GHSA-w8hw-w9fx-j79w): out-of-memory handling can interrupt PHP while internal request data is only partially initialized. Request cleanup may then treat the invalid data as valid. RCE via stale global state, CVE-2026-109619 (GHSA-6wmf-4rv5-p3rp): request-owned internal state can survive after its backing memory has been freed. A later request handled by the same worker may use that stale state before normal initialization resets it.

PHP 8.5.12、8.4.27、8.3.36 和 8.2.35 修复了两个可能允许未经身份验证的远程代码执行的严重漏洞。强烈建议所有 PHP 用户立即更新。受影响的对象:所有处理 Web 请求的 PHP 安装,包括 PHP-FPM、使用 mod_php 的 Apache、php-cgi、FrankenPHP 和 LiteSpeed。我们认为 mod_php 的风险最高,已有演示漏洞表明未经身份验证的请求可以在任何应用程序代码运行之前触发攻击。漏洞详情:通过内存溢出(OOM)损坏导致的 RCE,CVE-2026-109618 (GHSA-w8hw-w9fx-j79w):内存不足处理可能会在内部请求数据仅部分初始化时中断 PHP。请求清理过程随后可能会将无效数据视为有效。通过陈旧全局状态导致的 RCE,CVE-2026-109619 (GHSA-6wmf-4rv5-p3rp):请求拥有的内部状态在其支持内存被释放后可能仍然存在。由同一工作进程处理的后续请求可能会在正常初始化重置该状态之前使用该陈旧状态。

How to update: Update to PHP 8.5.12, 8.4.27, 8.3.36 or 8.2.35. Source downloads are on our downloads page. Windows source and binaries are on the same page. Linux distributions and LTS vendors received the patches in advance, so check your vendor for updated packages. PHP 8.1 and older no longer receive updates from the PHP project. Some distributions and LTS vendors provide backported fixes, so contact your vendor for details, or upgrade to a supported version. Given the severity of these vulnerabilities, the PHP security team provided minimal source-backports for PHP 7.4, PHP 8.0, and PHP 8.1 to help people building from source or without access to an LTS vendor. If you cannot update immediately: while only an update is a complete solution, the following measures reduce exposure to specific attack paths but do not make an installation safe. RCE via OOM corruption (CVE-2026-109618): Set memory_limit=-1, preferably in a way applications can’t override, such as php_admin_value in the FPM pool or Apache configuration, and check that no pool, directory or application setting puts a finite lim

如何更新:更新至 PHP 8.5.12、8.4.27、8.3.36 或 8.2.35。源代码下载可在我们的下载页面找到。Windows 源代码和二进制文件也在同一页面上。Linux 发行版和长期支持(LTS)供应商已提前收到补丁,因此请检查您的供应商以获取更新的软件包。PHP 8.1 及更早版本不再接收来自 PHP 项目的更新。一些发行版和 LTS 供应商提供向后移植的修复程序,因此请联系您的供应商了解详情,或升级到受支持的版本。鉴于这些漏洞的严重性,PHP 安全团队为 PHP 7.4、PHP 8.0 和 PHP 8.1 提供了最小化的源代码向后移植,以帮助那些从源代码构建或无法获得 LTS 供应商支持的用户。如果您无法立即更新:虽然只有更新才是完整的解决方案,但以下措施可以减少对特定攻击路径的暴露,但并不能使安装环境变得完全安全。通过内存溢出损坏导致的 RCE (CVE-2026-109618):设置 memory_limit=-1,最好以应用程序无法覆盖的方式进行设置,例如在 FPM 池或 Apache 配置中使用 php_admin_value,并检查没有池、目录或应用程序设置施加了有限的限制。