PHP Security Release Oct 21, 2026: How to Check and Patch

The PHP security release scheduled for Wednesday, October 21, 2026 at 14:00 UTC fixes two critical vulnerabilities, both rated CVSS v4.0 9.2. Find every PHP install you run today, note its branch (8.2, 8.3, 8.4 or 8.5), and plan to update and restart PHP-FPM or Apache as soon as fixed builds reach your package source. PHP 8.1 and older are end of life, so they need a branch upgrade, not a patch.

As of this writing (October 21, 2026, about 11:00 UTC), php.net has not published the CVE details, affected version ranges or fixed version numbers. The PHP team says these will come with the release, and that it may ship earlier if details leak or exploitation appears. This guide covers what is confirmed, how to inventory PHP, and how to patch on Debian/Ubuntu, RHEL-family servers, Docker and WordPress hosts.

What is confirmed about the PHP security release

On October 20, 2026, the PHP security team posted an advance notice on php.net. Here is what it says, and what it leaves out.

ItemStatus (Oct 21, 2026, 11:00 UTC)
Release timeWed, Oct 21, 2026, 14:00 UTC (may be earlier)
Number of flawsTwo, both CVSS v4.0 9.2 (critical)
Affected versionsNot published yet
Fixed versionsNot published yet
Technical detailsNot published yet

14:00 UTC is 10:00 in New York (EDT), 07:00 in San Francisco (PDT), 15:00 in London (BST) and 23:00 in Seoul.

Several outlets and security firms have added unofficial details. Treat these as unconfirmed until php.net publishes the advisory:

  • Some reports name the flaws CVE-2026-109618 and CVE-2026-109619 and describe them as remote code execution in PHP core. php.net has not confirmed the IDs.
  • Some community posts rated the flaws CVSS 10.0. The official score is 9.2 (CVSS v4.0).
  • One hosting provider reported unconfirmed links to the session upload progress feature and disabled it as a precaution. More on that below.

Which PHP versions will get a fix?

Only supported branches receive security fixes. According to php.net's supported versions page (checked October 21, 2026):

BranchLatest release before Oct 21Security support untilWhat to expect
8.58.5.11 (Sep 24, 2026)Dec 31, 2029Patch release
8.48.4.26 (Sep 24, 2026)Dec 31, 2028Patch release
8.38.3.35 (Sep 24, 2026)Dec 31, 2027Patch release
8.28.2.34 (Sep 24, 2026)Dec 31, 2026Patch release
8.1 and older8.1.34 (last)Ended Dec 31, 2025No fix from php.net

So any 8.x release dated after September 24 that php.net publishes on or after October 21 is your target. Do not guess the exact numbers; read them from the release announcement on the php.net archive page.

PHP 8.6.0 is still a release candidate (RC3 on October 8, RC4 planned for October 22) and should not be in production.

If you run PHP 8.1, 8.0 or 7.x, the fastest safe path is moving to a supported branch. Some Linux distributions backport fixes to older PHP packages in their long-term releases, so check your distribution's security tracker before assuming you are exposed or covered.

Step 1: Inventory every PHP install

The CLI version and the version your web server runs can differ. Check both.

On a Linux server

php -v                                    # CLI version
dpkg -l | grep -E '^ii\s+php'             # PHP packages (Debian/Ubuntu)
rpm -qa | grep -i '^php'                  # PHP packages (RHEL family, Fedora)
systemctl list-units --type=service | grep -i fpm   # running PHP-FPM services

On Debian and Ubuntu, each branch lives in its own folder, so ls /etc/php/ shows every installed branch (for example 8.3 and 8.4).

What the web server actually runs

Create a temporary file in the web root, load it once in a browser, then delete it right away:

<?php
echo PHP_VERSION, ' ', PHP_SAPI;

PHP_SAPI shows fpm-fcgi, apache2handler or cli, which tells you what to restart later. Never leave a version or phpinfo() page online.

In Docker containers and images

for c in $(docker ps --format '{{.Names}}'); do
  printf '%s: ' "$c"
  docker exec "$c" php -r 'echo PHP_VERSION, PHP_EOL;' 2>/dev/null || echo "no php"
done

grep -rn --include='Dockerfile*' -E '^FROM .*php' .   # base images in your repos

Also check CI images, cron containers and queue workers. They are easy to forget because they do not serve web traffic.

On WordPress sites

In the dashboard, go to Tools → Site Health → Info → Server and read the PHP version. On managed or shared hosting, ask your provider when they will deploy the fix. You usually cannot patch PHP yourself there, but you can switch to a supported branch in the control panel.

If you also run Ubuntu servers, our Ubuntu 26.10 upgrade guide covers what changes when you move to a new release, including the PHP packages that come with it.

Step 2: Patch the PHP security release when builds land

php.net publishes source code and Windows builds at release time. Linux distribution packages and Docker images usually follow later, after maintainers rebuild them. Your job is to watch your actual source, not only php.net.

PHP security release patch workflow: inventory PHP, check branch support, wait for fixed packages, update, restart PHP-FPM or Apache, then verify the version
From inventory to verified patch
View PlantUML source
@startuml
skinparam shadowing false
skinparam defaultFontSize 14
left to right direction
rectangle "Inventory\nphp -v, containers" as A
rectangle "Branch\n8.2 to 8.5?" as B
rectangle "Upgrade branch\n8.1 or older" as C
rectangle "Wait for fixed\npackage or image" as D
rectangle "Update and\nrestart FPM" as E
rectangle "Verify version\nin web SAPI" as F
A --> B
B --> D : supported
B --> C : EOL
C --> D
D --> E
E --> F
@enduml

