CCSI
← CVE Security Watch

November 19, 2026 at 9:30 AM EST

PHP 8.2.36, 8.3.37, 8.4.28 and 8.5.13 fix critical use-after-free and session flaws

criticalhigh

PHP's November security releases fix five critical issues (CVSS 4.0 9.2), including a session-file flaw in the default files handler and a timezone-cache use-after-free that affect every supported branch, plus a PHP-FPM local privilege escalation.

PHP published security releases for all supported branches on November 19, 2026. The fixed versions are 8.2.36, 8.3.37, 8.4.28 and 8.5.13. PHP says its critical issues need non-default configuration or uncommon setups, but several reach code execution. No exploitation has been reported, and none of these issues are on CISA's Known Exploited Vulnerabilities catalog.

Critical issues affecting all supported branches (8.2 to 8.5)

  • CVE-2026-126714, GHSA-fm2m-fjf5-v3cp: an interrupted write in the default files session handler can leave a mixed session file. An attacker who can influence session contents may get attacker-controlled objects deserialized, leading to RCE when a gadget chain exists. CVSS 4.0 9.2.
  • CVE-2026-129496, GHSA-gr4f-wgx5-jpfv: a timezone-cache use-after-free tied to file-based error logging in non-thread-safe builds. It can crash workers and possibly lead to RCE. CVSS 4.0 9.2.

Critical issues in newer branches only

  • CVE-2026-129481, GHSA-g3vh-838c-65v7: a use-after-free after an interrupted session shutdown, from an incomplete fix for CVE-2026-109619. Affects 8.3, 8.4 and 8.5. CVSS 4.0 9.2.
  • CVE-2026-129474, GHSA-8mjj-2r7p-4hg2: a use-after-free in __call() and __callStatic() backtraces that can lead to unauthenticated RCE. It needs fatal_error_backtraces=1 and zend.exception_ignore_args=0. Affects 8.5 only. CVSS 4.0 9.2.
  • CVE-2026-129182, GHSA-2fjv-p558-g82m: last_fatal_error_backtrace gets repopulated after shutdown, causing a use-after-free. Affects 8.5 only. CVSS 4.0 9.2.

High severity

  • CVE-2026-129291, GHSA-jm4m-qfqx-967m: a PHP-FPM epoll use-after-free when catch_workers_output is on. Code running in a worker can gain the FPM master's privileges, which are often root. Affects 8.2.7 and later. CVSS 4.0 8.8.
  • CVE-2026-128064, GHSA-f6gg-rchx-xw8j: mixed-case HTTPS:// or FTPS:// URLs in the stream wrappers are sent without TLS. CVSS 4.0 8.2.
  • CVE-2026-127960, GHSA-mmf9-xm3v-hg2x: folded HTTP response headers can cause CPU denial of service in the HTTP stream wrapper. CVSS 4.0 8.7.

Also noted

  • CVE-2026-129438, GHSA-mg3p-mxj9-g2mm: incorrect RFC 3986 URI serialization for oversized input. Moderate.

What to do

  • Upgrade to 8.2.36, 8.3.37, 8.4.28 or 8.5.13, or to your distribution's patched package, then restart PHP-FPM or the web server so that no worker keeps running old code.
  • Until you can upgrade, keep zend.exception_ignore_args=1 (the php.ini-production default). Turn off catch_workers_output in PHP-FPM if you don't need it.
  • Debian 11 (bullseye) is past end of life, so its PHP packages may not get these fixes. Plan a supported runtime.

General information only. Confirm fixed versions in the linked official advisories before patching.