PHP security release of 19 November 2026: patch status

PHP released 8.2.36, 8.3.37, 8.4.28 and 8.5.13 on 19 November 2026. The security advisories went public at 14:05 UTC. They fix 17 security bugs, 7 of them CRITICAL (ChangeLog ). The worst one affects PHP-FPM when the web server in front of it reuses FastCGI connections. See Am I affected? , then patch .

Updates#

  • 19 November 2026, 15:55 UTC. Remi now has PHP 8.3.37 for EL 8 on x86_64. See package status .
  • 19 November 2026, 15:40 UTC. The Docker php image and the shivammathur/php tap now have all four fixed versions. See package status .
  • 19 November 2026, 15:00 UTC. PHP released the fixes. This post now has the fixed versions, who is affected and the workarounds . The package status shows the first fixed packages.
  • 18 November 2026, 19:30 UTC. Published before the release.

Package status#

Last checked at 15:55 UTC on 19 November, in each repository’s own package index and in the vendor advisories.

  • ✔Fixed package available
  • 8.4.27Vulnerable, shows the version it has
  • ?Not confirmed yet
  • —Branch not shipped

PHP’s own versions#

Source8.2fix 8.2.368.3fix 8.3.378.4fix 8.4.288.5fix 8.5.13
Upstream
php.netSource code (downloads)✔✔✔✔
windows.php.netWindows builds✔✔✔✔
Debian and Ubuntu
packages.sury.orgamd64Debian 12, 13 · Ubuntu 22.04, 24.04, 26.04✔✔✔✔
packages.sury.orgarm64Debian 13 · Ubuntu 22.04, 26.048.2.358.3.36✔8.5.12
packages.sury.orgarm64Debian 12 · Ubuntu 24.048.2.358.3.368.4.278.5.12
ppa:ondrej/phpamd64, arm64Ubuntu 22.04, 24.048.2.358.3.368.4.278.5.12
RHEL and clones
Remi, EL 8x86_64RHEL 8 and clones✔✔✔?
Remi, EL 8aarch64RHEL 8 and clones?✔✔✔
Remi, EL 9x86_64RHEL 9 and clones✔✔✔?
Remi, EL 9aarch64RHEL 9 and clones✔✔✔✔
Remi, EL 10x86_64RHEL 10 and clones?✔✔✔
Remi, EL 10aarch64RHEL 10 and clones✔✔✔✔
Containers
Docker php imageamd64, arm64Tags 8.2.36, 8.3.37, 8.4.28, 8.5.13 (Docker Hub)✔✔✔✔
FrankenPHP
Docker dunglas/frankenphp imageamd64, arm648.2.358.3.368.4.278.5.12
FrankenPHP binaryBundles PHP 8.5. Rebuilt every night; last rebuilt before the release———8.5.12
macOS
Homebrew8.2.358.3.368.4.278.5.12
shivammathur/php tapAlso used by setup-php on macOS✔✔✔✔
Alpine
Alpine 3.24, edgex86_64, aarch64—8.3.368.4.278.5.12

Remi’s server is overloaded today. A ? means it did not answer for that build. It does not mean the fix is missing.

Distribution packages#

Ubuntu, Debian and Red Hat put the fix into the PHP version they already ship. So their version numbers differ from PHP’s.

DistributionStatus
Ubuntu
Ubuntu 24.04php8.3Ubuntu has not published its status yet. Current: 8.3.6-0ubuntu0.24.04.13?
Ubuntu 22.04php8.1Ubuntu has not published its status yet. Current: 8.1.2-1ubuntu2.28?
Ubuntu 26.04php8.5Ubuntu has not published its status yet. Current: 8.5.4-0ubuntu1.5?
Debian
Debian 13php8.48.4.28-1~deb13u1 (DSA-6641-1)✔
Debian 12php8.2Affected, no fixed package yet. Current: 8.2.35-1~deb12u1no fix
Red Hat and clones
RHEL 8, 9, 10Red Hat has not published its CVE pages yet?

Am I affected?#

Every PHP 8.2 to 8.5 install should upgrade. Each CRITICAL bug only affects certain setups:

BugBranchesAffects you when
CVE-2026-129289 , PHP-FPM request smuggling, code execution without login8.2 to 8.5The web server or proxy in front of PHP-FPM reuses FastCGI connections: nginx fastcgi_keep_conn on, Apache enablereuse=on, HAProxy keeping backend connections, or LSAPI. The default nginx and Apache setups are not affected.
CVE-2026-126714 , interrupted session writes, possible code execution8.2 to 8.5You use the default files session handler and store user data in sessions. Code execution only works if your app has classes an attacker can misuse.
CVE-2026-115560 , session serializer mismatch, possible code execution8.2 to 8.5session.upload_progress.enabled is on. And session data is written with one session.serialize_handler and read with another.
CVE-2026-129496 , timezone cache use-after-free, possible code execution8.2 to 8.5PHP logs errors to a file and prints a warning at startup, for example an invalid date.timezone.
CVE-2026-129481 , use-after-free after a failed session shutdown8.3 to 8.5A fatal error happens while PHP closes the session.
CVE-2026-129474 , use-after-free in __call() backtraces, code execution8.5fatal_error_backtraces is on (the 8.5 default) and zend.exception_ignore_args=0. php.ini-production sets zend.exception_ignore_args to 1.
CVE-2026-129182 , use-after-free after shutdown errors8.5fatal_error_backtraces is on, and you change PHP settings per directory or per request.

