PHP 8.5.13 and 8.4.28 security release: 17 fixes, am I affected?
PHP 8.5.13, 8.4.28, 8.3.37 and 8.2.36 shipped November 19. 8.5.13 fixes 17 advisories, 7 critical, apart from October's PHP2Shell. Check your version.
PHP 8.5.13, 8.4.28, 8.3.37 and 8.2.36 came out on 2026-11-19. The ChangeLog lists 17 GHSA entries for 8.5.13, 14 for 8.4.28, 13 for 8.3.37 and 12 for 8.2.36. The October 21 PHP2Shell pair (CVE-2026-109618 and 109619) is another post with different numbers, but the advisories for CVE-2026-129182 and 129481 describe themselves as follow-ups to that fix. The 11/18 pre-announcement said CRITICAL issues require non-default configuration or uncommon setups.
[1] Check the PHP you run with php -v and php-fpm -v. The command-line php and the web-facing php-fpm are separate binaries. Fixed versions by branch: 8.5.13, 8.4.28, 8.3.37, 8.2.36.
[2] Skim the 17 entries. Severity (CVSS v4.0) and affected versions are the values in php-src's security advisories; "affects" means below the branch's fixed version (for 8.2 the advisories say < 8.2.36). Conditions are shortened advisory sentences, not the full text. Matching a condition does not mean you were compromised, and not matching is no reason to skip the upgrade.
| CVE | Severity | Affects | What · what to look at (ChangeLog title shortened) |
|---|---|---|---|
| CVE-2026-129474 | critical 9.2 | 8.5 | magic method backtraces UAF: fatal_error_backtraces=1 and zend.exception_ignore_args=0 |
| CVE-2026-129182 | critical 9.2 | 8.5 | last_fatal_error_backtrace UAF: global and per-path settings that overlap |
| CVE-2026-129496 | critical 9.2 | 8.2-8.5 | Timezone cache UAF: file error_log, NTS build |
| CVE-2026-129289 | critical 9.2 | 8.2-8.5 | PHP-FPM request smuggling: app does not read php://input to the end |
| CVE-2026-126714 | critical 9.2 | 8.2-8.5 | Partially overwritten session files: session.save_handler=files (default) |
| CVE-2026-115560 | critical 9.2 | 8.2-8.5 | Session serializer mismatch: upload progress plus mixed session formats |
| CVE-2026-129481 | critical 9.2 | 8.3-8.5 | Interrupted session shutdown UAF: app callback during session teardown |
| CVE-2026-129291 | high 8.8 | 8.2-8.5 | PHP-FPM epoll UAF (local privilege escalation): catch_workers_output |
| CVE-2026-128064 | high 8.2 | 8.2-8.5 | Mixed-case HTTPS and FTPS URLs |
| CVE-2026-127960 | high 8.7 | 8.2-8.5 | Folded HTTP response headers DoS |
| CVE-2026-128090 | high 7.7 | 8.2-8.5 | PHAR OpenSSL signature bypass |
| CVE-2026-129538 | medium 6.9 | 8.2-8.5 | PHP-CGI PATH_INFO out-of-bounds |
| CVE-2026-129292 | medium 5.3 | 8.2-8.5 | FPM status endpoint XSS: full HTML status page |
| CVE-2026-129506 | medium 6.3 | 8.2-8.5 | SOAP UAF (DTD entity references) |
| CVE-2026-15353 | medium 6.3 | 8.2-8.5 | SOAP information disclosure |
| CVE-2026-129501 | medium 6.3 | 8.4-8.5 | DOM XML serialization double free |
| CVE-2026-129438 | medium 6.3 | 8.5 | RFC 3986 URI serialization |
The three entries that affect 8.5 only do not apply to 8.4 or older, so moving to 8.4.28 fixes 14 entries, not 17. For older branches, the advisories for CVE-2026-129291 and CVE-2026-127960 list up to 8.1.34 as affected and name no fixed version; this post makes no claim about other older branches (support schedule · upload_progress setting).
[3] Read the settings. This image has no php.ini.
$ php -i | grep -E '^(fatal_error_backtraces|zend.exception_ignore_args|session.upload_progress.enabled|session.serialize_handler|session.save_handler) =>'fatal_error_backtraces => On => Onzend.exception_ignore_args => Off => Offsession.save_handler => files => filessession.serialize_handler => php => phpsession.upload_progress.enabled => Off => OffUsing the official image as is, without a php.ini, already meets both conditions of CVE-2026-129474 (the advisory says php.ini-production sets the second to 1, which blocks that path). Read the web-facing values with php-fpm -i, and check pool files directly for php_admin_value overrides.
[4] Upgrade. With official images, pull the tag again. Distribution packages cannot be judged by number (how) and only move after the distribution ships a fix. On 11/20 only CVE-2026-129289 was checked: the Debian tracker lists php8.4 8.4.28-1~deb13u1 on trixie and php8.2 8.2.36-1~deb12u1 on bookworm as fixed, while Ubuntu shows "Needs evaluation" for php8.3 on 24.04, php8.1 on 22.04 and php8.5 on 26.04. Other CVEs and RHEL-family systems were not checked.
[5] Restart and verify. A restart can cut requests in flight. On a single server do it in a quiet period; with several, take one out of the load balancer at a time.
1. Before upgrading, write down the current version (package version, image tag) and copy any config you will change with cp -a <file> <file>.bak. 2. Test the configuration first with php-fpm -t. 3. Restart the service. If it fails, go back to the version you wrote down, but that version still has the vulnerabilities, so decide how to reduce exposure separately.
php -v reports a freshly started CLI process, so it does not show whether the running FPM workers were replaced. After the restart, check php-fpm -v (the binary on disk), the master process start time with ps lstart (is it after the upgrade?), and, if you enabled the status page, its start time. These three are general usage and were not run here (needrestart post).
Compare the CLI version against the fixed version for its own branch. This is the result on the pre-fix 8.5.12 image; the 8.5.13 and 8.4.28 images printed true (run/08-*).
$ php -r '$f = ["8.5" => "8.5.13", "8.4" => "8.4.28", "8.3" => "8.3.37", "8.2" => "8.2.36"]; $b = PHP_MAJOR_VERSION . "." . PHP_MINOR_VERSION; echo PHP_VERSION, " ", $f[$b] ?? "none", "\n"; var_dump(isset($f[$b]) && version_compare(PHP_VERSION, $f[$b], ">="));'8.5.12 8.5.13bool(false)Temporary mitigations for servers you cannot upgrade are not covered, because the workaround sections of the advisories were not read. Check the GHSA for the entry in question.