A PHP host that took every October fix for PHP2Shell can still be open to remote code execution through its session store. The PHP security release of 19 November 2026 closed eighteen more CVEs, and two of them depend on configuration you can check today. CVE-2026-115560 is a session serializer mismatch. CVE-2026-129289 lets a request smuggle into PHP-FPM through FastCGI connections the web server keeps open. Both score 9.2 under CVSS 4.0, as does CVE-2026-129474 on PHP 8.5.
The first screen shows the build that fixes each branch from each package source, then the configuration tests, the patch steps and the stopgaps. We ran every check on 19 and 20 November 2026 on two hosts, each tested on the vulnerable build first and the fixed build second. One was Rocky Linux 10 with the Remi repository and SELinux enforcing, the other Ubuntu 24.04 with the ondrej PPA. The PHP 8.5 checks ran on 21 November 2026 on Ubuntu 26.04 and Debian 13, reading the FPM pool, not just the CLI.
Step-by-step patch guides by platform: Ubuntu 26.04, 24.04 and 22.04 and RHEL, Rocky Linux and AlmaLinux. For PHP 8.1, 8.0 and 7.4, which are past end of life, read the end-of-life PHP guide.
Fixed builds by branch and package source
You are fixed when the PHP binary that serves requests runs one of the upstream builds below, or a distribution build whose changelog names both CVEs. These are the upstream branches, from the PHP 8 changelog:
| Branch | Vulnerable | Fixed build | CVEs fixed in that build |
|---|---|---|---|
| PHP 8.5 | 8.5.12 and earlier | 8.5.13 | 18 |
| PHP 8.4 | 8.4.27 and earlier | 8.4.28 | 14 |
| PHP 8.3 | 8.3.36 and earlier | 8.3.37 | 13 |
| PHP 8.2 | 8.2.35 and earlier | 8.2.36 | 12 |
| PHP 8.1 and older | All builds | No upstream build (end of life) | Vendor backports only |
Some bugs live in code the older branches never had, such as the URI extension that exists only in 8.5, which is why the counts differ. Both headline CVEs are fixed in all four builds, and CVE-2026-129474 needs only the 8.5.13 build because no other branch in this table is affected. Package sources are where the picture splits. We checked each one between 22:53 and 23:10 UTC on 19 November 2026, which is the early hours of 20 November in East Africa, and rechecked the Ubuntu archive row on 21 November 2026:
| Source | Releases | Fixed build | Status when checked |
|---|---|---|---|
| packages.sury.org | Debian 13, 12; Ubuntu 26.04, 24.04, 22.04 | 8.5.13-2, 8.4.28-2, 8.3.37-2, 8.2.36-2 builds | Published 19 Nov 2026 |
| ppa:ondrej/php | Ubuntu 24.04, 22.04 | 8.5.13-2, 8.4.28-2, 8.3.37-2 (for example 8.3.37-2+ubuntu24.04.1+deb.sury.org+1) | Sources published 20:38 UTC; the noble php8.3 binary reached our lab at 23:05 UTC |
| Remi (remi-modular) | EL 8, 9, 10; Fedora 43+ | 8.5.13, 8.4.28, 8.3.37, 8.2.36 (EL 10: php-fpm-8.4.28-1.module_php.8.4.el10.remi) | Published 19 Nov 2026 |
| Debian security | 13 trixie, php8.4 | 8.4.28-1~deb13u1 | Fixed, DSA-6641-1 |
| Debian LTS | 12 bookworm, php8.2 | 8.2.36-1~deb12u1 | Fixed, DLA-4916-1 |
| Debian unstable | sid and forky, php8.4 | None (8.4.27-1) | Not yet released as of 2026-11-20 |
| Ubuntu archive | 26.04 php8.5, 24.04 php8.3, 22.04 php8.1 | 8.5.4-0ubuntu1.6, 8.3.6-0ubuntu0.24.04.14, 8.1.2-1ubuntu2.29 | Fixed for CVE-2026-129289 on all three and CVE-2026-129474 on 26.04; CVE-2026-115560 still Needs evaluation in Ubuntu’s tracker as of 2026-11-21 |
| RHEL AppStream (Rocky, Alma rebuild it) | RHEL 10, 9, 8 php streams | None | Affected, no fix as of 2026-11-20 (Red Hat VEX for 115560, for 129289) |
| Amazon Linux 2023 | php8.2, php8.3, php8.4, php8.5 | 8.2.36, 8.3.37, 8.4.28, 8.5.13 (-1.amzn2023.0.1) | Fixed, ALAS2023-2026-3504, 3505, 3507, 3506 |
| Amazon Linux 2 | php8.2 extra | php-8.2.36-1.amzn2.0.1 | Fixed, ALAS2PHP8.2-2026-016 |
| Alpine edge | php85, php84, php83 | 8.5.13-r0, 8.4.28-r0, 8.3.37-r0 | Fixed in edge only |
| Alpine stable | v3.22, v3.23, v3.24 | None | Not yet released as of 2026-11-20 |
| Docker official php image | 8.5.13, 8.4.28, 8.3.37, 8.2.36 tags and the floating 8.x tags | Rebuilt on the fixed sources | Pushed 15:22 to 19:02 UTC, 19 Nov 2026 |
Red Hat rates both CVEs Critical and its bulletin RHSB-2026-020 says it is expediting fixes, but Red Hat’s CSAF data lists every RHEL 8, 9 and 10 PHP stream as known affected with no remediation available. One inconsistency matters for older stacks. Red Hat’s own statement on CVE-2026-115560 says the RHEL 9 php 8.0 and RHEL 8 php:7.4 builds are not affected because the October updates “unconditionally disabled” upload progress, while the same VEX file still lists them. Treat those two streams as covered for the session bug only, and still affected by the others.
We did not check SUSE, Arch, FreeBSD ports, Windows builds or the control panel builds. On cPanel the ea-php and alt-php packages follow the same pattern shown in patching PHP2Shell on cPanel and WHM, and the DirectAdmin CustomBuild rebuild steps sit in the DirectAdmin PHP2Shell notes.
Exploitation status on 20 November 2026
No source reports exploitation yet, and the scoring feeds have not caught up with the release. What each one said when we checked:
- CISA KEV catalog 2026.11.18, the latest, lists neither CVE (read through the cisagov/kev-data mirror because cisa.gov refused our requests).
- FIRST EPSS returns no score for either CVE.
- NVD shows both as Awaiting Analysis, published 19 November 2026 at 15:17 UTC.
- watchTowr’s FAQ states that as of 20 November 2026 no exploitation in the wild has been reported.
Silence from KEV a day after release means nobody has confirmed attacks yet. It does not make the host safe. The October PHP2Shell pair went into KEV, and both new bugs reach code execution or request injection from the network once their conditions hold. Run the two tests below before deciding a host can wait.
The PHP build that actually serves requests
Your CLI and your FPM service are separate packages, and your host can run an old FPM long after php -v reports a new CLI. Distro builds add a second trap: Ubuntu’s php8.3 stays at an 8.3.6 version string forever and receives fixes as backports, so the version number alone tells you nothing there. Ask the FPM binary, the package manager and the running pool. On the Rocky host we started from the vulnerable Remi build:
php-fpm -v
rpm -q php-fpm php-cli php-common
curl -s http://127.0.0.1/sapi.php
All three agree on 8.4.27, and the last line matters most. The running pool reports upload progress enabled, which is the default on every vulnerable build and the first half of the CVE-2026-115560 test:

