Security Alert: PHP security releases - action recommended (6 critical CVEs)

in #blog • 4 days ago

Security Alert: PHP security releases - action recommended (6 critical CVEs)

The following is sent by Digital Ocean

What's Going On

On November 19, 2026, the PHP project released PHP 8.5.13, 8.4.28, 8.3.37 and 8.2.36. Together these releases fix up to 18 security vulnerabilities, six of them rated Critical (CVSS 4.0 score 9.2). Details are in the PHP 8 ChangeLog and the individual advisories.

PHP notes that most of the critical issues need non-default configuration or an uncommon setup. A few affect common setups, and we want you to check these first:

PHP-FPM behind a web server that reuses FastCGI connections (CVE-2026-129289). If nginx fastcgi_keep_conn or Apache enablereuse is on, an unauthenticated attacker may be able to run code with a single request. Both settings are off by default.
PHP 8.5 running without the production php.ini (CVE-2026-129474). The official PHP Docker images ship without a php.ini unless you copy one in.
Session upload progress, which is on by default (CVE-2026-115560). Applications that share one session store but use different session serialize handlers are exposed, including separate pools or vhosts that share a session directory.
If not mitigated, these vulnerabilities could allow an attacker to execute code on the affected server. None of the advisories reports exploitation in the wild at this time.

Who Is Affected

If you run PHP versions earlier than the releases below anywhere in your DigitalOcean infrastructure - on Droplets, in DOKS workloads, in App Platform apps or custom containers, or via Marketplace 1-Click images (WordPress, LAMP, LEMP, Laravel, etc.) - you should consider yourself potentially in scope until patched. The DigitalOcean Marketplace team is currently in the process of suspending affected images until they are patched. If you have previously deployed a Marketplace image with PHP, please log in and update immediately.

A patch is available from PHP, and we strongly recommend updating to one of these versions or newer as soon as you are able:

PHP 8.5.13
PHP 8.4.28
PHP 8.3.37
PHP 8.2.36 (PHP 8.2 reaches end of life on 31 December 2026)
A few details worth knowing:

PHP 8.1 and older no longer receive security fixes and remain exposed. Plan a move to a supported branch.
If you are on anything older than 8.5.12, 8.4.27, 8.3.36 or 8.2.35, you are also still exposed to the critical issues PHP fixed in October.
If you use PHP from a Linux distribution package, the vendor may have backported the fix without changing the version number. Check your distribution's security advisory rather than relying on the version string.

How to Remediate

The best course of action is to update to a patched version as soon as possible and restart PHP-FPM and your web server so the fix is loaded. You can confirm your version after upgrading with php -v. Not sure whether you are exposed?

To help prioritize your review, open the PHP exposure scanner in DigitalOcean WatchDeck. The scanner identifies publicly accessible resources that show signs of PHP. A finding tells you where to investigate. Verify the patch status of every workload where you run PHP, including any that do not appear in the results.

The fix for CVE-2026-115560 turns session upload progress off by default. Upload progress bars that rely on this PHP feature may stop updating. If you turn it back on, use a single session.serialize_handler value across every application that shares the session store. If you are unable to update right away, see the PHP 8 ChangeLog. As a temporary measure, you can set the following in php.ini, your FPM pool or your server config, then restart all workers. Changes made with ini_set() or .user.ini apply too late to help.

Set session.upload_progress.enabled=0.

  • Turn off FastCGI connection reuse (nginx fastcgi_keep_conn off, Apache enablereuse=off).
  • Set zend.exception_ignore_args=1, and on PHP 8.5 also fatal_error_backtraces=0.
  • Set catch_workers_output=no in PHP-FPM. The official php-fpm Docker images turn it on.

These are temporary measures only, and your system may remain vulnerable until you are able to patch.

Make PHP releases part of your routine

PHP now publishes security releases on roughly a monthly cadence, and AI assisted research is finding vulnerabilities faster than before, so we expect that pace to continue. We encourage you to watch php.net for new releases, set aside a regular monthly patch window for PHP, and use the WatchDeck scanner above to see where you stand after each release.

A note on shared responsibility

DigitalOcean sends notices like this out of an abundance of caution and because we care about our customers. Keeping the software you run on your infrastructure patched and secure remains your responsibility, and we are glad to help you get there.

Please take immediate action to help secure your environment. Our Support team is available if you need assistance with this upgrade. Please be aware that if we see evidence your infrastructure is engaging in abusive behavior, we may take temporary action to limit any harm caused to our other customers and the Internet at large, up to and including restricting network traffic for the resources, as part of the activities we customarily undertake to protect the environment.

Thank you for treating this with urgency, keeping your projects and infrastructure safe, and helping keep the Internet safe.

image.png

image.png

image.png

Steem to the Moon🚀!

Support me, thank you!

Why you should vote me? My contributions
Please vote me as a witness or set me as a proxy via https://steemitwallet.com/~witnesses

image.png

Sort: