PHP

PHP and WordPress Patched a Day Apart. Your Front End Decides Which PHP Bugs Reach You.

PHP 8.5.13, 8.4.28, 8.3.37 and 8.2.36 fix 18 CVEs, seven rated 9.2, and WordPress 7.1.5 fixes 20 more issues. Most of the PHP bugs only fire under specific settings, so I checked the official Docker images for each condition. The images were patched the same day, and the patch quietly turns off...

A blue laptop displaying the WordPress logo on a speckled blue surface
Photo by Deng Xiang / Unsplash

A WordPress site gets patched in two places, and the two are run by different people. WordPress updates itself in the background. PHP updates when whoever runs the server updates it, whether that's you, your host, or a Docker image tag. In mid-November both shipped security releases, a day apart, and most of the PHP bugs depend on how that server is set up.

WordPress 7.1.5 came out on November 18. On November 19, PHP released 8.5.13, 8.4.28, 8.3.37 and 8.2.36, along with 8.6.0, which carries the same fixes. I took the PHP advisories one at a time, then checked the official Docker images against each condition.

What the November 2026 PHP Security Release Fixes

The 8.5.13 changelog lists 18 CVEs. Older branches get fewer: 14 on 8.4, 13 on 8.3, 12 on 8.2. Severities are the CVSS 4.0 scores PHP's security team filed with NVD:

Score CVEs Bugs
9.2 7 Timezone cache use-after-free, two session-file deserialization bugs, PHP-FPM request smuggling, a session-shutdown use-after-free, two 8.5-only backtrace use-after-frees
7.7 to 8.8 4 PHP-FPM epoll use-after-free (8.8), folded-header DoS (8.7), mixed-case HTTPS:// sent in plaintext (8.2), PHAR signature downgrade (7.7)
5.3 to 6.9 6 php-cgi PATH_INFO out-of-bounds (6.9), SOAP and DOM bugs, URI serialization, FPM status page XSS
Not scored 1 Bundled uriparser updated to 1.0.3

Patchstack's write-up has the same breakdown. Seven 9.2s sounds like an emergency. Read the descriptions, though, and almost every one comes with a condition.

Which Bugs Need Which Settings

These conditions come from the CVE descriptions PHP filed:

Bug What has to be true Default?
Timezone cache UAF (CVE-2026-129496) Non-thread-safe build, error_log going to a file, a startup diagnostic such as a bad date.timezone No. Needs file logging and a startup warning
FPM request smuggling (CVE-2026-129289) Front end reuses FastCGI connections, plus an app that opens php://input without reading it all No. PHP says reuse "is not the default in nginx or Apache"
Session serializer mismatch (CVE-2026-115560) Session upload progress on, plus two serializers reading the same session Upload progress was on by default
Partial session files (CVE-2026-126714) An interrupted session write, plus a gadget chain in the app Uses the default files handler
FPM epoll UAF (CVE-2026-129291) catch_workers_output on, the epoll event backend, plus code already running in a worker Off by default, "but enabled in the official PHP-FPM Docker images"
Magic-method backtrace UAF (CVE-2026-129474, 8.5 only) zend.exception_ignore_args off Off unless you use php.ini-production

The smuggling bug is the one I'd act on first if it applies. nginx documents fastcgi_keep_conn as off by default, so a stock config is fine. But it's a common tuning line, because it lets nginx keep a pool of open connections to PHP-FPM. Check yours:

nginx -T 2>/dev/null | grep -n fastcgi_keep_conn

No output, or only off, means you don't meet the front-end condition. For Apache, look for enablereuse=on on a ProxyPass or <Proxy> pointing at FPM.

We recommend reading php2shell: The PHP Bug That Fires Before Your Code Runs to continue reading our selection of content. It covers PHP's last 9.2 and how a bug in request setup differs from these setting-dependent ones.

php2shell: The PHP Bug That Fires Before Your Code Runs php2shell (CVE-2026-109618/109619) is a 9.2 PHP RCE firing during request setup, before your code runs. Versions, mitigations, KEV status. SudoSecurity · Santhdium

I Checked the Official Docker Images

Most self-hosted PHP apps run on the official php image or something built from it, such as wordpress, Nextcloud's images, or a custom Dockerfile. I pulled the images from before and after the release and read the settings each bug depends on, using this script:

