PHP security updates fix 18 flaws, including remote code execution
Some PHP web server flaws let attackers take over servers.
Mitigation
Update each PHP branch you use to that branch's fixed version. If you cannot update yet, set session.upload_progress.enabled=0 and restart the PHP workers. For CVE-2026-129289, closing web server connections to PHP-FPM after each request is another option. Find your product's fixed version in the list below.
Fixed version by product
- PHP 8.5
- 8.5.13 or later
- PHP 8.4
- 8.4.28 or later
- PHP 8.3
- 8.3.37 or later
- PHP 8.2
- 8.2.36 or later
Can't update yet?
Add this line to the config file:
session.upload_progress.enabled=0
A wrong setting can stop the service or lock you out. Check the source links below first.
Restart the PHP workers.
Summary
The security updates fix 18 flaws in PHP's core engine, session handling, PHP-FPM and other parts. Some let unauthenticated remote attackers run code on servers, and only servers with specific settings are affected.
Affected when
- CVE-2026-129289: nginx, Apache, HAProxy or LSAPI configured to reuse backend connections to PHP-FPM
- CVE-2026-115560: certain configurations that handle session data
4 other Incidents of this product in the last 30 days
Incidents by product: PHP
Other recent Incidents of PHP
Read the write-up · bleepingcomputer.com (opens in a new tab)