About4 min read
PHP Security Update November 2026: 18 CVEs, 7 Critical, What To Patch
PHP 8.5.13, 8.4.28, 8.3.37 and 8.2.36 fix 18 CVEs, seven rated Critical. Which setups are exposed, how to patch, and what to do if you cannot update today.
By Juan Molina

On this page
PHP Security Update: The Short Version
On November 19, 2026 the PHP project shipped security releases for every supported branch: PHP 8.5.13, 8.4.28, 8.3.37 and 8.2.36. According to the PHP 8 ChangeLog, together they fix 18 CVEs. PHP's own security advisories rate seven of them Critical, at a CVSS 4.0 score of 9.2, and several can lead to remote code execution: an attacker running their code on your server.
If your store runs on PHP (WooCommerce, Magento, PrestaShop, OpenCart, a custom Laravel build), update now. Most of the critical bugs need an unusual configuration, but a few hit common setups, and those are the ones to check first. PHP 8.6.0 also came out the same day, so if you are planning a move anyway, that is the newest branch.
Not legal or security advice for your specific setup. Verify every point against the official advisories linked below and your host's guidance.
Which Versions Fix It
- PHP 8.5: update to 8.5.13
- PHP 8.4: update to 8.4.28
- PHP 8.3: update to 8.3.37
- PHP 8.2: update to 8.2.36. The PHP supported versions page shows security support for 8.2 ends on December 31, 2026.
- PHP 8.1 and older: no longer supported, so no fix is coming. Plan a move to a supported branch.
If your PHP comes from a Linux distribution package, the vendor may backport the fix without changing the version number, so check your distribution's security notice rather than the version string alone.
The Three Issues To Check First
1. PHP-FPM request smuggling (CVE-2026-129289)
PHP's advisory describes how PHP could fail to discard unread request body bytes before reusing a persistent PHP-FPM connection. When the web server keeps FastCGI connections alive, an unauthenticated attacker can turn those leftover bytes into a second request and run their own PHP code with the worker's privileges. The exposure comes from connection reuse, which is off by default: nginx fastcgi_keep_conn and Apache enablereuse. If either is on in your config, this one is urgent.
2. Use-after-free in magic method backtraces (CVE-2026-129474)
This one is specific to PHP 8.5. The advisory says the demonstrated remote attack needs fatal_error_backtraces=1 (on by default in 8.5) and zend.exception_ignore_args=0. The production php.ini sets zend.exception_ignore_args=1, which blocks this path. Servers and containers that run without a production php.ini are the ones at risk.
3. Session serializer mismatch (CVE-2026-115560)
Session upload progress is on by default. The advisory explains that when one application writes session data with one serializer and another reads it with a different one, attacker controlled upload data can be decoded as objects, and an application with a suitable gadget chain can be pushed into running code. Setups that share a session directory across pools or virtual hosts with different session.serialize_handler values are the exposed ones. The fix turns session upload progress off by default, so upload progress bars that rely on it may stop updating after you patch.
The Other Critical Issues
PHP's advisories also rate these Critical, mostly in less common setups:
- CVE-2026-129182: use-after-free via the last fatal error backtrace after shutdown.
- CVE-2026-129496: timezone cache use-after-free that can lead to remote code execution.
- CVE-2026-126714: partially overwritten session files can lead to remote code execution. This affects the default
filessession handler. - CVE-2026-129481: use-after-free after an interrupted session shutdown.
The release also fixes high and medium issues in PHP-FPM, PHAR signatures, SOAP, DOM, HTTPS URL handling and PHP-CGI. The full list is in the ChangeLog.
How To Patch
- Find every place PHP runs: web servers, containers, staging copies, cron and queue workers, old plugins on forgotten subdomains.
- Update to the fixed release for your branch, then restart PHP-FPM and the web server so the new binary is actually loaded.
- Confirm the version with
php -von each server, and check the PHP-FPM process too, since the CLI and FPM can be different builds. - Retest checkout and uploads after the update, especially anything that used upload progress.
If You Cannot Patch Today
These reduce exposure but do not replace the update. Set them in php.ini, the FPM pool or the server config, then restart all workers:
session.upload_progress.enabled=0- Turn off FastCGI connection reuse (nginx
fastcgi_keep_conn off, Apacheenablereuse=off). zend.exception_ignore_args=1, and on PHP 8.5 alsofatal_error_backtraces=0.
What This Means For Online Stores
A compromised server in a store is not just downtime. It is customer data, admin sessions and, if card data passes through your server, a PCI compliance problem. Our guide to vibe coding security covers the same habit for newer stacks. Patch windows like this one are becoming routine, so put PHP updates on a monthly schedule rather than waiting for the next scare. Our guide to ecommerce fraud prevention covers what attackers do once they are inside a store.
This is also the argument for not running your own PHP stack at all. DashForDevs is a hosted commerce backend: there is no PHP runtime or plugin directory on your side to patch, and your storefront talks to it through the ecommerce API. If you are weighing a move off WooCommerce or Magento, read ecommerce replatforming and Shopify alternatives, see how migration works, see managed ecommerce websites and pricing, or talk to us.














