PHP fixes 18 flaws including critical remote code execution bugs
PHP released security updates on 19 November fixing 18 vulnerabilities, including a critical PHP-FPM request smuggling flaw with a CVSS score of 9.2.
Photo: BleepingComputerKey points
PHP released security updates on 19 November fixing 18 vulnerabilities, including critical remote code execution flaws.
The PHP development team released security updates on 19 November addressing 18 vulnerabilities, including critical flaws that could allow unauthenticated attackers to remotely execute code on vulnerable servers. The updates were released for all supported PHP branches, with PHP 8.5.13, 8.4.28, 8.3.37, and 8.2.36 now available. Security firm Aikido reported that the updates address 18 CVEs affecting PHP's core engine, session handling, PHP-FPM, CGI, and other components.
One of the most serious flaws, tracked as CVE-2026-129289, is a critical PHP-FPM request smuggling vulnerability with a CVSS score of 9.2. According to Aikido, the flaw 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. Standard nginx and Apache configurations that do not reuse backend connections are not affected by the attack.
Critical flaws detailed
Other important vulnerabilities fixed in the updates include CVE-2026-129474, a use-after-free vulnerability involving magic method backtraces that could lead to remote code execution. CVE-2026-129496 is a timezone cache use-after-free vulnerability that could also lead to remote code execution. CVE-2026-126714 involves partially overwritten session files that could lead to remote code execution. CVE-2026-115560 is a session serializer mismatch vulnerability that could lead to remote code execution.
CVE-2026-129291 is a PHP-FPM epoll use-after-free vulnerability that could lead to local privilege escalation. CVE-2026-128090 is 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 on 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 issues rated CRITICAL require either non-default configuration or uncommon setups," the PHP security team warned. This warning was echoed in the pre-release announcement on 18 November, which stated that all of the vulnerabilities of critical severity require either non-default configuration or uncommon setups.
Mitigation steps
One of the vulnerabilities, 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. This setting was also recommended to mitigate the recent PHP2Shell flaws.
For CVE-2026-129289, administrators who cannot immediately install the security updates can mitigate the vulnerability 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.
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.
Unsupported versions
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. Linux vendors and projects should be releasing updated packages soon, according to LWN.net. The updates come as part of the PHP Project's ongoing security maintenance for its supported branches.
Frequently asked questions
What is the most serious vulnerability fixed in the PHP updates?
The most serious flaw is CVE-2026-129289, a critical PHP-FPM request smuggling vulnerability with a CVSS score of 9.2. It allows unauthenticated attackers to execute PHP code remotely on vulnerable servers that reuse connections to PHP-FPM under certain conditions.
How can administrators mitigate the critical PHP-FPM vulnerability?
Administrators who cannot immediately install the security updates can mitigate CVE-2026-129289 by disabling persistent backend connections between their web servers and PHP-FPM, ensuring connections are closed after each request.
Which PHP versions are affected by the security updates?
The updates were released for all supported PHP branches, with PHP 8.5.13, 8.4.28, 8.3.37, and 8.2.36 now available. Third-party maintainer Ondrej Surý has also released patched packages for unsupported PHP versions dating back to PHP 5.6.


