PHP updates fix critical flaws, some let attackers run code.

The PHP project fixed several critical flaws on 19 Nov. Some let attackers run code if your site is set up a certain way. Update to 8.5.13 or later.

Critical Advisory: update All countries CVE-2026-129289, CVE-2026-129474, CVE-2026-115560 and others
The issue

What's happening.

On 19 November 2026 the PHP project released PHP 8.5.13, 8.4.28, 8.3.37 and 8.2.36. They fix many security flaws, and the project's advisories rate several of them Critical. PHP says most of the Critical flaws need a non-default setting or an uncommon setup, but a few affect common setups.

Three to check first. CVE-2026-129289: if PHP-FPM sits behind a web server that reuses connections to it (nginx with fastcgi_keep_conn on, or Apache with enablereuse on, both off by default), a request can be smuggled through, which can lead to code running. CVE-2026-129474: PHP 8.5 can be attacked to run code when fatal error backtraces are on (the PHP 8.5 default) and the setting zend.exception_ignore_args is off. The recommended production php.ini turns it on, but the official PHP Docker images ship with no php.ini. CVE-2026-115560: session upload progress, which is on by default, can let attacker-controlled data reach a different session serializer, which can lead to code running when websites share one session store.

The impact

What it means for you.

Many small business websites run on PHP, including WordPress, WooCommerce and other content systems. If an attacker gets code running on your web server, they can change your site, steal customer data entered on it, and use the server to attack others. Whether these flaws reach you depends on how your hosting is set up, so the safe course is to update.

The fix

How to fix it.

  1. Ask your web host or agency which PHP version your site runs, and to confirm in writing that it is 8.5.13, 8.4.28, 8.3.37 or 8.2.36 or later. On shared hosting, switch the PHP version in the control panel if it offers a newer one.
  2. If you run your own servers or containers, update PHP to the newest release for your branch and restart PHP-FPM or Apache.
  3. If you use the official PHP Docker images, copy in a php.ini (the production one is best) so your settings are not left at the defaults.
  4. Check that nginx fastcgi_keep_conn and Apache enablereuse are not switched on unless you need them. The PHP project lists this as a protection until you update.
  5. Keep session upload progress switched off (session.upload_progress.enabled=0) where you do not use it, and make sure every application that shares a session store uses the same session serializer.
  6. If you run PHP 8.1 or older, move to a supported version, because it no longer gets security fixes from the PHP project.
  7. Earlier PHP flaws that are being attacked are covered in our PHP remote code execution toolkit. Update to these new releases to cover those as well.
VersionSafe versionStatus
PHP 8.58.5.13 or laterFixed
PHP 8.48.4.28 or laterFixed
PHP 8.38.3.37 or laterFixed
PHP 8.28.2.36 or laterFixed
PHP 8.1 and olderDistribution backport, or move to a supported versionCheck