PHP published security releases for every supported branch on November 19, 2026: 8.5.13, 8.4.28, 8.3.37 and 8.2.36. The PHP project rates the highest severity as critical. The best known fix is for phpAfterShell (CVE-2026-126714), a flaw in the way PHP saves session files. WordPress, WooCommerce and most website software run on PHP, so the version on your server matters even when your dashboard shows everything up to date.
What changed
The PHP news archive lists four security releases dated November 19, 2026, and asks all users of each branch to upgrade. PHP 8.6.0, the new major version released the same day, already includes the fixes.
- PHP 8.5.13 fixes 17 security issues, according to the PHP 8 changelog.
- PHP 8.4.28 fixes 14 security issues.
- PHP 8.3.37 fixes 13 security issues.
- PHP 8.2.36 fixes 12 security issues.
The fix that gave the release its name is phpAfterShell. The PHP security advisory rates it critical: when the write of a session file is interrupted, the file can keep parts of two different sessions, and reading it back can lead to remote code execution. The same releases also close flaws in PHP-FPM, the SOAP extension, the timezone cache, PHAR signatures and the handling of HTTPS and FTPS addresses.
Two details keep this in proportion. PHP's own announcement says the issues rated critical need a non-default configuration or an uncommon setup. And Cloudflare's analysis of November 20, 2026 reports no sign of attacks in the wild as of November 19, with none of the 17 vulnerabilities listed in the CISA Known Exploited Vulnerabilities catalog on that date.
Who is affected
Any website whose server runs a PHP version older than the fixed release of its branch:
- PHP 8.5 before 8.5.13.
- PHP 8.4 before 8.4.28.
- PHP 8.3 before 8.3.37.
- PHP 8.2 before 8.2.36.
That covers WordPress and WooCommerce sites, and also Joomla, Drupal, Laravel applications and custom PHP code. A WordPress core update does not change the PHP version. PHP belongs to the server, so the fix arrives through your hosting company on shared and managed plans, and through you on a VPS or dedicated server that you administer.
PHP 8.1 and older no longer receive fixes from the PHP project. PHP 8.2 is close behind: the supported versions page shows its security support ending on December 31, 2026. If your site still runs 8.2, this release is a good moment to plan the move to 8.3 or newer.
One more point for server administrators. Linux distributions often add security fixes to their own PHP packages without changing the version number, so a number that looks old is not proof of a missing fix. The package advisory of your distribution is the reference in that case.
What to do now
- Find the full PHP version. In WordPress, open Tools → Site Health → Info → Server and read the PHP version line. You need all three numbers, for example 8.3.37, and not just 8.3.
- Compare it with the fixed releases. 8.5.13, 8.4.28, 8.3.37, 8.2.36 or 8.6.0 means the fixes are in place.
- On shared or managed hosting, ask your host. Most hosting companies install PHP patch releases for you. If your version is older, ask support when the November 19 security release reaches your server. If your hosting panel lets you pick the PHP branch per website, confirm you are looking at the right site first. Our IONOS PHP version guide shows where that setting lives on IONOS. ScalaHosting, for example, confirmed on November 20, 2026 that it began rolling out the new PHP builds, and shows the version of each domain in SPanel's PHP Manager.
- On your own server, update and restart. Install the fixed package for your branch, then restart PHP-FPM or Apache so every worker loads the new version, and check the version that answers web requests. Rebuild container images that ship their own PHP.
- Still on PHP 8.1 or older? Plan a branch upgrade. Take a backup and test your theme and plugins on a copy before switching. The official WordPress guide to updating PHP explains the preparation, and our guide to upgrading PHP with compatibility tests and a rollback plan walks through it step by step.
- Use a firewall as an extra layer. Cloudflare says its WAF blocks known phpAfterShell attack patterns on every plan, including Free, and that the complete fix is still to upgrade PHP and restart every worker.
If you cannot update a server you manage right away, Cloudflare lists interim steps: set session.upload_progress.enabled=0 and limit the untrusted data your application stores in sessions.
This is the second round of PHP security fixes in a month. The October releases are covered in PHP2Shell: what the emergency PHP fixes mean for your website. A server that received the November 19 release has both sets of fixes.
Source and date
PHP news archive, security release announcements of November 19, 2026, and the PHP 8 changelog entries for 8.5.13, 8.4.28, 8.3.37 and 8.2.36. PHP security advisory GHSA-fm2m-fjf5-v3cp, published November 19, 2026. PHP supported versions. Cloudflare blog, How Cloudflare WAF helps protect against phpAfterShell and other critical PHP flaws, November 20, 2026. ScalaHosting blog, PHP2Shell and Follow-Up PHP Security Updates at ScalaHosting, reviewed November 20, 2026. WordPress.org, Update PHP. All were checked on November 23, 2026.