PHP Ships Another Critical Security Release — What to Patch at 14:00 UTC
SecurityDevOpsPHP Ships Another Critical Security Release — What to Patch at 14:00 UTC
The language powering roughly 70% of the web is shipping a CRITICAL-rated security release today, 19 November, between 14:00 and 14:30 UTC — its first regular-cycle update since October's emergency PHP2Shell patches, and on the same day PHP 8.6.0 goes GA.
Update, 19 November 17:30 UTC: the release shipped on schedule — details and our self-built image repos at the bottom of this article.
PHP's security team pre-announced the release on 18 November: a regular four-week-cycle update touching all supported versions, whose highest severity is CRITICAL — with the caveat that the critical-rated issues "require either non-default configuration or uncommon setups". Version numbers and full advisories appear only when the packages drop, not a minute earlier.
Known ahead of the window is CVE-2026-115560, a remote code execution flaw in PHP's session upload-progress feature that The Register reports will be fixed today. It is mitigable with a configuration change — and it is not PHP2Shell.
Why this release carries weight
Five weeks ago the PHP project shipped emergency patches for PHP2Shell: CVE-2026-109618 and CVE-2026-109619 (CVSS 4.0: 9.2), unauthenticated remote code execution in PHP core affecting every installation serving web requests — mod_php, PHP-FPM, php-cgi, FrankenPHP, LiteSpeed — on versions back to 5.4. Both stem from PHP leaving corrupted or stale internal state behind when a request ends abnormally; a later request in the same worker then dereferences it.
- CVE-2026-109618 — upload-progress unserializer use-after-free after an out-of-memory abort.
- CVE-2026-109619 — fatal-error backtrace use-after-free with OPcache type confusion.
Demonstrated pre-auth RCE against WordPress, Drupal and Joomla containers; added to CISA's KEV catalogue on 26 October. Fixed in 8.5.12, 8.4.27, 8.3.36 and 8.2.35.
Two things make today different. First, this is a scheduled release cycle, not an emergency one — the Foundation reserved CVE-2026-115560 in October for a third RCE it judged not dangerous enough for an out-of-band fix. Second, unlike the PHP2Shell leaks, nothing about today's advisories has been disclosed early.
What ships, and when
The window is 14:00–14:30 UTC on Thursday 19 November 2026. Map it to your timezone before you schedule anything:
| Region | Local time |
|---|---|
| San Francisco | 06:00 |
| New York | 09:00 |
| London | 14:00 |
| Rome / Berlin | 15:00 |
| São Paulo | 11:00 |
| Mumbai | 19:30 |
| Shanghai | 22:00 |
| Tokyo | 23:00 |
Expect point releases for every branch the project still supports:
| Branch | Bug fixes until | Security until | Version before this release |
|---|---|---|---|
| PHP 8.2 | 31 Dec 2024 | 31 Dec 2026 | 8.2.35 |
| PHP 8.3 | 31 Dec 2025 | 31 Dec 2027 | 8.3.36 |
| PHP 8.4 | 31 Dec 2026 | 31 Dec 2028 | 8.4.27 |
| PHP 8.5 | 31 Dec 2027 | 31 Dec 2029 | 8.5.12 |
PHP 8.6.0 — the first stable release of the new branch — also lands on 19 November, but php.net has not confirmed whether it carries the same fixes as the patch releases. Do not assume "upgrade to 8.6.0" is a valid remediation until the advisories say so.
The one branch you should be worried about
8.2 leaves security support on 31 December 2026 — six weeks from today. If you are still on it, this is the release to ride up from 8.2.35, and the moment to schedule the jump to 8.3 or later on your own terms. 8.3 (security-only since the end of 2025) gets fixes until the end of 2027, so it is the comfortable landing target.
What to do at 14:00 UTC
Three words: update everything, then verify. PHP is nearly always freighted inside something else — a distro package, a hosting plan, an application image — so inventory first, then patch in dependency order:
# Debian/Ubuntu
apt list --upgradable '?name(^php[0-9.]+$)'
sudo apt update && sudo apt upgrade
# RHEL/Fedora
dnf check-update php
dnf update php
# Verify the running interpreter, not just the binary on disk
php -v | head -1
php -r 'echo PHP_VERSION, "\n";'
For containers, rebuild from updated base images (official PHP, distroless, FrankenPHP, hardened variants all dropped fixes last month) rather than layer-patching running images. Then restart services — systemctl restart php8.4-fpm, apachectl graceful, or equivalent — because PHP loads at process start.
If you cannot patch immediately: change session.upload_progress.name to a non-default value (that is the known config mitigation for CVE-2026-115560) and keep a WAF rule blocking PHP RCE attempts in front of internet-facing hosts.
After 14:30 UTC
Re-check the PHP news archive for the fixed version numbers and the full advisory, then diff which of your systems were exposed. Precisely because PHP2Shell convinced a lot of shops to build patch pipelines last month, this release is your free smoke test: if today's window is frictionless, the December cycle will be too. If it is still manual, script it — next month's CRITICAL will not be pre-announced with a friendly half-hour window.
Bottom line: block 30 minutes at 14:00 UTC, patch all supported branches, rebuild images, restart what uses PHP, and check php -v afterwards. The known good bug today is CVE-2026-115560; what you cannot see yet is the rest of the advisory — that is why the pre-announcement exists, and why waiting for the blog posts before planning is a mistake.
Update, 19 November: the release shipped — and upstream did not follow
It did. 14:05 UTC, four point releases in one drop: 8.5.13, 8.4.28, 8.3.37, 8.2.36. Per the php.net changelog, that is 18 CVEs on 8.5.13, 14 on 8.4.28, 13 on 8.3.37 and 12 on 8.2.36 — including four remote-code-execution fixes:
- CVE-2026-115560 — session serializer mismatch → RCE (all branches; the pre-announced one)
- CVE-2026-126714 — partially overwritten session files → RCE (all branches)
- CVE-2026-129496 — timezone cache use-after-free → RCE (all branches)
- CVE-2026-129474 — use-after-free in magic-method backtraces → RCE (8.5 only)
Everything else in the drop is the usual spread: out-of-bounds reads, SOAP information disclosure, PHP-FPM and OpenSSL hardening. Check the changelog for the branch you run.
Then came the part worth writing down: three hours later, the application images most people actually deploy had not moved. nextcloud:35-apache still ran the pre-release interpreter, invoiceninja:5 was still on 8.5.12, mailcow's phpfpm image still carried 8.2.35. That lag is not negligence — it is the app-repo → Dockerfile-bump → CI → registry chain, and it routinely costs hours to days after every PHP release. If your exposure is "PHP inside an application image", the CVE is public knowledge while your fix does not exist yet.
So we closed the gap ourselves. Sources pinned, tarballs sha256- and GPG-verified in the build, everything reproducible from a public repo:
The repos
- Build repo (Dockerfiles + CI): github.com/tobias-weiss-ai-xr/php-fixed-images
- Images:
ghcr.io/tobias-weiss-ai-xr/php-fixed-images/<name>:<tag>andregistry.openedusuite.org/php-fixed/<name>:<tag>— both anonymous pull
Fixed PHP base images
| Image (ghcr namespace) | Also at (openedusuite namespace) |
|---|---|
php:8.5.13-fpm-alpine3.24 | php-fixed/php:8.5.13-fpm-alpine3.24 |
php:8.2.36-fpm-alpine3.24 | php-fixed/php:8.2.36-fpm-alpine3.24 |
php:8.5.13-apache-trixie | php-fixed/php:8.5.13-apache-trixie |
php:8.5.13-apache-bookworm | php-fixed/php:8.5.13-apache-bookworm |
Application images rebuilt on the fixed interpreters
| Image (ghcr namespace) | Also at (openedusuite namespace) |
|---|---|
nextcloud:35.0.3-apache-php8.5.13 | php-fixed/nextcloud:35.0.3-apache-php8.5.13 |
mailcow-phpfpm:8.2.36 | php-fixed/mailcow-phpfpm:8.2.36 |
invoiceninja:5-php8.5.13 | php-fixed/invoiceninja:5-php8.5.13 |
Pull, for example:
docker pull ghcr.io/tobias-weiss-ai-xr/php-fixed-images/php:8.5.13-fpm-alpine3.24
docker pull registry.openedusuite.org/php-fixed/mailcow-phpfpm:8.2.36
The GitHub Actions workflow in the build repo rebuilds the whole set from pinned upstream sources and pushes to both registries on every run — swap it into your pipeline and the next PHP release costs you a workflow dispatch instead of a wait.
Our own fleet was patched the same afternoon: Nextcloud 35.0.3 on PHP 8.5.13, mailcow on 8.2.36, Invoice Ninja on 8.5.13 — verified running interpreters, not just image tags. The December cycle will get the same treatment; upstream's rebuild will catch up when it catches up.
Update, 20 November: the cases the pipelines alone cannot fix
Two deployments did not surrender to the standard rebuild — and both taught the same lesson.
grommunio gromox-core. grommunio's official community image (daily rebuilds, pinned by digest) faithfully rebuilt itself around the problem: openSUSE Leap 16's php8 rpm was still on 8.4.27 the day after the release, so even a fresh pull carried the vulnerable interpreter (upload-progress RCE setting enabled by default). We stopped waiting and compiled PHP 8.4.28 from php.net source in an openSUSE Leap 16 builder — the same distro and glibc as the runtime — sha256-verified the tarball, and replaced only the engine binaries (/usr/bin/php, /usr/sbin/php-fpm) inside the grommunio image. Because 8.4.27→8.4.28 is ABI-stable, the rpm .so extensions (mapi, redis, …) load unchanged; the ini wiring (/etc/php8/fpm/php.ini, shared scan dir /etc/php8/conf.d) is untouched, and every module ships compiled in 8.4.28 so the fixed session engine is guaranteed to be the one running. That image is gromox-core:8.4.28-20261120 in the php-fixed-images repo, and it went live in the fleet the same day: php -v → 8.4.28 inside the running pod, all four FPM pools (web/dav/sync/gromox) forking workers, mapi/redis loaded.
The JVM side — a twin repo. The same scar tissue exists in the JVM ecosystem: distro and wolfi OpenJDK packages ship CPU levels late (our fleet still had openjdk 17.0.20.1 and 25.0.5.0.2 for the CVE-2026-114938 "Java4Shell" family, fixed in 17.0.21 / 25.0.5.1). So there is now a sibling repo, github.com/tobias-weiss-ai-xr/java-fixed-images, for "upstream patched, your image isn't" JVM cases. First image: gromox-jdk:17.0.21 — the same gromox image with its otherwise-dormant JDK (embedded keycloak is disabled in our deployment) replaced by Adoptium Temurin 17.0.21.1 (SHA-256-verified, wired through update-alternatives), built on top of the php-fixed gromox base so a single image carries both the PHP 8.4.28 and the JDK 17.0.21 fix.
The rule that fell out of this release: a rebuild pipeline is necessary but not sufficient — it only fixes images whose upstream actually ships the patched interpreter. Distro-package lag (Leap's php8 rpm, wolfi's openjdk-25) is a second-order failure mode; owning the engine swap — replacing the interpreter binary in place, ABI-compatible, verified inside the running pod — is what closes it.