$ cat php-8-5-13-luki.md

PHP 8.5.13, 8.4.28, 8.3.37 and 8.2.36: is the update urgent, and what to check

I got an email from DigitalOcean about vulnerabilities in PHP fixed by the releases of 19 November. Every older PHP needs the update, and in three setups the email tells you to check the server first. Which setups those are, how to recognise them, and what to set if you cannot update right away.

part 5 · cyberbezpieczenstwo 1 2 3 4 5 6

On Saturday, 21 November, I got an email from DigitalOcean, a company that rents out servers, about PHP. On 19 November PHP 8.5.13, 8.4.28, 8.3.37 and 8.2.36 came out. According to the email they fix up to 18 vulnerabilities, six of them critical.

The email does not report a break-in. It says that through these vulnerabilities a stranger can run their own code on the server, and that patching is up to you.

A day earlier two similar emails had come, about nginx and about Java. After these three emails I checked every project I look after.

Is it urgent

If your PHP is older than one of the four releases of 19 November, the email advises updating it as soon as possible.

The email points to three setups it tells you to check first.

  • The web server does not close its connection to PHP-FPM after each request. In nginx fastcgi_keep_conn on turns this on, in Apache enablereuse=on. Both settings are off by default.
  • PHP 8.5 runs without the production php.ini file. According to the email, the official PHP Docker images do not have that file until you copy one in yourself.
  • Several applications share one session store and write sessions in different formats. This includes separate pools or vhosts with a shared session directory.

If your PHP is older than 8.5.12, 8.4.27, 8.3.36 or 8.2.35, then according to the email you also still have the critical vulnerabilities fixed in October.

PHP 8.1 and older get no fixes at all. PHP 8.2 stops getting them on 31 December 2026.

According to the email, none of the advisories on these vulnerabilities mentions attacks.

How to check

php -v
php --ini
nginx -T 2>/dev/null | grep -n fastcgi_keep_conn

The first command prints the version. The second shows whether PHP loaded a php.ini file. The third looks in the nginx configuration for the setting from the first point.

If PHP comes from a system package, the version number alone is not enough. Linux distributions add fixes without changing the number, so check your distribution’s security advisory.

What to do

  1. Update PHP to 8.5.13, 8.4.28, 8.3.37 or 8.2.36, or newer.
  2. Restart PHP-FPM and the web server. Without that the old code keeps running.
  3. Check your upload progress bars. The fix turns off by default the PHP feature they may have relied on, so they may stop updating.

If you cannot update right away, the email gives temporary settings:

  • session.upload_progress.enabled=0,
  • fastcgi_keep_conn off in nginx or enablereuse=off in Apache,
  • zend.exception_ignore_args=1, and on PHP 8.5 also fatal_error_backtraces=0,
  • catch_workers_output=no in PHP-FPM.

Put them in php.ini, in the FPM pool or in the server configuration and restart the workers. The email notes that changes made through ini_set() or .user.ini apply too late.

The email also advises setting aside a fixed date each month for updating PHP.

For the curious: what is underneath

How many vulnerabilities there are. Eighteen matches the changelog for version 8.5.13. In 8.4.28 there are fourteen entries with a CVE number. I could not confirm the six critical ones: the changelog gives no ratings, and article headlines speak of four and of seven.

What the PHP project says. In its announcement it wrote that the vulnerabilities rated critical need a non-default configuration or an uncommon setup. The email repeats that and adds that a few affect common setups.

CVE-2026-129289 concerns PHP-FPM, the process that runs PHP code while the web server hands it requests. With a kept-alive connection the flaw lets an attacker smuggle a second request inside the first and, as the email puts it, possibly run code with a single request.

CVE-2026-129474 is linked by the email to a missing php.ini file on PHP 8.5. On the PHP pages I read, that link is not there, so on this point I rely on the email.

CVE-2026-115560 concerns upload progress in the session, a feature that is on by default. If you turn it back on after the update, the email tells you to set a single session.serialize_handler value across every application that shares the session store.

The October vulnerabilities. The PHP project described the releases of 21 October as fixes for bugs that allow code execution without logging in.

Why this pace. The PHP project ships fixes on a four-week cycle. The email adds that AI-assisted research is finding vulnerabilities faster than before, so DigitalOcean expects the pace to continue.

Caveats. As of 23 November 2026. I write from the DigitalOcean email and from the PHP project’s pages; I reproduced none of these vulnerabilities. I did not confirm the count of six critical vulnerabilities in the project’s own sources. The link between CVE-2026-129474 and a missing php.ini I know only from the email. The statement that no attacks were reported comes from the email and may have changed since.

Not sure which version of PHP runs on your servers? Write to me.

$ prev
Java4Shell: who the Java vulnerability concerns, and what to do

I got an email from DigitalOcean about a critical vulnerability in Java. It concerns you only when three things are true at once, the Java version, the server's processor and the application. How to check with one command, and what to set before you update.

← read
$ next
How fraudsters use AI: an Android phone takeover, step by step

AI does not break into the phone. It helps the thief pick whom to rob. The phone's owner lets the thief in by tapping "allow". What it looks like step by step, and which permissions to refuse.

read →
↑