PHP’s November 2026 security release fixes 18 CVEs: checking and fixing PHP on Linux and Windows servers
PHP released 8.5.13, 8.4.28, 8.3.37 and 8.2.36 on November 19, 2026, along with 8.6.0. Together they fix 18 CVEs. PHP’s own advisories rate seven of them critical. PHP says four of those can lead to remote code execution. An attacker who reaches one can run their own code on the web server. Two are in session handling (CVE-2026-126714, CVE-2026-115560). The other two are in the timezone cache (CVE-2026-129496) and in magic-method backtraces (CVE-2026-129474). Another critical bug lets an attacker smuggle a second request through PHP-FPM (CVE-2026-129289). None of the 18 is in CISA’s Known Exploited Vulnerabilities catalog.
Check the servers that run WordPress, Drupal, Magento or a home-grown PHP app first.
The fixed versions
| PHP line | Fixed | CVEs fixed on that line |
|---|---|---|
| 8.6 | 8.6.0 | 18 |
| 8.5 | 8.5.13 | 18 |
| 8.4 | 8.4.28 | 14 |
| 8.3 | 8.3.37 | 13 |
| 8.2 | 8.2.36 | 12 |
| 8.1 and older | none (end of life) |
8.2 gets 12 of the 18 fixes. The magic-method backtrace fix (CVE-2026-129474) is only in 8.5.13 and 8.6.0. Windows builds of every fixed version were on windows.php.net the same day.
Where distributions stand
My lab containers installed these packages on November 19:
| Distribution | Package | PHP version |
|---|---|---|
| Debian 12 | php8.2-cli 8.2.36-1~deb12u1 | 8.2.36, fixed |
| Debian 13 | php8.4-cli 8.4.28-1~deb13u1 | 8.4.28, fixed |
| Ubuntu 24.04 | php8.3-cli 8.3.6-0ubuntu0.24.04.13 | 8.3.6, no fix yet |
| Rocky Linux 9 | php-cli 8.0.30-8.el9_8.1 | 8.0.30, no fix yet |
Debian moved to the new upstream versions. Ubuntu and Red Hat keep their own version numbers and backport fixes into them. On those, the package changelog tells you whether you’re fixed. Rocky 9’s default PHP is 8.0. PHP stopped supporting 8.0 in 2023. Red Hat still maintains it, and the fix for those servers comes from Red Hat.
PHP-FPM and PHP-CGI
Restart PHP-FPM after the update (php-fpm, or php8.3-fpm and so on). It keeps running the old code until you do.
The release also fixes an out-of-bounds read and write in PHP-CGI’s PATH_INFO handling (CVE-2026-129538). PHP-CGI is what IIS runs through FastCGI on Windows. XAMPP and other Windows stacks ship php-cgi.exe next to php.exe.
Check one server
On Linux:
for p in $(command -v php php-fpm 2>/dev/null) /usr/bin/php[0-9]* /usr/sbin/php-fpm*; do
[ -x "$p" ] && echo "$p: $("$p" -v | head -n1)"
done
dpkg -l 'php*-common' 2>/dev/null | grep ^ii # Debian, Ubuntu
rpm -q php-common 2>/dev/null # RHEL and rebuilds
On Windows, in PowerShell as an administrator. It reads the version from each php.exe without running it:
cmd /c "dir C:\php.exe /s /b 2>nul" | ForEach-Object { "{0}: {1}" -f $_, (Get-Item $_).VersionInfo.ProductVersion }
What I found in the lab
I ran the RFF check on the official PHP container images for 8.2.35, 8.2.36, 8.3.36, 8.3.37, 8.4.27, 8.4.28, 8.5.12, 8.5.13, 8.6.0 and 8.1, and on the four distributions above.
- Every image from before November 19 came back as needing the update. Every November 19 image came back fixed. 8.1.34 came back end of life.
- Each image also has
php-cgi. The check found it as a second copy and gave it the same verdict. - On the 8.3.36 FPM image I started
php-fpm. The check marked it as running. - Ubuntu’s and Rocky’s packages came back as “check your distribution”. An Ubuntu package whose changelog I edited to name one of the CVEs came back fixed.
I didn’t test PHP on Windows in the lab. The Windows command above reads each php.exe’s version without running it.
What I’d do
- Find every PHP, including the copies inside stacks like XAMPP, cPanel and Plesk.
- Update to 8.5.13, 8.4.28, 8.3.37 or 8.2.36, and restart PHP-FPM or the web server.
- On Ubuntu and RHEL-family servers, install your distribution’s update when it ships. Check the package changelog for the CVE numbers.
- Move anything on 8.1 or older that you built or installed yourself to a supported line.
- Start with servers that face the internet and run an app that uses PHP sessions.
Doing it with RFF
The RFF Script Library has a new Linux entry, “PHP (November 2026, 18 CVEs) - Find Every PHP and Its Version (Linux)”. It checks php, php-cgi and php-fpm on PATH and in the usual paths, Remi, cPanel, Plesk, Bitnami and XAMPP installs, and the binary behind each running PHP process. It reads the package changelog for a backported fix. It reports each copy as needing the update, end of life, check your distribution, or fixed, and says whether it’s running. I tested it on the containers above.
RFF is free for your first 100 endpoints: getrff.com.
Sources
- PHP 8 ChangeLog: the fixes in 8.6.0, 8.5.13, 8.4.28, 8.3.37 and 8.2.36, with GHSA and CVE numbers
- PHP security advisories on GitHub: severity of each advisory
- windows.php.net releases: the fixed Windows builds
- CISA Known Exploited Vulnerabilities catalog: none of the 18 listed, checked November 19
- BleepingComputer: coverage of the release
Comments
Comments use GitHub Discussions, so you'll need a GitHub account to post. Corrections are especially welcome.