Debian and Ubuntu

sudo apt update
apt list --upgradable 2>/dev/null | grep -i php
sudo apt install --only-upgrade 'php8.3*'   # example for 8.3
sudo systemctl restart php8.3-fpm     # PHP-FPM
sudo systemctl restart apache2        # if you use mod_php

Distribution packages often keep the old upstream version number and add the fix as a backport. A package can say 8.3.x with a newer Debian or Ubuntu revision and still be patched. Confirm with the Ubuntu CVE tracker or the Debian security tracker once the CVE IDs are public, or read the package changelog:

apt changelog php8.3-fpm | head -20

RHEL, Rocky Linux, AlmaLinux and Fedora

sudo dnf check-update 'php*'
sudo dnf upgrade 'php*'
sudo systemctl restart php-fpm
sudo systemctl restart httpd   # if PHP runs inside Apache

If you use a third-party PHP repository, its maintainer decides when fixed builds arrive. Check that repository's announcements.

Docker

The official php images on Docker Hub are rebuilt after upstream releases. Pulling a tag is not enough if your app image was built on the old base. Rebuild with a fresh base:

docker build --pull --no-cache -t <YOUR_IMAGE>:<NEW_TAG> .
docker run --rm <YOUR_IMAGE>:<NEW_TAG> php -v

If you pin images by digest, update the digest. If your Dockerfile uses a full version tag such as php:8.3.35-fpm, change it to the new patch tag. A floating tag such as php:8.3-fpm picks up the fix after a rebuild with --pull. Pinning CI dependencies is a good habit; our GitHub Actions lockfile guide shows the same idea for workflows.

Windows and source builds

Windows binaries and source tarballs come from the php.net downloads page. Replace the install, then restart IIS, Apache or the service that hosts PHP.

Step 3: Verify the fix is live

A common mistake is updating packages but leaving the old PHP-FPM workers running. The running process keeps the old binary in memory until it restarts.

php -v                  # CLI
php-fpm8.3 -v           # FPM binary (Debian/Ubuntu naming)
systemctl show php8.3-fpm --property=ActiveEnterTimestamp   # last FPM start

Then load your temporary version page through the web server once more, confirm the new version (or the new distribution package revision), and delete the file.

CheckCommand or placePass when
Package updatedapt changelog or dnf info phpShows the October 2026 security fix
Service restartedsystemctl show ... ActiveEnterTimestampTime is after the update
Web SAPI versionTemporary version pageMatches the patched build
Containersdocker exec <name> php -vEvery container on new image

Optional: session upload progress (unconfirmed)

A UK hosting provider wrote that unconfirmed reports link the flaws to PHP's session upload progress feature, and it disabled that feature on its servers on October 21. php.net has not said this. Do not treat it as a fix.

If your app does not use upload progress bars built on this feature, turning it off is low-impact. Check the current value first:

php -r 'var_dump(ini_get("session.upload_progress.enabled"));'

To disable it, set this in the php.ini that your web SAPI loads (for FPM on Debian/Ubuntu, /etc/php/8.3/fpm/php.ini), then restart PHP-FPM:

session.upload_progress.enabled = Off

Patch anyway when the release is available, and revisit this setting after the official advisory explains the actual cause.

FAQ

When exactly is the PHP security release? php.net scheduled it for Wednesday, October 21, 2026 at 14:00 UTC. The team said it may release earlier if details become public or exploitation is seen.

Is PHP 8.1 getting a patch? Not from php.net. PHP 8.1 reached end of life on December 31, 2025, and its last release was 8.1.34. Move to 8.2 or newer, or check whether your Linux distribution still backports fixes for its own 8.1 package.

My host manages PHP. Do I need to do anything? Check your PHP version in the control panel or in WordPress Site Health. If it is 8.2 or newer, ask the host when the fix will be installed. If it is 8.1 or older, switch to a supported branch after testing your plugins and theme.

Do I need to restart anything after updating packages? Yes. Restart PHP-FPM, or Apache if PHP runs as an Apache module. Long-running PHP workers, such as queue workers or app servers, also need a restart to load the patched binary.

Are the CVE numbers in news reports official? Not yet as of October 21, 2026, 11:00 UTC. php.net said CVE details, affected versions and fixed versions will be published with the release.

Summary

Inventory every PHP install now, including containers and CI images, and write down each branch. When the October 21 release lands, update from your real package source, restart PHP-FPM or Apache, and verify the version through the web server. Anything on PHP 8.1 or older needs a branch upgrade.

Written on October 21, 2026 (around 11:00 UTC), before the release went out. Fixed version numbers and CVE details were not public at that time. Check the php.net archive for the final advisory.

References

  • PHP: News archive 2026, "Upcoming Critical PHP Security Release" (Oct 20, 2026) and 8.x releases (Sep 24, 2026) — php.net (checked Oct 21, 2026)
  • PHP: Supported versions — php.net (checked Oct 21, 2026)
  • PHP: Unsupported branches (end of life) — php.net (checked Oct 21, 2026)
  • PHP: Downloads — php.net (checked Oct 21, 2026)
  • PHP manual: Session runtime configuration (session.upload_progress.enabled) — php.net (checked Oct 21, 2026)
  • Docker Official Image: php — hub.docker.com (checked Oct 21, 2026)
  • Help Net Security, "A critical PHP security release is coming today" (Oct 21, 2026) — helpnetsecurity.com (checked Oct 21, 2026)
  • Prostack, "Critical PHP security update: what you need to know" (session upload progress precaution) — prostack.uk (checked Oct 21, 2026)

2 thoughts on “PHP Security Release Oct 21, 2026: How to Check and Patch”

Leave a Comment