The PHP development team has released security updates fixing several critical vulnerabilities that could allow attackers to run malicious code, bypass server protections, or disrupt websites running affected versions of the popular programming language.
The updates, released November 19, 2026, cover PHP 8.2.36, 8.3.37, 8.4.28, and 8.5.13. PHP 8.6.0 was also released the same day with the security fixes included.
Several vulnerabilities could potentially be exploited remotely without requiring an attacker to sign in. However, the risks depend on how individual servers and applications are configured, meaning not every PHP-powered website is exposed.
Critical vulnerabilities affect web servers
One of the most serious flaws, CVE-2026-129289, affects PHP-FPM, a component that processes PHP requests for web servers.
On affected systems, attackers could send specially crafted requests that bypass normal web server checks and execute unauthorized code. The vulnerability is rated critical, with a severity score of 9.2 out of 10.
The attack requires servers to reuse connections between the web server and PHP, along with specific application behavior. Standard nginx and Apache configurations that close these connections after each request are not affected by the demonstrated attack.
Another critical vulnerability involves PHP’s handling of timezone information. Under certain startup and error-logging conditions, attackers could cause server processes to crash or potentially execute malicious code.
PHP 8.5 also contains a separate memory-handling flaw that could allow remote code execution when an application encounters particular errors. The demonstrated attack depends on specific error-reporting settings and application behavior.
Session security fixes may require configuration changes
The releases also address vulnerabilities in PHP’s session handling, which websites use to maintain information such as user logins and activity.
Two session-related security flaws could allow attackers to manipulate stored session information and potentially execute code. Successful exploitation requires particular conditions, including suitable application code or incompatible session settings.
To reduce the risk, PHP now disables its session upload progress feature by default. Applications that rely on this feature may require configuration changes after upgrading.
The security updates also fix other issues affecting PHP’s request handling, including a flaw in PHP-CGI that could expose server memory or crash processes under certain configurations.
Administrators are encouraged to install the latest patched version for their PHP branch and review server settings that could increase exposure.
The updates are available through the official PHP downloads page, with additional technical details in the PHP changelog.
PHP 8.2 users should also plan to move to a newer supported version, as the branch will stop receiving security updates after December 31, 2026.

Leave a Reply