Published
PHP Critical Security Update (November 19, 2026): What To Patch
PHP shipped a critical-rated security release on November 19, 2026. If you run WordPress, Laravel or any PHP site, here is what to update.
1. What was released
PHP 8.5.13, 8.4.28, 8.3.37 and 8.2.36 are security releases. PHP gave advance notice on November 18 that the highest severity was critical. PHP 8.6.0 also shipped and contains the same fixes.
2. What it fixes
The 8.5.13 changelog lists 17 security advisories covering the core, sessions, PHP-FPM, SOAP, Phar, CGI, Date, DOM and URL handling. Several describe memory bugs that could lead to remote code execution.
3. Check your version
Run php -v on the server, and check the version your web server actually uses (for example a phpinfo page or your hosting panel), since CLI and FPM can differ.
php -v
4. Update and restart
Install the patched build from your package source, then restart PHP-FPM and the web server. A package update alone does not replace code already loaded in memory.
sudo systemctl restart php8.5-fpm
Sources
php.net release announcements for PHP 8.5.13, 8.4.28, 8.3.37 and 8.2.36 (November 19, 2026) and the PHP 8 ChangeLog; Rescana and DEV Community coverage, November 2026.
FAQ
Is my shared hosting affected?
Ask your host which PHP build they run and when they will update. Most hosts patch quickly, but older PHP branches stay vulnerable.
Which version should I install?
The newest build on your branch: 8.5.13, 8.4.28, 8.3.37 or 8.2.36, or move to 8.6.0.