Upgrading to 8.5.13, 8.4.28, 8.3.37 or 8.2.36, or installing a distro build whose changelog lists the CVEs, closes all of them. If you can’t do that today, seven read-only checks show which critical bugs your setup can reach: FastCGI connection reuse, session upload progress and serializers, PHP 8.5 backtrace settings and startup warnings logged to a file.
On this page
Before you start
PHP said on 18 November that the critical issues in this release “require either non-default configuration or uncommon setups”. That’s good news, but it also means the only way to know where you stand is to look at your own configuration. The checks below do that. All of them are read-only. Run them on the server, with sudo where a file isn’t readable by your user, and replace 8.3 with the PHP version you actually run.
If you can upgrade right now, do that first and use the checks afterwards to confirm nothing is left switched on that shouldn’t be. If you’re on shared hosting, you can’t run most of these. Ask your host the questions in check 1 and 2, and see did my host patch? for how hosts handled the October round.
1. Which PHP serves the site, and which version is it?
The PHP in your terminal is often not the PHP behind your website. Find the runtime first:
# PHP-FPM services (Nginx, Caddy, Apache with FPM)
systemctl list-units --type=service --state=running | grep -i fpm
/usr/sbin/php-fpm8.3 -v
# Apache with mod_php
apache2ctl -M 2>/dev/null | grep -i php # Debian / Ubuntu
httpd -M 2>/dev/null | grep -i php # RHEL family
The full guide to finding the PHP that serves your site covers panels, containers and WordPress Site Health. Then compare:
| Branch | Fixed release | Notes |
|---|---|---|
| 8.5 | 8.5.13 | 8.6.0 also carries every fix |
| 8.4 | 8.4.28 | |
| 8.3 | 8.3.37 | |
| 8.2 | 8.2.36 | Branch ends on 31 December 2026 |
| 8.1 and older | No release | See PHP 8.1 and older |
If you’re on an upstream build (Docker official image, Remi, the Ondřej Surý repository, a panel build) and the number is at or above the fixed release, you’re done with the CVE part. Restart PHP if you haven’t since the upgrade, and skip to check 7 for a tidy-up.
2. Distro package? Read the changelog, not the number
Debian, Ubuntu and Red Hat backport fixes into the version they already ship, so a patched Ubuntu 24.04 still reports PHP 8.3.6. The changelog is what tells you:
# Debian / Ubuntu
zgrep -E "CVE-2026-(115560|126714|129289|129496)" \
/usr/share/doc/php8.3-common/changelog.Debian.gz
# RHEL, AlmaLinux, Rocky, Amazon Linux
rpm -q --changelog php-common | grep -E "CVE-2026-(115560|126714|129289|129496)"
dnf updateinfo list --cve CVE-2026-126714
No output means the fix isn’t installed yet, or your vendor hasn’t shipped one. As of 21 November, Debian had fixed builds out (8.4.28-1deb13u1 for trixie under DSA-6641-1, 8.2.36-1deb12u1 for bookworm), Ubuntu’s tracker listed fixed packages for CVE-2026-126714 on 22.04, 24.04 and 26.04, and Red Hat’s bulletin said fixes were being expedited. Status changes daily, so trust your package manager over this paragraph. Steps per platform: Ubuntu & Debian, RHEL family, cPanel, Plesk & DirectAdmin, Docker.
3. PHP-FPM, mod_php or php-cgi?
Some of the fixes only matter for one way of running PHP. Three are PHP-FPM bugs (request smuggling, a local privilege escalation and the status page). One is a php-cgi bug. The session and engine bugs apply to all of them.
ps -eo user,comm | grep -E "php-fpm|php-cgi|httpd|apache2" | sort | uniq -c
php-fpm processes mean PHP-FPM. Apache processes with no FPM pool usually mean mod_php. A php-cgi process means CGI or FastCGI through the php-cgi binary, which still turns up on some shared hosts and on Windows with IIS. That one is covered in the other November fixes.
4. Does your web server reuse FastCGI connections?
This is the check that matters most for CVE-2026-129289, the request smuggling bug in PHP-FPM. It needs a front end that keeps backend connections open between requests. Standard Nginx and Apache setups close the connection after each request and aren’t affected by the attack PHP demonstrated.
# Nginx: prints nothing if keep-alive to PHP-FPM is off (the default)
sudo nginx -T 2>/dev/null | grep -n "fastcgi_keep_conn"
# Apache mod_proxy_fcgi
grep -rniE "enablereuse\s*=\s*on" /etc/apache2 /etc/httpd 2>/dev/null
# HAProxy talking FastCGI to PHP-FPM
grep -rnE "fcgi-app|keep-conn" /etc/haproxy/ 2>/dev/null
If you see fastcgi_keep_conn on, enablereuse=on, or an HAProxy fcgi-app section, assume you’re exposed. The second condition, an application path that opens php://input without reading it to the end, is hard to rule out from the outside. Wordfence reported reproducing the attack against a stock WordPress REST request when connection reuse was on, and said WordOps templates ship fastcgi_keep_conn on. For HAProxy, check whether option keep-conn is in effect; one analysis notes it is on by default for fcgi-app. LiteSpeed’s LSAPI had a related cleanup error, with no code execution shown.
Turning reuse off costs a little connection overhead and nothing else. The CVE-2026-129289 guide has the exact changes.
5. Session settings: handler, upload progress and serializers
Three of the critical bugs are in sessions. Read the values the web runtime uses:
php-fpm8.3 -i | grep -E "session\.(save_handler|serialize_handler|upload_progress\.enabled)"
# Pool files and app code can override php.ini
grep -rnE "upload_progress|serialize_handler|save_handler" \
/etc/php/*/fpm/ /etc/php-fpm.d/ /usr/local/etc/php-fpm.d/ 2>/dev/null
grep -rn "serialize_handler" --include=*.php /var/www 2>/dev/null | head
php-fpm -i shows the php.ini value. A pool-level php_admin_value only shows up in a phpinfo() page served through the website. If you create one to check, delete it straight afterwards.
What the results mean:
save_handler => filesandupload_progress.enabled => On: the easiest path to CVE-2026-126714 (phpAfterShell) is there. Turning upload progress off narrows it but doesn’t close it, so the upgrade is what fixes it. Redis and database handlers aren’t hit by this particular file-write bug.- Different
serialize_handlervalues for apps, pools or scripts that share one session store, with upload progress on: that’s the setup CVE-2026-115560 needs. PHP’s advisory says command execution was demonstrated with common library gadgets. - PHP 8.3 or newer with custom session handlers or stream wrappers: CVE-2026-129481 has no configuration switch. Upgrade.
One trap: several analyses report that the new releases switch session upload progress off by default, but an explicit session.upload_progress.enabled = On in your php.ini or pool still wins. If you set it to On years ago, it stays on.
6. PHP 8.5 only: backtrace settings
Two of the critical bugs, CVE-2026-129474 and CVE-2026-129182, exist only in PHP 8.5 before 8.5.13. Check:
php-fpm8.5 -i | grep -E "fatal_error_backtraces|zend.exception_ignore_args"
The risky combination for CVE-2026-129474 is fatal_error_backtraces => On (the PHP 8.5 default) with zend.exception_ignore_args => Off. php.ini-production sets zend.exception_ignore_args to On, but php.ini-development and running with no php.ini at all leave it Off, which is common in Docker images. CVE-2026-129182 needs a rarer mix of per-path settings. Setting zend.exception_ignore_args = On in the worker configuration, or fatal_error_backtraces = Off, are PHP’s workarounds. Changing only the CLI ini does nothing for the website.
7. Startup warnings and where errors go
CVE-2026-129496, the timezone cache bug, was reported by Semgrep and others to need a startup or early diagnostic written to a file-based error_log. Red Hat’s mitigation is to log to syslog and fix the warnings. Check both:
php-fpm8.3 -i | grep -E "^(error_log|log_errors|date.timezone)"
# Startup diagnostics look like "PHP Startup: …" or "… in Unknown on line 0"
sudo grep -hE "PHP Startup|in Unknown on line 0" /var/log/php8.3-fpm.log 2>/dev/null | tail -20
Point the last command at whatever file error_log names. If PHP logs to a file and you see startup warnings, fix their cause (a bad date.timezone, a missing extension, a deprecated directive) or set error_log = syslog until you’ve upgraded.
Bonus: catch_workers_output
CVE-2026-129291 lets someone who can already run code in a PHP-FPM worker reach the privileges of the FPM master, often root. It needs catch_workers_output enabled. The default is no, but PHP’s advisory says the official PHP-FPM Docker images turn it on.
grep -rn "catch_workers_output" /etc/php/ /etc/php-fpm.d/ /usr/local/etc/ 2>/dev/null
What your results mean
| You found | Exposed to | Do this now |
|---|---|---|
| Version below the fixed release, no CVE IDs in the changelog | All of the below that match your setup | Upgrade, then restart PHP-FPM or Apache |
fastcgi_keep_conn on, enablereuse=on or HAProxy fcgi-app |
CVE-2026-129289 | Turn connection reuse off and reload the web server |
upload_progress.enabled => On with the files handler |
CVE-2026-126714, CVE-2026-115560 | Set it to 0 in php.ini or the pool, restart PHP |
| Mixed serializers sharing one session store | CVE-2026-115560 | Pick one serializer everywhere, turn upload progress off |
PHP 8.5 with zend.exception_ignore_args => Off |
CVE-2026-129474 | Set it to On in the worker config, restart |
| Startup warnings in a file-based error log | CVE-2026-129496 | Fix the warnings or log to syslog, restart |
catch_workers_output = yes |
CVE-2026-129291 | Set it to no in each pool, restart |
php-cgi serving requests |
CVE-2026-129538 | Upgrade, or move to PHP-FPM |
Every row is a stopgap except the first. Once you’ve upgraded, restart every PHP process (PHP-FPM, Apache, queue workers, long-running CLI scripts), rebuild containers, and run check 1 again so you know the new build is the one answering requests. Then keep the workarounds that cost you nothing, like upload progress off, and drop the expensive ones.
As of 20 November there were no public reports of these bugs being exploited, but that’s not a reason to wait. If anything looks odd in your logs from the last few weeks, our compromise checklist is the next stop. For the full list of what changed, see the November release explained, and get an email the next time PHP ships a security release.
Rather not do it yourself? We patch and verify one server, from €79.
Sources
- php.net: Upcoming Critical PHP Security Release (18 Nov 2026)
- PHP: GHSA-qc49-hpvq-g2w6: PHP-FPM request smuggling through an unread HTTP request body (CVE-2026-129289)
- PHP: GHSA-658j-r8rw-q6mx: session serializer mismatch (CVE-2026-115560)
- PHP: GHSA-fm2m-fjf5-v3cp: partially overwritten session files (CVE-2026-126714)
- PHP: GHSA-8mjj-2r7p-4hg2: use-after-free in magic method backtraces (CVE-2026-129474)
- PHP: GHSA-jm4m-qfqx-967m: PHP-FPM epoll use-after-free (CVE-2026-129291)
- Red Hat: RHSB-2026-020: multiple PHP vulnerabilities and mitigations
- Ubuntu: CVE-2026-126714 status by release
- Wordfence: CVE-2026-129289 and other critical PHP vulnerabilities: what WordPress site owners need to know