ENGINEERING

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 lineFixedCVEs fixed on that line
8.68.6.018
8.58.5.1318
8.48.4.2814
8.38.3.3713
8.28.2.3612
8.1 and oldernone (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:

DistributionPackagePHP version
Debian 12php8.2-cli 8.2.36-1~deb12u18.2.36, fixed
Debian 13php8.4-cli 8.4.28-1~deb13u18.4.28, fixed
Ubuntu 24.04php8.3-cli 8.3.6-0ubuntu0.24.04.138.3.6, no fix yet
Rocky Linux 9php-cli 8.0.30-8.el9_8.18.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.

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

  1. Find every PHP, including the copies inside stacks like XAMPP, cPanel and Plesk.
  2. Update to 8.5.13, 8.4.28, 8.3.37 or 8.2.36, and restart PHP-FPM or the web server.
  3. On Ubuntu and RHEL-family servers, install your distribution’s update when it ships. Check the package changelog for the CVE numbers.
  4. Move anything on 8.1 or older that you built or installed yourself to a supported line.
  5. 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

One email per new post, nothing else. Unsubscribe in one click. Or use the RSS feed.

Comments

Comments use GitHub Discussions, so you'll need a GitHub account to post. Corrections are especially welcome.