PHP Nov 2026 Critical RCEs: Patch 8.5.13 & 8.4.28 Now
The PHP Foundation released 8.5.13, 8.4.28, 8.3.37, and 8.2.36 on November 19, 2026 fixing 18 security flaws including CVSS 9.2 PHP-FPM smuggling and session upload RCEs. Here is my Linux sysadmin audit, hot mitigation, and multi-PHP patch playbook.
On November 19, 2026, the PHP Foundation shipped a heavyweight coordinated security update across every actively supported PHP release branch: PHP 8.5.13, 8.4.28, 8.3.37, and 8.2.36. In total, this patch wave closes 18 security vulnerabilities, including seven critical CVSS 9.2 flaws spanning PHP-FPM FastCGI request smuggling, session upload progress serialization attacks, core engine use-after-free bugs, and Time-of-Check Time-of-Use (TOCTOU) session races.
What makes today's November 19 release especially urgent for hosting engineers and Linux system administrators is its timing. Barely four weeks ago, on October 21, 2026, the October "PHP2Shell" emergency updates (CVE-2026-109618 and CVE-2026-109619) landed in the CISA Known Exploited Vulnerabilities Catalog after widespread mass exploitation attempts. Any WordPress, WooCommerce, Laravel, WHMCS, or custom API server that lagged behind in October now faces compounded exposure from multiple unauthenticated remote code execution vectors at once.
Worst of all, two of today's most dangerous flaws trigger directly inside standard Nginx + PHP-FPM and shared hosting Apache/LiteSpeed configurations without touching a single line of buggy PHP application code. Here is my real-world breakdown of the November 19 vulnerabilities, how to check in 30 seconds whether your production servers are exposed, what configuration mitigations stop exploitation if you cannot patch immediately, and how to upgrade multi-PHP Linux servers cleanly without leaving old binaries pinned in RAM.
Critical November 19, 2026 PHP Vulnerabilities at a Glance
While 18 issues received patches across the 8.2.36, 8.3.37, 8.4.28, and 8.5.13 trees, five critical CVSS 9.2 advisories carry the highest operational urgency for internet-facing Linux servers:
| CVE / Advisory Identifier | Component Affected | CVSS v4 | Root Technical Mechanism | Immediate Risk on Production Hosts |
|---|---|---|---|---|
CVE-2026-129289 | PHP-FPM SAPI + Persistent Proxy | 9.2 | FastCGI connection reuse after partial php://input read | Single-request unauthenticated RCE on Nginx/Apache keepalive setups |
CVE-2026-115560 (GHSA-658j-r8rw-q6mx) | Session Extension / Upload Progress | 9.2 | Improper validation & serializer mismatch on upload tracking | Arbitrary code execution / session poisoning when storage is shared |
CVE-2026-129182 | PHP Core Engine / Extensions | 9.2 | Memory Use-After-Free (UAF) condition | Worker process memory corruption & potential RCE |
CVE-2026-129474 | PHP 8.5+ Engine / Extensions | 9.2 | Memory Use-After-Free (affecting PHP 8.5.x prior to 8.5.13) | Remote code execution on early PHP 8.5 adopters |
CVE-2026-126714 | Session Data Handling | 9.2 | Time-of-Check Time-of-Use (TOCTOU) race on session files | Worker-privilege code execution via deserialization gadget chains |
Remember how October's CVE-2026-109618 and CVE-2026-109619 exploited memory_limit longjmp() OOM interrupts and stale global pointers across persistent worker processes? November's CVE-2026-129289 and CVE-2026-115560 strike the other two pillars of high-performance PHP hosting: persistent FastCGI backend sockets and PHP's native session subsystem.
Deep Dive 1: Auditing CVE-2026-129289 (PHP-FPM Request Smuggling)
Many performance guides on the internet (including older LEMP stack tutorials) tell administrators to turn on fastcgi_keep_conn on; inside Nginx upstream php-fpm blocks or add enablereuse=on inside Apache mod_proxy_fcgi to shave off socket setup microseconds between Nginx and PHP-FPM.
Under CVE-2026-129289, reusing that persistent FastCGI socket creates a dangerous request smuggling channel whenever two conditions align:
- Your reverse proxy maintains a persistent backend connection to PHP-FPM (
fastcgi_keep_conn onin Nginx orProxySet enablereuse=onin Apachemod_proxy_fcgi). - A PHP endpoint opens
php://input(common in REST APIs, webhook handlers, GraphQL endpoints, and custom routers) and exits, redirects, or rejects the request without draining the entire request body.
Because the socket stays open for the next request handled by that FastCGI worker, leftover attacker-controlled bytes sitting in the unread php://input stream can be misinterpreted as FastCGI protocol framing or parameters for the subsequent request, achieving unauthenticated Remote Code Execution from a single carefully timed request.
30-Second Audit on Nginx and Apache Hosts
Before assuming you are safe, scan every Nginx and Apache configuration file across the host right now:
# Audit Nginx sites and upstream blocks for persistent FastCGI connections
grep -rnE "fastcgi_keep_conn|upstream.*php" /etc/nginx/ 2>/dev/null
# Audit Apache / httpd / EasyApache configs for proxy_fcgi connection reuse
grep -rnE "enablereuse|proxy:fcgi|SetHandler.*fcgi" /etc/apache2/ /etc/httpd/ /etc/apache2/conf.d/ 2>/dev/null
Safe Hot Mitigation While Scheduling Your PHP Patch
If your upstream distro repository has not yet synced PHP 8.5.13 / 8.4.28 / 8.3.37 packages or a client store is in a change freeze until tonight, shutting off FastCGI keepalive connection reuse neutralizes CVE-2026-129289 immediately without taking your websites offline. On local Unix socket setups (/run/php/php8.3-fpm.sock), disabling fastcgi_keep_conn adds negligible sub-millisecond overhead.
In Nginx, inspect any matching upstream or server file and explicitly set fastcgi_keep_conn off;:
# /etc/nginx/conf.d/php-upstream-hardening.conf (or inside your existing location ~ \.php$ block)
location ~ \.php$ {
include snippets/fastcgi-php.conf;
fastcgi_keep_conn off;
fastcgi_pass unix:/run/php/php8.3-fpm.sock;
}
Test syntax cleanly and reload Nginx without dropping active TLS connections:
nginx -t && systemctl reload nginx
On Apache mod_proxy_fcgi, inspect any ProxyPass or <Proxy "fcgi://..."> directives and ensure enablereuse=off (which is Apache's default when unset) is active, then run apachectl configtest && systemctl reload apache2 (or httpd).
Deep Dive 2: Hardening Against CVE-2026-115560 & CVE-2026-126714
While CVE-2026-115560 was previewed briefly in late October, the complete advisory and engine patch arrived in the November 19 security release. It targets PHP's session upload progress tracker combined with session serialization inconsistencies, alongside CVE-2026-126714, a TOCTOU flaw during session file handling.
Historically, PHP kept session.upload_progress.enabled = On by default. Whenever any attacker sent a multipart/form-data HTTP POST carrying a form field matching PHP_SESSION_UPLOAD_PROGRESS, PHP intercepted the upload stream and automatically wrote attacker-supplied strings into $_SESSION. Even if your PHP application ignored file uploads altogether, an attacker could inject crafted data into session files! When multiple virtual hosts, subdomains, or FPM pools shared a common session.save_path (like /var/lib/php/sessions or /tmp) while using differing session.serialize_handler formats (php vs. php_serialize), PHP's Nov 19 advisory warns that attackers could achieve remote code execution via deserialization gadget chains in popular frameworks like Laravel, Symfony, or WordPress plugins.
Notably, the PHP team judged this risk severe enough in the November 19 releases (8.2.36, 8.3.37, 8.4.28, 8.5.13) to change PHP's built-in default so session.upload_progress.enabled now ships disabled (0) out of the box.
Audit Live PHP Session Settings Across All Installed Versions
Do not check only php -i in the CLI, because CLI and PHP-FPM often load separate php.ini files. Check active configuration overrides across every PHP binary on your server:
# Inspect upload_progress, serialize_handler, and session.save_path across PHP versions
for bin in /usr/bin/php* /opt/cpanel/ea-php*/root/usr/bin/php /opt/alt/php*/usr/bin/php; do
[ -x "$bin" ] || continue
echo "=== $bin ($($bin -r 'echo PHP_VERSION;')) ==="
"$bin" -r 'printf("upload_progress=%s strict_mode=%s handler=%s save_path=%s\n", ini_get("session.upload_progress.enabled"), ini_get("session.use_strict_mode"), ini_get("session.serialize_handler"), ini_get("session.save_path"));'
done 2>/dev/null
Apply Drop-In Session Hardening Today
If none of your sites rely on PHP's legacy native upload progress bar (modern React, Vue, and vanilla JS apps monitor XHR/Fetch upload.onprogress directly in the browser), explicitly disable session.upload_progress.enabled and enforce strict session ID validation inside a dedicated .ini drop-in across every active FPM version:
; /etc/php/8.3/fpm/conf.d/99-security-session.ini
; (Also place under /etc/php.d/99-security-session.ini on RHEL/AlmaLinux)
session.upload_progress.enabled = 0
session.upload_progress.cleanup = 1
session.use_strict_mode = 1
session.cookie_httponly = 1
session.cookie_samesite = Lax
And on multi-tenant VPS or cPanel/DirectAdmin nodes hosting more than one website, never let unrelated sites share /tmp or a single global /var/lib/php/sessions directory. Assign a dedicated, mode-0700 session directory per PHP-FPM pool (php_value[session.save_path] = /home/siteuser/tmp/sessions) so one virtual host can never read, lock, or race another application's session files!
Patched PHP Version Matrix (November 19, 2026)
Match your currently running PHP version strings against the fixed releases published on November 19, 2026:
| PHP Branch | Vulnerable Versions | Fixed Upstream Release | Support Status & Next Step |
|---|---|---|---|
| PHP 8.5 | 8.5.0 through 8.5.12 | 8.5.13 | Active branch; upgrade immediately to close 129474, 129289, & 115560 |
| PHP 8.4 | 8.4.0 through 8.4.27 | 8.4.28 | Active branch; upgrade immediately and verify FPM worker restart |
| PHP 8.3 | 8.3.0 through 8.3.36 | 8.3.37 | Active LTS/Security branch on Ubuntu 24.04 & EL9; patch now |
| PHP 8.2 | 8.2.0 through 8.2.35 | 8.2.36 | Security-fixes only; upgrade today and plan 2027 migration to 8.4/8.5 |
| PHP 8.1 & older | 8.1.x, 8.0.x, 7.x | No upstream fix | End of Life upstream; check CloudLinux HardenedPHP ELS or upgrade codebase |
Multi-Distro Linux Patching & Post-Patch Verification
One mistake I still encounter on client audits every single month is an admin running apt upgrade, seeing a green terminal output, and forgetting that long-running php-fpm daemons or detached LiteSpeed lsphp workers remain running on the old vulnerable binary in RAM until explicitly restarted.
Follow the exact command sequence for your Linux distribution:
1. Ubuntu & Debian (Stock Repos or ppa:ondrej/php)
# Refresh APT metadata and upgrade all installed PHP packages
sudo apt update
sudo apt install --only-upgrade 'php8.*'
# Verify patched changelog entries if running vendor-backported Debian/Ubuntu builds
apt changelog php8.3-fpm 2>/dev/null | grep -iE "129289|115560|126714|8\.3\.37" | head -n 10
# Restart every active PHP-FPM service unit
systemctl list-units --type=service --state=running | awk '/php.*fpm/ {print $1}' | xargs -r sudo systemctl restart
2. RHEL, AlmaLinux, Rocky Linux & Remi Repositories
# Refresh DNF cache cleanly and upgrade base + Remi SCL PHP packages
sudo dnf upgrade --refresh 'php*' -y
# Verify RPM changelog or build version
rpm -q --changelog php-fpm 2>/dev/null | head -n 15
# Restart default and multi-version Remi FPM units
systemctl list-units --type=service --state=running | awk '/php.*fpm/ {print $1}' | xargs -r sudo systemctl restart
3. cPanel EasyApache 4 & CloudLinux Hosts
Remember that cPanel compiles independent ea-php* trees and CloudLinux overlays isolated alt-php* binaries inside CageFS mounts:
# Upgrade EasyApache 4 and CloudLinux Alt-PHP packages together
sudo dnf upgrade --refresh 'ea-php*' 'alt-php*' -y
# Sync updated binaries into every tenant CageFS skeleton if CloudLinux is active
if [ -x /usr/sbin/cagefsctl ]; then
sudo /usr/sbin/cagefsctl --force-update
fi
# Restart Apache/Nginx and every cPanel EA PHP-FPM pool (plus LiteSpeed lsphp if used)
/usr/local/cpanel/scripts/restartsrv_apache_php_fpm
/usr/local/cpanel/scripts/restartsrv_httpd
pkill -9 lsphp 2>/dev/null || true
The Mandatory lsof Check to Confirm Clean RAM State
After restarting services, always run lsof +L1 to catch any stubborn cron worker, queue consumer (php artisan horizon / messenger:consume), or detached CGI process still holding a deleted ((deleted)) pre-patch binary open in memory:
# Empty output here proves zero unpatched deleted PHP binaries are still executing in RAM
sudo lsof +L1 | grep -iE "php|lsphp|libphp"
If Laravel Horizon, Symfony Messenger, or Supervisor queue workers show up in that lsof +L1 output, restart Supervisor (sudo supervisorctl restart all) right away so long-lived workers reload the 8.5.13 / 8.4.28 / 8.3.37 binaries from disk. Also run a quick smoke check (nginx -t, curl -I https://yourdomain.com, and verify PHP error logs) so you catch any extension mismatch immediately rather than waiting for customers to report 500 errors.
Final Production Checklist
- Confirm all active PHP SAPI runtimes match
8.5.13,8.4.28,8.3.37,8.2.36, or a verified vendor backport (including secondary cron/CLI versions). - Audit
/etc/nginx/and Apache virtual hosts forfastcgi_keep_conn onorenablereuse=on; setfastcgi_keep_conn off;immediately if patching is delayed. - Verify
session.upload_progress.enabled = 0and isolatesession.save_pathper site/FPM pool on multi-site VPS and hosting servers. - Run
sudo lsof +L1 | grep -iE "php|lsphp|libphp"after restarts to ensure no pre-patch PHP workers remain active in memory. - Schedule a clear upgrade path off PHP
8.1,8.0, and7.xbranches that no longer receive upstream fixes.
Keeping multi-version PHP servers patched quickly without breaking live WordPress stores, Laravel APIs, or WHMCS billing panels requires repeatable hygiene rather than guesswork. Always verify exact upstream tarballs and branch lifecycles on the official PHP Releases archive, and use my PHP-FPM Worker RAM Calculator whenever tuning pool memory alongside security updates. If your team manages multiple client VPSs, cPanel/WHM servers, or legacy PHP applications and wants help auditing FastCGI configurations or applying zero-downtime security updates, feel free to reach out via the Contact page.