#!/bin/sh
# Check a PHP container against the conditions in the November 19, 2026 PHP advisories.
# Usage: docker exec <php-container> sh -s < php-nov2026-check.sh
php -r '
$v = PHP_VERSION;
$fixed = ["8.2" => "8.2.36", "8.3" => "8.3.37", "8.4" => "8.4.28", "8.5" => "8.5.13"];
$branch = PHP_MAJOR_VERSION . "." . PHP_MINOR_VERSION;
$ok = isset($fixed[$branch]) && version_compare($v, $fixed[$branch], ">=");
printf("%-34s %s %s\n", "PHP version", $v, $ok ? "(fixed)" : "(NOT FIXED or end-of-life branch)");
$e = ini_get("error_log");
printf("%-34s %s\n", "error_log", $e === "" ? "stderr (timezone bug needs a file)" : "$e (file-based: timezone bug condition met)");
printf("%-34s %s\n", "session.upload_progress.enabled", ini_get("session.upload_progress.enabled") ? "on" : "off");
if (PHP_MINOR_VERSION == 5) printf("%-34s %s\n", "zend.exception_ignore_args", ini_get("zend.exception_ignore_args") ? "on" : "off (8.5 backtrace bug condition met)");
'
if command -v php-fpm >/dev/null 2>&1; then
  printf '%-34s %s\n' "catch_workers_output" "$(php-fpm -tt 2>&1 | sed -n 's/.*catch_workers_output = //p' | sort -u | tr '\n' ' ')"
fi

The results:

== php:8.4.27-fpm
PHP version                        8.4.27 (NOT FIXED or end-of-life branch)
error_log                          stderr (timezone bug needs a file)
session.upload_progress.enabled    on
catch_workers_output               yes 
== php:8.4.28-fpm
PHP version                        8.4.28 (fixed)
error_log                          stderr (timezone bug needs a file)
session.upload_progress.enabled    off
catch_workers_output               yes 
== php:8.5.12-fpm
PHP version                        8.5.12 (NOT FIXED or end-of-life branch)
error_log                          stderr (timezone bug needs a file)
session.upload_progress.enabled    on
zend.exception_ignore_args         off (8.5 backtrace bug condition met)
catch_workers_output               yes 

Four things stand out:

  • The patch changes a default. session.upload_progress.enabled read on in 8.4.27 and 8.5.12, and off in 8.4.28 and 8.5.13, with no php.ini in either image. Both session deserialization CVEs list upload progress as their way in. If an app relies on upload progress bars from PHP sessions, they stop working after this update until you set it back on.
  • The images log to stderr. That rules out the timezone bug's file-based error_log condition unless you configured a log file.
  • catch_workers_output = yes is set by the image. It comes from the docker.conf that docker-library's Dockerfile writes. The PHP-FPM master runs as root in the image: I checked a running php:8.4.28-fpm container and the master process belonged to root while the pool workers ran as www-data. That's the escalation path CVE-2026-129291 describes, from code in a worker to code as the master. It isn't remote. It matters after something else has already gone wrong.
  • The images ship no php.ini. Only php.ini-development and php.ini-production templates are included, so PHP's built-in defaults apply. On 8.5 that leaves zend.exception_ignore_args off, which is the condition for CVE-2026-129474. PHP's own description says "php.ini-production enables zend.exception_ignore_args, which prevents this." Copying the production template into place is good practice anyway:
# Use the default production configuration
RUN mv "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini"

That's the official image documentation's own example, which says it is "strongly recommended to use the production config" for production.

The images were patched the same day

This is the good news. Docker Hub pushed php:8.4.28-fpm at 15:23 UTC on November 19, and 8.5.13-fpm, 8.3.37-fpm and 8.2.36-fpm followed by 18:58 UTC. The wordpress images were rebuilt on top of them:

Image PHP WordPress
wordpress:latest 8.3.37 7.1.5
wordpress:php8.4-fpm 8.4.28 7.1.5

A docker compose pull && docker compose up -d gets both fixes at once. If you pin to a full PHP version like php:8.4.27-fpm, you have to change the tag yourself.

Distro packages are mixed. Debian shipped fixed packages: php8.4 8.4.28 for Debian 13 (DSA-6641-1) and php8.2 8.2.36 for Debian 12 (DLA-4916-1). When I checked Ubuntu's CVE data for the smuggling bug on November 19, php8.3 on 24.04 and php8.1 on 22.04 were both marked "needs triage." Ubuntu 22.04's php8.1 is an upstream end-of-life branch, so any fix there has to come from Canonical. The epoll CVE explicitly lists 8.1.20 through 8.1.34 as affected.