The sapi.php probe is one line of PHP that prints the SAPI, the version and the four session settings each test needs. Because it runs inside the pool, it sees what that pool really applies, including php_value lines in pool files and per directory overrides. Drop it into each site’s document root, request it once from the server itself, then delete it:
<?php header('Content-Type: text/plain'); echo PHP_SAPI, ' ', PHP_VERSION, "\n"; foreach (['session.upload_progress.enabled','session.serialize_handler','session.save_handler','session.save_path'] as $k) echo $k, ' = ', var_export(ini_get($k), true), "\n";
Never leave it published. It reveals the exact version to anyone who finds it, which is the reason a scanner would request it. On Ubuntu 24.04 the stock packages tell a different story. The archive build still carries the October date, and apt-cache policy shows nothing newer in noble-security:

That host is unpatched, and when Ubuntu does ship a fix the version will read 8.3.6 with a higher suffix, never 8.3.37. On archive builds the proof is the changelog entry naming the CVE, shown later for the PPA build. If grep, find and the process tools used across this page are not second nature yet, the Linux Commands Cheat Sheet on files, grep, find and processes covers them with examples tested on Ubuntu and Rocky.
Kept FastCGI connections and CVE-2026-129289
CVE-2026-129289 is request smuggling into PHP-FPM, and your host is exposed only when two conditions hold at once. The PHP advisory GHSA-qc49-hpvq-g2w6 states them:
- The front end keeps its FastCGI connections to PHP-FPM open between requests.
- An application path opens
php://inputand returns without reading the body fully.
When both hold, the leftover body bytes get parsed as the start of the next request on the same connection, so a client can slip a second request to PHP that the front end never saw or filtered. Whether your front end keeps connections depends on the server and on its defaults:
| Front end | Setting that keeps backend connections | Default |
|---|---|---|
| nginx | fastcgi_keep_conn on | Off |
| Apache mod_proxy_fcgi | enablereuse=on on the ProxyPass | Off (reuse disabled) |
| HAProxy fcgi-app | option keep-conn | On |
| LiteSpeed LSAPI | Listed by the advisory as affected | Not configurable the same way |
HAProxy is the one to watch. The HAProxy configuration manual says of option keep-conn in an fcgi-app section: “By default, this option is enabled.” Any HAProxy that talks FastCGI straight to PHP-FPM meets the first condition unless its fcgi-app section says no option keep-conn. For nginx and Apache, one grep across the config trees finds the opt-in:
sudo grep -rnE 'fastcgi_keep_conn|enablereuse' /etc/nginx /etc/httpd 2>/dev/null
On a stock Rocky or Ubuntu nginx it prints nothing and exits with status 1, and the first condition fails. Debian family hosts use /etc/apache2 in place of /etc/httpd. To see a positive result we added fastcgi_keep_conn on; to the PHP location on the Rocky host. We then confirmed it with nginx -T, which prints the merged config that nginx actually loaded, and looked for scripts that open the raw body:

