On 19 November 2026 PHP released 8.5.13, 8.4.28, 8.3.37 and 8.2.36, fixing 17 vulnerabilities (plus a bundled library update). Seven are rated critical, but PHP says each needs a non-default configuration or an uncommon setup. Upgrade anyway, restart PHP, and check the three settings below if you can’t upgrade today.
On this page
What happened on 19 November?
PHP gave a day’s notice. On 18 November the project announced a critical security release for the next afternoon, “between 14:00 and 14:30 UTC”, covering every supported branch. It also said something that set the tone for the week: “The issues rated CRITICAL require either non-default configuration or uncommon setups.”
The releases arrived on schedule: PHP 8.5.13, 8.4.28, 8.3.37 and 8.2.36. PHP 8.6.0 came out the same day and carries the same fixes, so a fresh 8.6.0 install is covered too.
This is the release PHP promised back in October for CVE-2026-115560, the session upload progress flaw that the PHP2Shell releases left open. It turned out to be one of seventeen.
Why do reports say 7, 12, 17 or 18 flaws?
They’re counting different things. PHP published 17 security advisories. The 8.5.13 changelog has an 18th security line, an update of the bundled uriparser library to 1.0.3 (CVE-2026-48841), which isn’t a PHP bug as such. Seven of the 17 advisories are rated critical, with a CVSS 4.0 score of 9.2.
Not every bug exists in every branch, so the number per release differs:
| Release | Security entries | Critical |
|---|---|---|
| 8.5.13 | 18 | 7 |
| 8.4.28 | 14 | 5 |
| 8.3.37 | 13 | 5 |
| 8.2.36 | 12 | 4 |
Outlets that said “12” were most likely looking at 8.2.36.
The seven critical fixes
All seven allow, or could allow, code execution as the PHP worker. Read the “only if” column before you worry.
| CVE | What it is | Branches | You’re only exposed if… |
|---|---|---|---|
| CVE-2026-129289 | PHP-FPM request smuggling through an unread request body | 8.2 to 8.5 | Your web server reuses FastCGI connections (nginx fastcgi_keep_conn on, Apache enablereuse=on, HAProxy, LSAPI) |
| CVE-2026-126714 (“phpAfterShell”) | Partially overwritten session files | 8.2 to 8.5 | You use file-based sessions (the default) and store attacker-influenced data in them |
| CVE-2026-115560 | Session serializer mismatch | 8.2 to 8.5 | Upload progress is on and two writers/readers of one session store use different serializers |
| CVE-2026-129496 | Timezone cache use-after-free | 8.2 to 8.5 | PHP writes startup warnings to a file-based error_log |
| CVE-2026-129481 | Use-after-free after interrupted session shutdown (an incomplete fix for PHP2Shell) | 8.3 to 8.5 | Something in your app can hit a fatal error while the session is being closed |
| CVE-2026-129474 | Use-after-free in magic method backtraces | 8.5 only | zend.exception_ignore_args is off, which is what you get without php.ini-production |
| CVE-2026-129182 | Stale fatal-error backtrace after shutdown | 8.5 only | Unusual per-directory settings for memory limits or output compression |
The pattern is clear enough. Two bugs live in PHP-FPM’s plumbing, three in sessions and two in the error and backtrace handling that PHP 8.5 added. None of them is “any PHP site, default settings, one request”, which is what made October’s PHP2Shell so bad.
That doesn’t make them theoretical. The advisory for CVE-2026-115560 says command execution was demonstrated with gadgets from two common libraries, Guzzle and Monolog. Wordfence reported reproducing CVE-2026-129289 in a lab against a stock WordPress REST request, on PHP 8.2.35 behind NGINX with connection reuse switched on. The fixed release and a config without reuse both stopped it.
The ten other fixes
Three are rated high, the rest moderate. Most only matter if you use the feature involved.
| CVE | Component | Severity | Matters if you… |
|---|---|---|---|
| CVE-2026-129291 | PHP-FPM | High (8.8) | Run FPM with catch_workers_output on (the official Docker FPM images do) and someone untrusted can run PHP on the box |
| CVE-2026-127960 | HTTP stream wrapper | High (8.7) | Fetch URLs from servers you don’t control with file_get_contents() or fopen() |
| CVE-2026-128064 | HTTP/FTP stream wrappers | High (8.2) | Build URLs with an uppercase HTTPS:// or FTPS:// scheme, or follow redirects to them |
| CVE-2026-128090 | Phar | High (7.7) | Rely on OpenSSL-signed .phar files with a .pubkey |
| CVE-2026-129538 | PHP-CGI | Moderate | Run the php-cgi binary with cgi.fix_pathinfo=1 |
| CVE-2026-129501 | DOM | Moderate | Call saveXml() on untrusted Dom\XMLDocument or Dom\HTMLDocument (8.4 and 8.5) |
| CVE-2026-15353 | SOAP | Moderate | Run a SOAP server or talk to an untrusted SOAP service |
| CVE-2026-129506 | SOAP | Moderate | Accept SOAP requests or WSDL you don’t control |
| CVE-2026-129438 | URI | Moderate | Use Uri\Rfc3986\Uri on huge untrusted input (8.5 only) |
| CVE-2026-129292 | PHP-FPM status page | Moderate | Look at FPM’s full HTML status page in a browser |
Each one is explained, with its workaround, in the other November fixes.
What should I upgrade to?
The newest release in your branch:
| Your branch | Upgrade to | Branch supported until |
|---|---|---|
| 8.5 | 8.5.13 | 31 Dec 2029 |
| 8.4 | 8.4.28 | 31 Dec 2028 |
| 8.3 | 8.3.37 | 31 Dec 2027 |
| 8.2 | 8.2.36 | 31 Dec 2026 |
| 8.1 and older | No release. Use a patched distro or panel build, then move to 8.3+ | Ended |
If your PHP comes from Ubuntu, Debian or Red Hat, the version number won’t match. Distributions backport fixes into the version they shipped, so a patched Ubuntu 24.04 still says 8.3.6. Check the package changelog for the CVE IDs instead: how to read a distro build. Package status for each platform is in the patch guides.
PHP 8.2 gets its last scheduled fixes this year. If you’re on 8.2, install 8.2.36 now and put the move to 8.3 or 8.4 in your plan for December: PHP 8.2 end of life.
Upgraded? Restart PHP
This catches people every time. A package upgrade replaces files on disk, but PHP-FPM workers that were already running keep the old code in memory until they’re replaced. Restart, don’t reload:
sudo systemctl restart php8.3-fpm # use your version; or apache2 / httpd for mod_php
Containers need a rebuild and a redeploy, not a package update inside a running container. Then confirm the version that actually serves your site, not the one your terminal reports: find the PHP your web server uses.
Can’t upgrade today?
Three settings cover the most likely attack paths. They are stopgaps, not fixes.
- Turn off FastCGI connection reuse in your web server (closes the demonstrated CVE-2026-129289 path). How to check nginx, Apache and HAProxy.
- Set
session.upload_progress.enabled = 0in the php.ini or FPM pool your site uses. It blocks CVE-2026-115560 and the easiest route to CVE-2026-126714, though not every route. - On PHP 8.5, set
zend.exception_ignore_args = 1(orfatal_error_backtraces = 0) in the web runtime’s config.
Red Hat’s bulletin adds error_log = syslog for CVE-2026-129496 and pm.max_requests = 1 for CVE-2026-129481, the second at a real performance cost. Restart PHP after any of these. The full list, with how to apply each one so applications can’t switch it back, is in our seven-step check.
Is anyone exploiting these?
Not that anyone has reported, as of 21 November. None of the seventeen is on CISA’s Known Exploited Vulnerabilities list. That was also true of PHP2Shell for its first few days, and attackers started scanning for it quickly. Several write-ups now describe the session and FPM bugs in detail, so assume working exploits will follow.
Dark Reading’s coverage struck the right tone: this is fast routine patching, not a repeat of October’s panic. The difference is that PHP2Shell hit default setups. This month’s critical bugs mostly need a setting someone changed.
What about PHP 8.1 and older?
PHP’s project no longer releases them. Several of these bugs are old: the advisories trace the session file problem back to PHP 4.1.0 and the FPM smuggling bug to 5.6.0. Some packagers have backported fixes:
- Ubuntu’s tracker lists a fixed
php8.1for 22.04 and an Ubuntu Prophp7.4for 20.04 (for CVE-2026-126714). - cPanel’s EasyApache 4 shipped a patched
ea-php74on 19 November. - Laravel Forge says the Ondřej Surý packages for 8.1, 8.0 and 7.4 got new revisions that keep the old
php -vnumber.
These are bridges. What to do with old PHP.
Where to go from here
- Not sure if you’re exposed? Run through the seven quick checks.
- Self-managed server: patch guides for Ubuntu, Debian, RHEL, cPanel, Plesk and Docker.
- On shared or managed hosting: your host has to upgrade PHP. What to ask them.
- WordPress site? What this release means for WordPress.
We send one short email when a PHP security release lands, with the versions and the commands. Get the alert. 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.net: PHP 8.5.13 Released (19 Nov 2026)
- php.net: PHP 8 ChangeLog (8.5.13 and 8.6.0 security entries)
- GitHub php-src advisory GHSA-qc49-hpvq-g2w6: PHP-FPM request smuggling (CVE-2026-129289)
- GitHub php-src advisory GHSA-fm2m-fjf5-v3cp: partially overwritten session files (CVE-2026-126714)
- GitHub php-src advisory GHSA-658j-r8rw-q6mx: session serializer mismatch (CVE-2026-115560)
- Red Hat: RHSB-2026-020, multiple PHP vulnerabilities
- Dark Reading: Critical PHP flaws allow code execution, but don't panic PHP2Shell-style