We recommend reading PHP 8.6 Finally Turns On the Session Settings You Were Told to Set in 2006 to continue reading our selection of content. PHP 8.6.0 shipped the same day with these fixes included, and that piece covers what else changed in its defaults.

PHP 8.6 Finally Turns On the Session Settings You Were Told to Set in 2006 PHP 8.6 ships November 19, 2026 with secure session defaults, a php://filter chain limit, mysqli::quote_string(), and partial application. SudoSecurity · Santhdium

WordPress 7.1.5

The WordPress release post lists 20 security items. Two are hardening changes: a JSON media-type regex fix and the removal of the dead Imgur embed. Four are marked unauthenticated in the release notes:

Issue Who can trigger it
Privilege escalation via Template Part block attributes that "could lead to remote code execution" Unauthenticated
Stored XSS via shortcode attributes in comments Unauthenticated
Denial of service via batched XML-RPC pingbacks Unauthenticated
Private taxonomy terms exposed via the REST API search endpoint Unauthenticated

The rest either name a minimum role, from Subscriber to Administrator, or carry no label. They include two SQL injections, one in WP_Meta_Query and one through Customizer changeset previews. Two of the fixes, the media library popup XSS and the taxonomy disclosure, are credited to Anthropic.

What makes WordPress different from PHP is the backports. When I queried WordPress.org's update API on November 19, it was offering security releases for 25 branches, from 7.1.5 back to 4.7.40. Sites with background updates on, the default for minor releases, should already have it. Check under Dashboard → Updates, or with WP-CLI:

wp core version

WordPress 7.2 is planned for December 8.

What to Do, in Order

  1. Update PHP. Pull the new image, apt upgrade, or ask your host. The fixed versions are 8.2.36, 8.3.37, 8.4.28, 8.5.13 and 8.6.0. 8.1 and older get nothing from upstream.
  2. Check fastcgi_keep_conn and enablereuse. If either is on, the smuggling fix is urgent, not routine.
  3. Use php.ini-production in your image if you aren't already.
  4. Confirm WordPress reports 7.1.5, or your branch's backport.
  5. Check upload progress. If something on your site used it, turn session.upload_progress.enabled back on deliberately, on a patched PHP.

What This Doesn't Cover

I didn't reproduce any of the bugs, and this article leaves out how to trigger them. The conditions come from PHP's own CVE descriptions. My checks only read settings and versions in the official images. I tested php FPM images and the wordpress images, not Apache mod_php builds, LiteSpeed, or hosting control panels, which set their own defaults.

I didn't audit WordPress plugins. Patchstack notes that the stream wrapper bugs can reach plugins that fetch remote URLs with file_get_contents() instead of wp_remote_get(), but I didn't check any.

The Actual Point

Most of this month's PHP 9.2s depend on settings, and the official Docker images match some of those settings and not others. They log to stderr, which avoids the timezone bug. They turn on worker output capture and ship no php.ini, which match the epoll condition and, on 8.5, the backtrace one.

The images were patched within hours. So were Debian's packages, and WordPress backported to 25 branches. If you run containers, pull. If you run nginx with fastcgi_keep_conn on, don't wait.

For the WordPress side of the story, Why I Switched from WordPress to Ghost for CoderOasis is the long version of how much upkeep a WordPress site takes.

CVE descriptions and conditions are quoted from PHP's records on NVD, filed by security@php.net, and the fixed-version lists are from the PHP 8 ChangeLog. Patchstack's PHP breakdown was used to cross-check the severity counts. WordPress details are from the WordPress 7.1.5 release post, and the branch count is from the WordPress.org version-check API. The nginx default is from the nginx FastCGI module documentation. The catch_workers_output setting is from docker-library's PHP Dockerfile, and the php.ini-production line is reproduced from the official image documentation. Distro status is from the Debian security tracker and Ubuntu's CVE data. The check script is original code using PHP's ini_get() and php-fpm -tt. It and the image checks were run on November 19, 2026 against images pulled from Docker Hub that day, and every output is reproduced from those runs.

$ tail -f /forums

Discussion

Comments live on the community forums — sign in there to reply.