Both conditions now hold on that host. The api.php test file opens php://input and reads only 16 bytes, which is exactly the pattern the advisory describes. In a real codebase the grep only finds candidates, and a clean result proves little. The advisory warns that the condition also occurs in frameworks that create an input stream before routing or authentication, even when the chosen endpoint never uses the body, and it calls reading to the end unreliable as the only fix. So treat the front end as the deciding test. When the keep-conn line is gone, the same grep exits 1 again and sudo nginx -T 2>/dev/null | grep -c fastcgi_keep_conn prints 0. On Apache, also look for disablereuse=off, the inverse spelling of enablereuse=on that this grep does not match.
Session serializer mismatch and CVE-2026-115560
CVE-2026-115560 needs session upload progress enabled and mismatched session.serialize_handler values on one session store, one side using php and the other php_serialize or php_binary. The advisory GHSA-658j-r8rw-q6mx is explicit that “a runtime configuration change is not required”. The mismatch “can also arise between separate applications, pools, virtual hosts, or command-line processes with different fixed INI settings”, and “separate FPM pools do not automatically provide separate session storage.” Earlier write-ups, including php.net’s own informational notice of 23 October, described an ini_set() switch at runtime as a requirement. The advisory supersedes them, so test the configuration, not only the code.
To reproduce the shared store case we gave the Rocky host a second pool, app2, behind nginx on port 8081. It sets php_serialize and keeps the default save path. Then we grepped every place the four session settings can come from:
sudo grep -rnE 'session\.(upload_progress\.enabled|serialize_handler|save_path|save_handler)' /etc/php.ini /etc/php.d /etc/php-fpm.d
The output, together with a request to each pool’s probe, shows the exposure. Two pools share /var/lib/php/session, one serializes with php and the other with php_serialize, and upload progress is on in both because php.ini only carries the commented default:

That is a positive result for CVE-2026-115560 with no line of application code involved. Getting the second pool reachable also produced the one surprise of the lab. systemctl reload nginx returned cleanly while nginx failed to bind the new port, and the error only showed up in its log:
2026/11/19 22:59:27 [emerg] 5851#5851: bind() to 0.0.0.0:8081 failed (13: Permission denied)
SELinux was doing its job, since 8081 was not labelled as an HTTP port. semanage was missing on the minimal image, so we installed policycoreutils-python-utils and labelled the port with sudo semanage port -a -t http_port_t -p tcp 8081 rather than setting SELinux permissive. On Ubuntu the same test reads the Debian layout, and php-fpm8.3 -i shows what the FPM binary compiles in:
php-fpm8.3 -i | grep -E '^session\.(upload_progress\.enabled|serialize_handler|save_path)'
On the stock 24.04 build upload progress is On, which meets the first condition before any configuration is touched:
session.save_path => /var/lib/php/sessions => /var/lib/php/sessions
session.serialize_handler => php => php
session.upload_progress.enabled => On => On
Your session store does not have to be a directory. Two applications on one Redis or Memcached session backend share a store just as two pools on one path do, so compare save_handler and save_path across every app, pool, virtual host and cron or CLI job on the host. Per directory .user.ini files and php_value lines in Apache virtual hosts can also set the handler, so the probe in each docroot is the reliable answer.
Fatal error backtraces and CVE-2026-129474 on PHP 8.5
PHP 8.5 hosts carry a third critical bug that hangs off two settings rather than the version alone. CVE-2026-129474, published on 19 November 2026 as GHSA-8mjj-2r7p-4hg2 and announced on the oss-security list, is a use after free in the way PHP collects the arguments of a __call() or __callStatic() method for a backtrace. It scores 9.2 under CVSS 4.0 with high attack complexity, and the advisory confirms remote code execution with the privileges of the PHP worker. Logging facades, database wrappers and service proxies lean on those magic methods. The advisory names Laravel facades and Magento as code that reaches them, while stating that a full exploit of either has not been demonstrated.
Only PHP 8.5 is in range. Fatal error backtraces arrived in 8.5.0 and are on by default, and they are what lets a request reach the old backtrace error. PHP 8.2 to 8.4 contain the underlying bug, but the advisory found no remote trigger there and keeps them outside the affected range. The demonstrated attack also needs zend.exception_ignore_args=0. PHP’s built-in default is 0 while php.ini-production sets it to 1, so the exposed hosts are the ones running the development ini, no ini at all, or an override that puts arguments back into traces. We checked the status of each source below on 21 November 2026 between 05:27 and 05:40 UTC; the Remi and Alpine rows come from the 19 November pass:
| Version or package | CVE-2026-129474 status | Fixed build |
|---|---|---|
| PHP 8.5.0 to 8.5.12 | Affected | 8.5.13 |
| PHP 8.6 | Fix included in the first release | 8.6.0 |
| PHP 8.2, 8.3 and 8.4 | Outside the affected range, no known remote trigger | None needed for this CVE; 8.4.28, 8.3.37 and 8.2.36 still fix the others |
| Ubuntu 26.04 archive, php8.5 | Fixed (Ubuntu CVE tracker) | 8.5.4-0ubuntu1.6 |
| Amazon Linux 2023, php8.5 | Fixed, ALAS2023-2026-3506 | 8.5.13-1.amzn2023.0.1 |
| packages.sury.org, php8.5 | Fixed | 8.5.13 (8.5.13-3+debsuryorg13.1+1 on Debian 13 in our lab) |
| Remi, php 8.5 module | Fixed | 8.5.13 |
| Alpine edge, php85 | Fixed | 8.5.13-r0 |
| RHEL AppStream, Debian 13 and 12 archive | Not affected, no PHP 8.5 shipped | Not applicable |
Ubuntu patched its archive build without moving to 8.5.13, so on 26.04 the package version, not the PHP version string, is what tells you the fix is in. Start every PHP 8.5 host with the version and then the two settings:
php -v
php -i | grep -E 'fatal_error_backtraces|exception_ignore_args'
On a stock Ubuntu 26.04 host both settings read On, and the installed package is the one Ubuntu fixed. The php.ini grep at the bottom shows why distribution hosts usually start on the safe side. The production file sets the argument switch On, the development file sets it Off, and neither file sets fatal_error_backtraces, so it stays at its default of On:

Do not stop at the CLI. The PHP manual lists fatal_error_backtraces as changeable anywhere, so a pool file, a .user.ini, a framework bootstrap or an ini_set() call can flip it for the web workers only. Pool files and virtual hosts can override the argument switch the same way. Drop a probe that prints both into the document root and request it from the server itself:
echo '<?php foreach (["fatal_error_backtraces","zend.exception_ignore_args"] as $k) { echo $k, " = ", var_export(ini_get($k), true), PHP_EOL; } echo PHP_VERSION, PHP_EOL;' | sudo tee /var/www/html/ini.php
curl -s http://127.0.0.1/ini.php
To show what a CLI-only audit misses, we added one php_admin_value line that set the argument switch to 0 in the www pool, standing in for a copied development config. The FPM probe then served 0 while the CLI on the same host still said On. A pool that answers fatal_error_backtraces = '1' and zend.exception_ignore_args = '0' on a build older than the fix matches the setup the advisory demonstrates:

