
PHP security updates fix 18 flaws, including critical RCE bugs
The PHP development team released security updates fixing 18 vulnerabilities across supported branches, including critical flaws that could let unauthenticated attackers execute code remotely.
The PHP development team has released security updates fixing 18 vulnerabilities, including critical flaws that could allow unauthenticated attackers to remotely execute code on vulnerable servers. The updates were released Thursday, November 19, as PHP 8.5.13, 8.4.28, 8.3.37 and 8.2.36 for all supported branches. Security firm Aikido says the fixes address 18 CVEs affecting PHP's core engine, session handling, PHP-FPM, CGI and other components.
Critical PHP-FPM request smuggling flaw
One of the most serious flaws is CVE-2026-129289, a critical PHP-FPM request smuggling vulnerability with a CVSS score of 9.2. According to Aikido, it allows unauthenticated attackers to execute PHP code remotely on vulnerable servers that reuse connections to PHP-FPM under certain conditions. The vulnerability affects certain nginx, Apache, HAProxy and LSAPI configurations that reuse backend connections to PHP-FPM, while standard nginx and Apache configurations that do not reuse backend connections are not affected. Administrators who cannot immediately install the security updates can mitigate it by disabling persistent backend connections between their web servers and PHP-FPM, ensuring connections are closed after each request. Aikido warns that these mitigations do not address all vulnerabilities fixed in the November updates and recommends ensuring PHP-FPM and LSAPI listeners are not directly exposed to untrusted networks.
Other vulnerabilities and temporary mitigations
The updates also fix CVE-2026-129474, a use-after-free vulnerability involving magic method backtraces that could lead to remote code execution; CVE-2026-129496, a timezone cache use-after-free vulnerability that could lead to 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 vulnerability that could lead to remote code execution; CVE-2026-129291, a PHP-FPM epoll use-after-free vulnerability that could lead to local privilege escalation; and CVE-2026-128090, a PHAR OpenSSL signature bypass vulnerability involving an algorithm downgrade. Additional fixes address memory corruption, information disclosure, cross-site scripting, denial-of-service issues and potentially unsafe handling of HTTPS and FTPS URLs. The releases follow a warning issued Wednesday by the PHP security team that the upcoming updates would address vulnerabilities affecting all supported PHP versions, with the highest severity rated critical. The PHP security team warned that the issues rated critical require either non-default configuration or uncommon setups. CVE-2026-115560 was already disclosed in an October 23 informational advisory and relates to how PHP handles session data under certain configurations, potentially leading to remote code execution. As a temporary mitigation, PHP recommended disabling session upload progress by setting session.upload_progress.enabled=0 and restarting PHP workers, a setting also recommended to mitigate the recent PHP2Shell flaws.
Patched packages for unsupported versions
Although the official security updates are limited to supported PHP branches, third-party maintainer Ondrej Surý has also released patched packages for unsupported PHP versions dating back to PHP 5.6. Aikido has similarly released hardened PHP container images containing backported security fixes for unsupported versions, including PHP 5.6, 7.0, 7.1, 7.2, 7.4 and 8.1. PHP administrators are urged to upgrade to PHP 8.5.13, 8.4.28, 8.3.37 or 8.2.36, depending on their supported branch, to address the newly disclosed vulnerabilities.
Earlier coverage: PHP Foundation to release critical security update with RCE fix Thursday
Sources: BleepingComputer · SecurityWeek · ma.ttias.be · GitHub Advisory · PHP
SiTech — AI-powered web development
We build fast, modern websites and bring AI into real business workflows. Have a project or a question? We'd love to help.