Officially, per php.net: update to PHP 8.5.13, 8.4.28, 8.3.37 or 8.2.36. These security releases came out on November 19, 2026 and fix 18 CVEs in the 8.5 branch, at least seven of them rated critical. Below: who is actually affected, how to check your version, how to update PHP and PHP-FPM in about ten minutes, and what to switch off if you cannot update today.
What was released on November 19, 2026
On November 19, 2026 the PHP project shipped four security releases at once, one for every branch that still gets security fixes, and on the same day released PHP 8.6.0. According to the PHP 8 ChangeLog, PHP 8.5.13 (and 8.6.0) fixes 18 CVEs. PHP 8.3.37 fixes 13: the issues in Core, DOM and the URI extension only exist in 8.5. The list for 8.2.36 is slightly shorter than for 8.3.
If you saw “17 vulnerabilities” in a news story: the counts in the press vary between 17 and 18. The ChangeLog is the source to trust, and it lists 18 CVEs for the 8.5 branch.
| Branch | Patched version (Nov 19, 2026) | Security fixes until |
|---|---|---|
| 8.6 | 8.6.0 (fixes included) | Dec 31, 2030 |
| 8.5 | 8.5.13 | Dec 31, 2029 |
| 8.4 | 8.4.28 | Dec 31, 2028 (active support until Dec 31, 2026) |
| 8.3 | 8.3.37 | Dec 31, 2027 |
| 8.2 | 8.2.36 | Dec 31, 2026 |
| 8.1 | none | ended Dec 31, 2025 (last release 8.1.34) |
Support dates are from php.net/supported-versions as of November 26, 2026. Since the 8.2 branch reaches end of life at the end of December, 8.2.36 may turn out to be one of its last releases — that is our estimate, not an announcement.
The fixes touch Core, CGI, Date, DOM, FPM, Phar, Session, SOAP, Standard (the http and ftp stream wrappers and header handling) and URI, which also gets an updated bundled uriparser library (CVE-2026-48841). A day before the release, php.net warned in its pre-announcement that the critical issues depend on non-default configurations or less common deployment setups. That is good news, but it is not a reason to skip the update: “unusual” covers more servers than you might think, as the table below shows.
The critical CVEs: who is affected and the workaround
Severity labels come from the php-src security advisories on GitHub (CVSS 4.0). Among the 15 advisories we reviewed, 7 are Critical, 3 High and 5 Moderate; the list may not be complete, so read it as “at least seven critical”.
| CVE / component | Score | Affected when | Workaround before updating |
|---|---|---|---|
| CVE-2026-129289 PHP-FPM, request smuggling via an unread body | Critical 9.2 | All branches. The front end reuses connections to FPM (nginx fastcgi_keep_conn on, Apache enablereuse=on, HAProxy FastCGI with kept connections, LSAPI) and some code path opens php://input without reading the whole body. | Turn off fastcgi_keep_conn / enablereuse. |
| CVE-2026-115560 Session, serializer mismatch | Critical 9.2 | All branches. session.upload_progress is on and one session storage is written with different session.serialize_handler values (for example ini_set() before session_start(), or two apps or pools sharing storage). Code execution also needs a gadget chain. | session.upload_progress.enabled = 0 |
| CVE-2026-129474 Core, use-after-free in magic method backtraces | Critical 9.2 | Only 8.5 before 8.5.13. fatal_error_backtraces=1 (default in 8.5) and zend.exception_ignore_args=0. The php.ini-production template sets the latter to 1, which closes the path. | zend.exception_ignore_args = 1 in the FPM pool, not only for CLI. |
| CVE-2026-129496 Date, use-after-free in the time zone cache | Critical 9.2 | All branches. A startup diagnostic goes to a file-based error_log (say, an invalid date.timezone), followed by an early request diagnostic in a fresh worker (say, a max_input_vars warning). | Fix startup warnings (valid date.timezone) and restart workers, or log to syslog. |
| CVE-2026-129291 PHP-FPM epoll use-after-free, local privilege escalation | High 8.8 | Attacker already runs code in an FPM worker and catch_workers_output=yes (off by default, on in the official php-fpm Docker images). Root only if the FPM master runs as root. Also affects 8.1.20–8.1.34, with no fix for 8.1. | catch_workers_output = no |
| CVE-2026-129538 php-cgi, PATH_INFO | Moderate 6.9 | Only php-cgi (CGI or FastCGI through php-cgi) with cgi.fix_pathinfo=1. PHP-FPM and mod_php are not affected. | cgi.fix_pathinfo = 0 |
Security news outlets report a public proof of concept for CVE-2026-115560 (the session issue). We have not verified it ourselves, but it is one more reason to deal with that one first.
The rest of the batch, briefly:
- FPM: XSS on the status page (CVE-2026-129292).
- Phar: OpenSSL signature verification bypass (CVE-2026-128090).
- SOAP: CVE-2026-15353 and CVE-2026-129506.
- Standard:
https://andftps://URLs written in mixed case were sent as plain text (CVE-2026-128064); denial of service via folded headers (CVE-2026-127960). - DOM: double free (CVE-2026-129501).
- Session: two more issues (CVE-2026-126714, CVE-2026-129481).
- Core and URI: CVE-2026-129182 and CVE-2026-129438.
Am I affected? FPM, mod_php, php-cgi, CLI
Short answer: if you run a supported branch older than the versions above, you are running known-vulnerable code, even if none of the critical conditions match your setup. How urgent it is depends on how PHP is wired into your web server:
| Setup | What matters most |
|---|---|
| nginx + PHP-FPM (typical VPS) | FPM smuggling if fastcgi_keep_conn on; session, date and core issues depend on ini settings. |
| Apache + PHP-FPM (mod_proxy_fcgi) | FPM smuggling if enablereuse=on. |
| Apache + mod_php | Not affected by the FPM and php-cgi issues; Session, Date, Core, Standard still apply. |
| php-cgi | PATH_INFO issue with cgi.fix_pathinfo=1, plus the common ones. |
| Official Docker php-fpm images | catch_workers_output is on there, so the privilege escalation path exists once an attacker has code execution. |
| Shared hosting | Many sites share one server; the host patches PHP, you check that they did. |
| CLI only (cron, queues, scripts) | Lower exposure, but the binary is still old: update with the rest. |
A quick checklist before you decide how fast to move:
- Which branch and exact version does the web server run (not just
php -v)? - Is
fastcgi_keep_connorenablereuseswitched on anywhere? - Is
session.upload_progress.enabledon, and do different apps or pools share session storage? - On 8.5: is
zend.exception_ignore_argsset to 0? - Are there warnings in the PHP error log right after FPM starts?
- Is
catch_workers_outputon, and does the FPM master run as root? - Is any site served through php-cgi rather than FPM or mod_php?
Every “yes” moves that server to the top of the list.
How to check your PHP version (CLI vs web server)
The command line and the web server often run different PHP binaries. A server can show 8.3.37 in php -v and still serve the site from an old FPM process, or from a different branch altogether. Check both.
php -v # CLI: what cron, Composer and wp-cli use
php-fpm8.3 -v # FPM binary on Debian/Ubuntu (put your branch here)
php-fpm -v # RHEL/Alma/Rocky and the official Docker images
ls /run/php/ # one socket per running FPM version on Debian/Ubuntu
systemctl list-units 'php*' --no-legendTo see what the site itself uses, drop a temporary file into the web root, open it in a browser and delete it right away. A full phpinfo() page works too, but it reveals far more about your server than you want public, so the short version below is safer:
<?php
// Temporary file. Give it a random name, open it once, then DELETE it.
header('Content-Type: text/plain');
echo 'PHP_VERSION: ', PHP_VERSION, PHP_EOL;
echo 'SAPI: ', PHP_SAPI, PHP_EOL; // fpm-fcgi, apache2handler or cgi-fcgi
echo 'php.ini: ', php_ini_loaded_file(), PHP_EOL;
// Settings that decide whether the critical CVEs apply to you
foreach ([
'session.upload_progress.enabled',
'zend.exception_ignore_args',
'fatal_error_backtraces',
'cgi.fix_pathinfo',
'date.timezone',
] as $key) {
echo str_pad($key, 34), var_export(ini_get($key), true), PHP_EOL;
}The checklist items about the web server and FPM can be checked with a few greps:
# Does the web server keep FastCGI connections open? (FPM smuggling CVE)
sudo grep -rn 'fastcgi_keep_conn' /etc/nginx/
sudo grep -rni 'enablereuse' /etc/apache2/ /etc/httpd/ 2>/dev/null
# Is worker output captured? (local privilege escalation CVE)
sudo grep -rn 'catch_workers_output' /etc/php/ /etc/php-fpm.d/ 2>/dev/null
# Who owns the FPM master process? root here raises the stakes
ps -o user,pid,cmd -C php-fpm8.3How to update PHP
Patch releases inside a branch keep compatibility, so the update itself is routine. Take a backup or snapshot anyway, especially on a server you have not touched in a while.
Ubuntu and Debian
Packages from your distribution and from the ondrej/php PPA are updated with apt. Note that distribution packages may keep the old version number and carry the fix as a backport — see below before deciding they are unpatched.
# Ubuntu / Debian (distribution packages or the ondrej/php PPA)
apt policy php8.3-fpm # which version the repository offers now
sudo apt update && sudo apt install --only-upgrade 'php8.3*'
php -v
php-fpm8.3 -v
# several branches installed side by side? upgrade each one
sudo apt install --only-upgrade 'php8.4*' 'php8.5*'RHEL, AlmaLinux, Rocky Linux
# RHEL / AlmaLinux / Rocky with the Remi repository
sudo dnf check-update 'php*' # what is about to change
sudo dnf upgrade 'php*'
php -v
php-fpm -vDocker
An image tag like php:8.3-fpm moves to the new patch release, but your running containers keep the old image until you pull and rebuild:
# Dockerfile: the tag follows the branch, but nothing changes until you pull
FROM php:8.3-fpm
# fetch the new base image and rebuild without a stale layer
docker pull php:8.3-fpm
docker build --pull -t my-app .
# recreate the container from the new image and confirm the version
docker compose up -d
docker compose exec app php -vWhile you are in the Dockerfile: the official php-fpm images enable catch_workers_output, which is one of the conditions for CVE-2026-129291. Keep the master process from running as root where you can.
cPanel, Plesk and shared hosting
- cPanel / WHM: PHP comes from EasyApache, so apply the system updates through WHM; the per-site version is chosen in MultiPHP Manager.
- Plesk: install the PHP updates offered in the Plesk updater. According to reports, Plesk said it would backport fixes to its own 8.1, 8.0 and 7.4 builds; check the release notes of your installation rather than assuming.
- Shared hosting: you cannot patch PHP yourself. Check the version with the temporary file, and if it is still old, ask support when the patched build arrives. If the panel offers a version switch, make sure you are on 8.2 or newer.
Restart PHP-FPM and confirm the new workers
Installing the package replaces files on disk. Workers that were already running keep the old code in memory until they are restarted. Package scripts often restart the service for you, but do not count on it — check.
# PHP-FPM: graceful reload, workers finish their current requests
sudo systemctl reload php8.3-fpm
# if reload does not pick up the new binary, do a full restart
sudo systemctl restart php8.3-fpm
# "Active: ... since" must show a time AFTER the upgrade
systemctl status php8.3-fpm --no-pager | head -n 5
# start time of the master and every worker
ps -o pid,lstart,cmd -C php-fpm8.3
# mod_php lives inside Apache, so restart Apache instead
sudo systemctl restart apache2 # httpd on RHEL-like systemsOPcache lives in the FPM (or Apache) process memory, so it is cleared by the same restart; there is nothing extra to flush. Then open your temporary version file once more: only when it shows the new number through the web server is the job done. If you run several branches side by side, repeat for each phpX.Y-fpm service.
Distribution packages: backports without a new version number
Debian, Ubuntu and RHEL often keep the PHP version their release shipped with and port security fixes into that version. In that case php -v can show an older number than 8.3.37 while the package is actually patched. The package changelog tells you what is really inside:
# Debian / Ubuntu: the latest entries mention the CVE numbers
apt changelog php8.3-fpm | head -n 30
# RHEL / Alma / Rocky
rpm -q --changelog php-fpm | head -n 30
# search for one specific CVE
apt changelog php8.3-fpm | grep -i 'CVE-2026-129289'If the changelog does not mention the November CVEs yet, check your distribution’s security tracker (Ubuntu Security Notices, Debian Security Advisories, Red Hat errata) for the status of each CVE. A fix may take a few days to reach the stable repositories; the temporary measures below cover that gap.
Can’t update today? Temporary mitigations
These settings close the specific conditions described in the advisories. They are a stopgap for a day or two, not a replacement for the update — the release fixes more than the issues they cover.
| Setting | Closes | Side effects |
|---|---|---|
fastcgi_keep_conn off / no enablereuse | FPM smuggling (CVE-2026-129289) | Slightly more connection overhead. |
session.upload_progress.enabled = 0 | Session mismatch (CVE-2026-115560) | Upload progress bars based on it stop working. |
zend.exception_ignore_args = 1 | Core backtraces on 8.5 (CVE-2026-129474) | Stack traces no longer show argument values. |
valid date.timezone, no startup warnings | Date cache (CVE-2026-129496) | None. |
catch_workers_output = no | FPM epoll escalation (CVE-2026-129291) | Worker stdout/stderr no longer reaches the FPM log. |
cgi.fix_pathinfo = 0 | php-cgi PATH_INFO (CVE-2026-129538) | Apps relying on PATH_INFO under php-cgi may need URL rewrites. |
# nginx: stop reusing connections to PHP-FPM
location ~ \.php$ {
include fastcgi_params;
fastcgi_pass unix:/run/php/php8.3-fpm.sock;
fastcgi_keep_conn off; # was "on"; deleting the line has the same effect
}
# Apache mod_proxy_fcgi: remove enablereuse=on (or set it to off); php.ini, or in the FPM pool as php_admin_value[...] (see below)
session.upload_progress.enabled = 0
zend.exception_ignore_args = 1
date.timezone = America/New_York ; any valid zone, so there is no startup warning
cgi.fix_pathinfo = 0 ; only relevant for php-cgi setups
; /etc/php/8.3/fpm/pool.d/www.conf
catch_workers_output = no
php_admin_value[session.upload_progress.enabled] = 0
php_admin_value[zend.exception_ignore_args] = 1After changing nginx, run sudo nginx -t before reloading it; after changing ini files or pools, reload PHP-FPM as shown above and confirm the values with the temporary file.
PHP 8.1 and older: no fix is coming
PHP 8.1 stopped getting security fixes on December 31, 2025; 8.1.34 is its final release. The PHP project did not publish anything for 8.1 in this batch, and at least the FPM epoll issue (CVE-2026-129291) is documented as affecting 8.1.20 to 8.1.34. Versions 8.0 and 7.x are in the same position. Some control panel vendors maintain their own patched builds of old branches, but that is their product, not an official PHP release.
A realistic plan if you are stuck on an old branch:
- Today: apply the mitigations above that match your setup.
- This week: set up a staging copy on 8.4 or 8.5 and run your tests or click through the critical flows (login, forms, checkout).
- Next: switch production with a tested rollback. Skipping 8.2 makes sense — it reaches end of life on December 31, 2026.
What changes between versions, how to check a project with Composer and how to switch FPM versions without downtime is covered in our PHP 8.6 guide: new features, deprecations and upgrade plan. Moving to 8.6 itself is optional; the upgrade steps are the same for 8.4 and 8.5.
For WordPress sites, plugins are usually the limiting factor, not core; the WordPress 7.2 overview lists the PHP versions the next release supports.
How not to miss the next PHP security release
- php.net: releases are announced in the news archive on php.net, and the site offers a news feed you can add to any RSS reader.
- GitHub: on the php-src repository, use Watch → Custom → Security alerts to get an email when a new advisory is published.
- Your distribution: subscribe to Ubuntu Security Notices (USN) or Debian Security Advisories (DSA) — they tell you when the patched package actually lands in your repository.
- Automatic updates: unattended security upgrades on Debian/Ubuntu or a scheduled
dnf upgradepull fixes in without you, but still need a PHP-FPM restart to take effect.
Security releases tend to come in waves across ecosystems: the Node.js project shipped its own round in November too, see the Node.js security update guide if you run both.
If your site uses the Sitecog chat widget, forms or CMS: they are connected with a single script and run in the browser and on Sitecog’s servers, so they do not depend on your site’s PHP version, and there is nothing to do with them when you update PHP.
Frequently asked questions
Do I need to update if my PHP configuration is standard?
Yes. php.net said the critical issues need unusual configurations or less common deployments, so a stock setup is much less exposed. But the release fixes 18 CVEs in the 8.5 branch, not only the critical ones, and a patch release is the cheapest fix you will ever install. Update within days, not months.
Can a PHP patch release break my site?
Very rarely. Releases inside one branch (8.3.36 to 8.3.37, for example) keep compatibility; breaking changes come with minor and major versions such as 8.5 to 8.6. One deliberate change this time: the Session fix turns session.upload_progress off by default, so if your upload form shows a progress bar based on it, check that form after the update.
I am on shared hosting. Should I wait or contact support?
Check the version first with a temporary PHP_VERSION file. If it still shows the old number a few days after November 19, 2026, open a ticket and ask when the patched build will be installed. If your panel lets you pick a PHP version, make sure you are on a supported branch: 8.2 or newer.
Should I jump straight to PHP 8.6?
Not because of this security release. PHP 8.6.0 came out on the same day with the fixes already included, but it is a new minor version with deprecations and behaviour changes. The quick and safe move is the patch release of the branch you already run; plan 8.6 separately after testing.
How do I know PHP-FPM really restarted?
Run systemctl status php8.3-fpm (with your branch number) and check that the "since" time is after the upgrade, then confirm the version through the web server with a temporary PHP_VERSION file. php -v alone only shows the command-line binary.
What should I do if I am still on PHP 8.1?
Security support for PHP 8.1 ended on December 31, 2025, and its last release was 8.1.34. The project publishes no fix for 8.1, and at least one of the new issues (the FPM epoll use-after-free) is known to affect 8.1.20 to 8.1.34. Apply the temporary mitigations today and move to 8.4 or 8.5.