Containers deserve a second look here. The official php Docker image ships both ini files and recommends copying the production one into place, so an image built without that step has no php.ini and runs the built-in default of 0. Run the same probe inside the container rather than trusting the base image.
The CVE-2026-129474 stopgap
Until the 8.5 build is in, pin the argument switch to 1 for the web workers. The advisory lists that as its workaround and adds that fatal_error_backtraces=0 also closes the path on 8.5. It also warns that display_errors=0 does not help, because PHP still builds the backtrace, and that changing only the CLI configuration is not enough. Remove any line that already sets either key in the pool file, then add the admin forms so neither an application nor a .user.ini can undo them:
echo 'php_admin_value[zend.exception_ignore_args] = 1' | sudo tee -a /etc/php/8.5/fpm/pool.d/www.conf
echo 'php_admin_flag[fatal_error_backtraces] = off' | sudo tee -a /etc/php/8.5/fpm/pool.d/www.conf
sudo php-fpm8.5 -t
sudo systemctl restart php8.5-fpm
Repeat both lines in every pool file, then rerun the probe, where '0' for backtraces and '1' for arguments is the pass. Restart rather than reload so no worker keeps the old values. On Remi and Amazon Linux hosts the pool directory is /etc/php-fpm.d/ and the service is php-fpm, and Apache mod_php hosts set the same pair with php_admin_value and php_admin_flag in each virtual host:

Turning backtraces off costs you the stack trace in fatal error log lines, so decide after the update whether to turn it back on. The argument switch is different. php.ini-production recommends it in production to keep sensitive values out of stack traces, so leave it at 1 for good.
Proof the 8.5 fix is installed
The stopgap only removes one path, and the update is still the fix. On Ubuntu 26.04 the archive changelog names the patch and the advisory’s regression test, which is the evidence to keep for an audit:

On Debian 13 with packages.sury.org the FPM binary reports 8.5.13 and the package changelog names the CVE. Our first install on 21 November failed with 404 Not Found for the 8.5.13-2 packages, because the trixie index still listed them while the pool already held 8.5.13-3. We did not see the index catch up during the lab, so we installed the -3 packages from the pool by hand to finish the test. That skips the signed index check, so on a production host wait for apt-get update to offer 8.5.13-3 instead:

The fixed sury build still reports both settings On, since the update repairs the use after free without changing any default. Amazon Linux 2023 hosts get the same 8.5.13 through dnf update --advisory ALAS2023-2026-3506 --releasever 2023.12.20261119, the route covered in the platform section below. Delete ini.php once every pool has been checked.
Patching each platform
An update closes all eighteen CVEs at once, which no configuration change can do. The steps below are short on purpose. Each family links to its October PHP2Shell guide, because the repository setup and service names are the same and only the target build has moved on.
RHEL, Rocky Linux and AlmaLinux
AppStream has no fixed build yet; the Rocky 10 lab still offered php-fpm 8.3.36-1.el10_2 from it. Hosts on the Remi module stream can update now, and an AppStream host can switch to Remi as shown in patching PHP2Shell on RHEL, Rocky Linux and AlmaLinux. With the stream already enabled, the update is one command:
sudo dnf upgrade -y 'php*'
dnf pulled the three packages from remi-modular:
Upgrading:
php-cli x86_64 8.4.28-1.module_php.8.4.el10.remi remi-modular 2.3 M
php-common x86_64 8.4.28-1.module_php.8.4.el10.remi remi-modular 773 k
php-fpm x86_64 8.4.28-1.module_php.8.4.el10.remi remi-modular 2.0 M
The Remi scriptlet restarted php-fpm itself, and the master process start time matched the upgrade. Remi’s changelog carries no CVE IDs, only “Update to 8.4.28”, so on Remi the version number is the proof. Both pools now report the fixed build:

