What was released
The release announced a day earlier on php.net arrived on schedule. Fixed versions:
- PHP 8.5.13
- PHP 8.4.28
- PHP 8.3.37
- PHP 8.2.36
PHP 8.6.0 also came out the same day, but it is a feature release, not a security fix. PHP 8.1 and older did not and will not get these fixes.
The worst for a typical server: request smuggling in PHP-FPM
CVE-2026-129289 (critical) affects almost every setup where PHP runs through PHP-FPM behind nginx or Apache, which is the most common setup. PHP could fail to discard the unread part of a request body before reusing the same FastCGI connection for the next request. An unauthenticated attacker can craft a request so that part of it is treated as a separate FastCGI request. This bypasses the web server rules and runs chosen PHP code with the privileges of the PHP-FPM process. All supported branches are affected. This is the one to patch first.
The other critical flaws
- CVE-2026-115560: session serializer mismatch with upload progress enabled. Requires an unusual setup (changing
session.serialize_handlerat runtime). - CVE-2026-126714: an interrupted session file write can leave a file made of two sessions. Affects the default file-based session handler. Code execution needs a suitable object chain in the application.
- CVE-2026-129496: use-after-free in the timezone cache when PHP logs errors to a file during startup.
- CVE-2026-129474 and CVE-2026-129182: PHP 8.5 only, bugs in backtraces on fatal errors. The first requires
zend.exception_ignore_args = 0; the production setting fromphp.ini-productionblocks this attack path. - CVE-2026-129481: use-after-free after interrupted session shutdown (8.3–8.5).
High-rated flaws include local privilege escalation in PHP-FPM (CVE-2026-129291) and a PHAR signature bypass (CVE-2026-128090). Several medium-rated flaws were also fixed, among others in PHP-CGI, SOAP and DOM.
What to patch now and what can wait
Now, ideally today: internet-facing servers where PHP runs through PHP-FPM. The FPM flaw needs no login and no special configuration. Within a few days: the remaining servers, test environments, internal panels and container images. No attacks using these flaws have been reported yet. After PHP2Shell in October, however, attacks started before most companies had updated.
How to check whether a server is vulnerable
PHP version on the command line and in FPM (they may differ):
php -vphp-fpm8.3 -v
Whether PHP runs through FPM:
systemctl list-units | grep -i fpm
In containers: docker exec <container> php -v. Versions 8.5.13, 8.4.28, 8.3.37, 8.2.36 and later in each branch are safe. Distribution packages may use their own numbering with backported fixes; in that case check the package changelog for the listed CVEs.
What to do
- Update PHP to a version listed above or to a distribution package with the fixes, then restart PHP-FPM or the web server. Installing a package does not change running processes.
- Rebuild Docker images on a new
phpbase image and redeploy them. - Until you update, set
session.upload_progress.enabled = 0(workaround for CVE-2026-115560) and check that production servers havezend.exception_ignore_args = 1. The vendor gave no configuration workaround for the FPM flaw, so updating is the only protection. - Shared hosting: check in the panel whether the provider offers the new versions and switch sites to them.
- Servers on PHP 8.1 or older should be scheduled for a move to a supported version, as they will not get these fixes.
Summary
This is a serious PHP security release. The PHP-FPM flaw affects the most common way of running PHP and needs no login, so internet-facing servers should be updated today. The other critical flaws need special conditions, but a single update closes them all.
Sources
The information in this post comes from the sources below. Each link was checked before publication.