One more bug is rated High. CVE-2026-129291 lets code that runs in a PHP-FPM worker become root. That needs a pool with catch_workers_output = yes. The official php:*-fpm Docker images turn that on.

FrankenPHP bundles its own PHP. The session, engine and extension bugs apply to it. The PHP-FPM bugs do not.

Workarounds until you can patch#

These come from PHP’s advisories. They lower your risk. They do not fix the bugs.

  • Turn off FastCGI connection reuse. Remove fastcgi_keep_conn on in nginx and enablereuse=on in Apache.
  • Set session.upload_progress.enabled = 0 if you don’t use upload progress.
  • Set zend.exception_ignore_args = 1. On PHP 8.5, also set fatal_error_backtraces = 0.
  • Set catch_workers_output = no in every PHP-FPM pool.
  • Fix the warnings PHP prints at startup, or log errors to syslog instead of a file.

Restart PHP-FPM or Apache after each change. FPM pools and your app can override php.ini. Check their settings too.

How to patch#

Install the fix from the same place your PHP comes from now. Then restart every process that runs PHP. If your source has no fix yet in the table above, the upgrade commands below do nothing.

Find where your PHP comes from#

Ubuntu, Debian

dpkg -l 'php*-fpm' 'php*-cli' | awk '/^ii/{print $2, $3}'
apt-cache policy php8.3-fpm

A version with deb.sury.org comes from Ondřej’s PPA or packages.sury.org. A version with ubuntu or ~deb12u comes from your distribution. Replace 8.3 with your PHP version.

RHEL, Alma, Rocky

rpm -qa 'php*-fpm' --qf '%{NAME} %{VERSION}-%{RELEASE} %{VENDOR}\n'
dnf module list --enabled php

A release with remi comes from Remi’s repository. RHEL 10 has no module streams.

Docker

docker compose images
docker compose exec app php -v

Replace app with the name of your PHP service.

macOS

brew list --versions | grep '^php'

Install the fix#

Ubuntu, Debian

sudo apt-get update
sudo apt-get install --only-upgrade 'php8.3*' libapache2-mod-php8.3
sudo systemctl restart php8.3-fpm

This only upgrades packages you already have. Keep the quotes around 'php8.3*'. Run it for every PHP version on the server.

RHEL, Alma, Rocky

sudo dnf upgrade --refresh 'php*'
sudo systemctl restart php-fpm

--refresh fetches new metadata first. Remi’s mirrors sometimes lag behind without it. For Remi’s SCL packages, such as php84-php-fpm, run sudo dnf upgrade --refresh 'php84-*' and restart php84-php-fpm.

Docker

docker compose build --pull
docker compose up -d

--pull fetches the new php: base image. Without it, Docker reuses the old one. For services that use a php: image directly, run docker compose pull first.

macOS

brew update
brew upgrade php [email protected] [email protected] [email protected]
brew services restart php

Only list the formulas you have installed.

What to restart#

A running process keeps the old PHP in memory until it restarts.

How PHP runsWhat to do after the upgrade
PHP-FPMRestart php8.3-fpm (Debian, Ubuntu) or php-fpm (RHEL).
Apache with mod_phpRestart apache2 or httpd. A reload or apachectl graceful is not enough.
LiteSpeedUpgrade the lsphpXY packages, then run sudo pkill lsphp. Restarting LiteSpeed does not restart PHP.
FrankenPHPPull the new dunglas/frankenphp image, or download the binary again. PHP is built in, so apt and dnf do not fix it. Check with frankenphp version.
Queue workers, Laravel Octane, SupervisorRestart them. php artisan queue:restart for Laravel queues. octane:reload reloads your code, not PHP.

Check that nothing runs the old PHP#

A process that still runs the old PHP shows the replaced file as (deleted). Empty output means every process runs the new PHP:

sudo grep -lE ' /(usr|lib|opt).*\(deleted\)$' /proc/[0-9]*/maps

The pattern skips /dev/zero on purpose. OPcache keeps a deleted /dev/zero mapping in every PHP-FPM process, even before the upgrade.

Running PHP 8.1 or older?#

PHP no longer fixes 8.1 and older (supported versions ). CVE-2026-129289 goes back to PHP 5.6, so older versions are likely affected. Some distributions still patch them, such as Ubuntu 22.04 in the table above. PHP 8.2 loses security support on 31 December 2026. Plan the move to 8.4 or 8.5.