Upload progress also reads 0 in both pools, although nobody touched php.ini. That comes from the fix itself, covered in the next section.
Ubuntu 26.04, 24.04 and 22.04
Ubuntu’s archive caught up partly by 21 November 2026. Its tracker lists 8.5.4-0ubuntu1.6 on 26.04, 8.3.6-0ubuntu0.24.04.14 on 24.04 and 8.1.2-1ubuntu2.29 on 22.04 as fixed for CVE-2026-129289, but CVE-2026-115560 still reads Needs evaluation on all three, even though the 26.04 package changelog we pulled lists it. Until the tracker agrees, the full upstream fix comes from the ondrej PPA on 24.04 and 22.04, or packages.sury.org on 26.04. Adding the PPA now prints a migration notice that sends new installs to packages.sury.org. The PPA also has a timing trap. Right after adding it at about 23:02 UTC, apt offered a build that was still vulnerable:

That candidate is the October build. The first upgrade installed it, and anyone stopping there would believe the host was patched. Three minutes later a fresh apt-get update showed the fixed candidate. Always read the candidate version before you upgrade, then run:
sudo apt-get update
sudo apt-get install -y --only-upgrade 'php8.3*'
Here the package’s postinst restarted php8.3-fpm for you. Unlike Remi, this build names both CVEs in its Debian changelog, which makes it the proof that survives any version string:

You will find the per release detail, including the 26.04 move to packages.sury.org, is in patching PHP2Shell on Ubuntu. The archive builds keep their old upstream version numbers, so the same changelog grep is the check for them too.
Debian 13 and 12
Debian stable and LTS both have fixed builds already. We read the candidates in clean debian:13 and debian:12 containers:
apt-cache policy php8.4-fpm
Trixie gets the fix from trixie-security:
php8.4-fpm:
Installed: (none)
Candidate: 8.4.28-1~deb13u1
Version table:
8.4.28-1~deb13u1 500
500 http://deb.debian.org/debian-security trixie-security/main amd64 Packages
8.4.24-1~deb13u1 500
500 http://deb.debian.org/debian trixie/main amd64 Packages
Bookworm showed php8.2-fpm 8.2.36-1~deb12u1 from bookworm-security. That build came through Debian LTS (DLA-4916-1), not a DSA, so a host that filters on DSA feeds would miss it. Upgrade with the same --only-upgrade pattern as Ubuntu, and see patching PHP2Shell on Debian for hosts that mix Sury and Debian packages.
Amazon Linux and Alpine
Amazon published four ALAS2023 advisories on 19 November, but a fresh amazonlinux:2023 container did not see the fixed packages. dnf updateinfo list --cve CVE-2026-115560 printed nothing, and every php8.x-fpm package was still the October build. Alpine stable branches have the same gap, with the fix only in edge:

The AL2023 image is tied to the release it was built from, and each advisory gives an update command that moves to the release carrying the fix, for example dnf update --advisory ALAS2023-2026-3507 --releasever 2023.12.20261119 for php8.4. Note that the advisory numbers do not follow the branch order: 3506 is php8.5 and 3507 is php8.4. On Alpine stable, either wait for the community repository or build on the official php:*-alpine images, which compile PHP from source and were rebuilt on 19 November.
Docker images
A container is patched only when its image is rebuilt from a fixed base and the old containers are replaced. Pull the tag you build from and confirm what is inside before redeploying:
sudo docker run --rm php:8.4-fpm php-fpm -v
Pulled late on 19 November, the floating 8.4-fpm tag already carried the fix, and php:8.3-fpm reported 8.3.37 the same way. Aikido’s write-up also lists backported tags from its own Aikido Images builds; those say nothing about the official library/php image, so check the version inside whichever image you actually deploy. The second command in the capture shows how the image listens:

listen = 9000 binds every interface inside the container. That is fine on a private network shared with the web server container, and wrong once -p 9000:9000 publishes it on the host, because then anyone who reaches the port speaks FastCGI to PHP directly. Keep port 9000 off the host and let only the web tier connect.
Session behaviour after the fix
Expect one changed default and one new hard error in the fixed builds, and the error can break your application on the first request after the update. According to the advisory, the fix “disables session upload progress by default and rejects runtime changes to session settings, including session.serialize_handler, while upload progress is enabled.” Compare the file with what PHP actually applies on the patched Rocky host:
grep -n 'upload_progress.enabled' /etc/php.ini
php -i | grep -E '^session\.(upload_progress\.enabled|serialize_handler)'
php.ini still carries only the commented line, yet the compiled default is now Off:
1410:;session.upload_progress.enabled = On
session.serialize_handler => php => php
session.upload_progress.enabled => Off => Off
An explicit session.upload_progress.enabled = On anywhere in your configuration overrides the new default and keeps the old exposure. With it on, the advisory says the fixed build rejects runtime changes to session settings. That includes the common ini_set('session.*') calls made before session_start(), which used to succeed silently, so expect them to fail too. Our lab test covered the case after a session has started, and this one line reproduces it from the shell:
php -d session.upload_progress.enabled=1 -r 'session_start(); var_dump(ini_set("session.serialize_handler","php_serialize"));'
The vulnerable build answered with a warning and bool(false). The fixed build throws instead:
PHP Fatal error: Uncaught Error: Session ini settings cannot be changed at runtime when session.upload_progress.enabled is On in Command line code:1
Stack trace:
#0 Command line code(1): ini_set()
#1 {main}
thrown in Command line code on line 1
With upload progress at 0 the same call drops back to the old warning. So after patching, search the PHP-FPM error logs for “cannot be changed at runtime”. Any hit is an application that both needs upload progress and changes session settings in code, and those settings need to move into its pool configuration.
All eighteen CVEs in the release
Seven of the eighteen are rated critical. php.net’s pre-announcement says the critical ones “require either non-default configuration or uncommon setups”, but uncommon is not rare across a fleet. Scores are CVSS 4.0 from the php-src advisories, and the branch column reflects which fixed builds list the CVE in the PHP changelog:
| CVE | Component | Issue | CVSS 4.0 | Fixed in |
|---|---|---|---|---|
| CVE-2026-129474 | Core | Use after free in magic method backtraces, code execution (GHSA-8mjj-2r7p-4hg2) | 9.2 | 8.5 |
| CVE-2026-129182 | Core | Use after free via last_fatal_error_backtrace | 9.2 | 8.5 |
| CVE-2026-129538 | CGI | Out of bounds read and write during PATH_INFO correction | 6.9 | All four |
| CVE-2026-129496 | Date | Timezone cache use after free, code execution | 9.2 | All four |
| CVE-2026-129501 | DOM | Double free in XML serialization | 6.3 | 8.5, 8.4 |
| CVE-2026-129291 | FPM | epoll use after free, local privilege escalation | 8.8 | All four |
| CVE-2026-129289 | FPM | Request smuggling through an unread request body | 9.2 | All four |
| CVE-2026-129292 | FPM | Status page XSS | 5.3 | All four |
| CVE-2026-128090 | Phar | OpenSSL signature bypass by algorithm downgrade | 7.7 | All four |
| CVE-2026-15353 | SOAP | Information disclosure through malformed array dimensions | 6.3 | All four |
| CVE-2026-129506 | SOAP | Use after free on DTD entity references | 6.3 | All four |
| CVE-2026-126714 | Session | Partially overwritten session files, code execution | 9.2 | All four |
| CVE-2026-115560 | Session | Serializer mismatch, code execution | 9.2 | All four |
| CVE-2026-129481 | Session | Use after free after interrupted session shutdown | 9.2 | 8.5, 8.4, 8.3 |
| CVE-2026-128064 | Standard | Mixed case HTTPS and FTPS URLs fall back to plaintext | 8.2 | All four |
| CVE-2026-127960 | Standard | Denial of service through folded headers | 8.7 | All four |
| CVE-2026-129438 | URI | Incorrect RFC 3986 serialization | 6.3 | 8.5 |
| CVE-2026-48841 | URI | Bundled uriparser upgraded to 1.0.3 | Not scored | 8.5 |
Red Hat states that the two Core bugs, CVE-2026-129474 and CVE-2026-129182, do not affect the PHP versions it ships, which fits their 8.5 only scope. CVE-2026-126714 deserves the same attention as the headline pair, since watchTowr notes it affects any application on the default file based session storage. Its advisory offers only partial stopgaps, which is the strongest argument for updating rather than mitigating.
Stopgaps for hosts that cannot update today
RHEL AppStream and Alpine stable have no fixed package, and the Ubuntu archive has no confirmed fix for CVE-2026-115560, so some hosts will wait days. Configuration stopgaps exist for most of the critical CVEs, though none covers the whole release, so treat them as a bridge to the update. For CVE-2026-115560 the advisory says to “keep session.upload_progress.enabled=0 in every configuration that can write to the affected session store”, and adds that “calling ini_set() from the application is too late.” The same setting is one of the partial measures the CVE-2026-126714 advisory lists. Set session.upload_progress.enabled = 0 in php.ini, then pin it in every FPM pool with php_admin_flag, which applications cannot override:
echo 'php_admin_flag[session.upload_progress.enabled] = off' | sudo tee -a /etc/php-fpm.d/www.conf
sudo php-fpm -t
sudo systemctl restart php-fpm
Repeat the line for every pool file, app2.conf included here, and on Debian family hosts use /etc/php/8.3/fpm/pool.d/ and php8.3-fpm. Apache mod_php hosts set the same flag with php_admin_flag in each virtual host or rely on php.ini. Restart, do not reload. php.net’s 21 October PHP2Shell notice and Red Hat’s bulletin both say the change needs every worker restarted, and php.net warns not to rely on .user.ini. Then request the probe in each pool, where session.upload_progress.enabled = '0' is the pass. Our Rocky host had already taken the update when we ran this, so its pools read 0 either way, and on an unpatched host this same request is the before and after test.
For CVE-2026-129289, remove the persistent connection opt-in. Delete fastcgi_keep_conn on in nginx and enablereuse=on in Apache, and add no option keep-conn to every HAProxy fcgi-app section. After nginx -t and a reload, the grep from the test section must exit 1 again. The keep-conn setting buys a little latency, and giving it up until the update lands costs far less than a smuggled request.
The timezone cache bug, CVE-2026-129496, also has a configuration stopgap. Its trigger needs a diagnostic at PHP startup, error logging to a file and an early diagnostic in a fresh worker. Red Hat’s bulletin advises fixing the configuration errors and deprecated settings that produce startup diagnostics, or setting error_log = syslog, then restarting the master and all workers. The advisory notes that FPM’s own error log does not meet the condition, so look in the file PHP’s error_log setting names, globally and in any pool php_admin_value[error_log], and clear any startup or deprecation warnings it shows after a restart.
Hosts on PHP 8.5 without a fixed package, such as Alpine stable, also carry the two Core use after free bugs. Their advisories and Red Hat’s bulletin give one stopgap: set fatal_error_backtraces = 0, which closes both, and zend.exception_ignore_args = 1, which also blocks the CVE-2026-129474 path. Set both with the admin forms in every FPM pool so a .user.ini or php_value cannot turn them back on, then restart the master and its workers. The exact pool lines and the probe that proves them are in the CVE-2026-129474 section above.
Edge filtering for the PHP2Shell pair is covered in PHP2Shell mitigation without patching, and those rules still belong on a host that missed October. Hosts on PHP 8.1, 8.0 or 7.4 get no upstream build at all, and the vendor backport options for them are in the end of life PHP backport guide.
Audit checklist after the update
Run these on every PHP host once the package is in. Each line is a condition that must hold, and a failure sends you back to the matching section above. The release also includes every October fix, so the PHP2Shell check passes once these do.
- The FPM binary, not only the CLI, reports a fixed build or a package whose changelog names CVE-2026-115560 and CVE-2026-129289.
- The php-fpm master process started after the package was installed.
- Every pool’s probe returns
session.upload_progress.enabled = '0'unless a documented application needs it. - No two apps, pools or CLI jobs that share a session store use different
session.serialize_handlervalues. - The keep-conn grep exits 1 on nginx and Apache, and every HAProxy fcgi-app section says
no option keep-connor has been reviewed. - The PHP-FPM error logs show no “cannot be changed at runtime” fatals since the restart.
- Container images were rebuilt from a fixed base and no running container still uses the old image.
- Port 9000 and any FPM TCP listener are reachable only from the web tier.
- On PHP 8.5, every pool’s probe returns
zend.exception_ignore_args = '1', and the FPM binary reports 8.5.13 or a package whose changelog names CVE-2026-129474. - The
sapi.phpandini.phpprobes have been deleted from every document root.
Hosts still on RHEL AppStream, the Ubuntu archive or Alpine stable fail item 1 for now. Keep the stopgaps in place on those, and recheck the source table above, which we will update as each vendor ships.