On Thursday, November 19, the PHP development team distributed security patches for 18 vulnerabilities spanning PHP's core engine, session management, PHP-FPM, CGI, and related subsystems. The patches became available in versions 8.5.13, 8.4.28, 8.3.37, and 8.2.36 across all currently supported PHP branches. According to security researchers at Aikido, several of these flaws carry critical severity ratings and could enable unauthenticated remote code execution on affected systems.

Critical PHP-FPM vulnerability

image

Among the most severe issues is CVE-2026-129289, a request smuggling flaw in PHP-FPM rated critical with a CVSS score of 9.2. Aikido's analysis indicates that the vulnerability permits unauthenticated attackers to run arbitrary PHP code on vulnerable servers when backend connections to PHP-FPM are reused under specific circumstances. The flaw affects certain configurations of nginx, Apache, HAProxy, and LSAPI that maintain persistent connections to PHP-FPM backends. However, standard deployments of nginx and Apache that close backend connections after each request remain unaffected.

Additional critical vulnerabilities

The November updates resolve multiple other critical flaws capable of enabling remote code execution:

  • CVE-2026-129474: A use-after-free condition in magic method backtraces permitting remote code execution
  • CVE-2026-129496: A timezone cache use-after-free flaw enabling remote code execution
  • CVE-2026-126714: A vulnerability involving partially overwritten session files that could lead to remote code execution
  • CVE-2026-115560: A session serializer mismatch condition enabling remote code execution
  • CVE-2026-129291: A PHP-FPM epoll use-after-free bug allowing local privilege escalation
  • CVE-2026-128090: A PHAR OpenSSL signature bypass flaw involving algorithm downgrade attacks

The patch set additionally addresses memory corruption, information leakage, cross-site scripting, denial-of-service conditions, and unsafe handling of HTTPS and FTPS URLs.

Context and prior disclosure

The PHP security team had warned on Wednesday that the forthcoming updates would tackle vulnerabilities present in all supported PHP versions, with the most serious issues designated as critical. The team noted that "The issues rated CRITICAL require either non-default configuration or uncommon setups." One of the vulnerabilities, CVE-2026-115560, had already been disclosed through an October 23 informational advisory and concerns how PHP manages session data in particular configurations.

Interim mitigation strategies

For organizations unable to deploy patches immediately, PHP recommends temporary workarounds. To address CVE-2026-115560, administrators can disable session upload progress by setting session.upload_progress.enabled=0 and restarting PHP workers. This same configuration was previously suggested to mitigate the PHP2Shell vulnerabilities. For CVE-2026-129289, the vulnerability can be mitigated by disabling persistent backend connections between web servers and PHP-FPM, ensuring each request closes the connection afterward.

Aikido cautions that these temporary measures do not fully address all vulnerabilities resolved in the November releases and recommends that PHP-FPM and LSAPI listeners not be directly exposed to untrusted networks.

Support for unsupported versions

While official patches are restricted to supported PHP branches, third-party maintainer Ondrej SurĂ½ has released patched packages for older, unsupported versions dating back to PHP 5.6. Aikido has also published hardened PHP container images with backported security fixes for unsupported versions including PHP 5.6, 7.0, 7.1, 7.2, 7.4, and 8.1.

PHP administrators should prioritize upgrading to PHP 8.5.13, 8.4.28, 8.3.37, or 8.2.36 depending on their currently supported branch to address the newly disclosed security issues.