Threats

PHP emergency security release fixes 17 flaws, 7 rated Critical (CVE-2026-115560, CVE-2026-129289 and more): update to 8.5.13 / 8.4.28 / 8.3.37 / 8.2.36

PHP 8.5.13, 8.4.28, 8.3.37 and 8.2.36 are out. PHP says its seven Critical issues need non-default configuration or uncommon setups, but those conditions do occur on real sites. Check the PHP versions and settings you and your contractors run, and update to a fixed release.

Published10 min read

Photo: Pixabay / Pexels

Key points for company leaders

This article reflects information available shortly after midnight on 20 November 2026 (Japan time). PHP's fixed releases came out late on 19 November Japan time, and the status at operating-system vendors and hosting providers will change over the coming days. Check the sources at the end for the latest.

  • What happened

    On 19 November PHP released security updates 8.5.13, 8.4.28, 8.3.37 and 8.2.36, along with the new 8.6.0. PHP 8.5.13 fixes 17 php-src security advisories. PHP rates seven of them Critical (CVSS 4.0 9.2) and four High.[1][2][3]

  • Who is affected

    Every supported branch (8.2 to 8.5) is affected. Most of the Critical issues involve the session feature, PHP-FPM (the process manager that runs PHP behind web servers such as nginx) and error handling. Some affect only 8.3 and later, or only 8.5. Branches that are out of support, 8.1 and older, get no fix.[2][4][5][6]

  • Why it is urgent

    WordPress and EC-CUBE, common on Japanese company websites, run on PHP, and so do many contact forms and member sites. PHP says each Critical issue requires non-default configuration or an uncommon setup. But some of those conditions include a common nginx performance setting or PHP's default session storage.[7][8][9]

  • What to do today

    Ask your own IT and your contractors (web agency, hosting provider, cloud) which PHP version you run and whether PHP-FPM is in use. If you can update to a fixed release (8.5.13 / 8.4.28 / 8.3.37 / 8.2.36, or a fixed distribution package), do so and restart PHP-FPM or the web server. If you cannot update yet, apply the interim mitigations below, such as turning off session upload progress and keeping nginx `fastcgi_keep_conn` off.[1][10][8]

What the flaws are

In its 18 November pre-announcement, PHP said the highest severity in this release is CRITICAL and that each Critical issue requires either non-default configuration or an uncommon setup. In other words, this is not a case of every PHP site being instantly takeover-able. But some of the flaws need no login, and some of the conditions involve common settings, so you need to check whether your setup matches.[7]

Here is a summary of the seven Critical issues, based on PHP's security advisories on GitHub. We do not publish attack steps.

  • CVE-2026-129289: PHP-FPM request smuggling

    Unread bytes of a request body can be treated by PHP-FPM as a separate request, letting an unauthenticated attacker run PHP code. It requires the web server to reuse its connection to PHP-FPM (for example nginx `fastcgi_keep_conn on` or Apache `enablereuse=on`) and an application path that does not read the body to the end. nginx's default is off.[8][15]

  • CVE-2026-115560: session serializer mismatch

    Session upload progress (on by default) can write data in one session format that is later read in another, letting attacker data be restored as objects. It arises, for example, when apps or pools share session storage with different serializer settings, and code execution needs suitable classes in the application.[10]

  • CVE-2026-126714: partially overwritten session files

    With PHP's default session storage (the files handler), an interrupted write can leave a file mixing old and new data, so the next read may restore attacker-supplied objects. It needs influence over session contents, a way to interrupt the write, and suitable classes in the application.[9]

  • CVE-2026-129496: timezone cache use-after-free

    If a startup diagnostic, such as a configuration warning, is written to PHP's error log file, a freed timezone cache can be left behind. A crafted request can then crash a worker and may lead to code execution. Servers that emit startup warnings from misconfigured or deprecated settings can be in scope.[16]

  • CVE-2026-129481: interrupted session shutdown

    If session shutdown is interrupted by a fatal error, the next request can touch freed memory. It is an incomplete fix for October's PHP2Shell (CVE-2026-109619) and affects 8.3 and later. Code execution through this path has not been demonstrated.[5]

  • CVE-2026-129474 / CVE-2026-129182: error handling in 8.5

    Two issues in 8.5's new fatal-error backtraces, fixed only in 8.5.13 (and 8.6.0). With `zend.exception_ignore_args=0`, 129474 can allow code execution through a crafted request; the production template (php.ini-production) sets it to 1, the safe value. 129182 needs a specific combination of settings, and code execution has not been demonstrated.[6][17]

Figure 1

What has to be true for CVE-2026-129289 (PHP-FPM) (conceptual)

If the web server reuses its PHP-FPM connection and the application can leave a request body unread, an unauthenticated attacker may be able to run PHP code. Turning connection reuse off closes this path.

  1. 1. Reachable

    The attacker can send requests to the site. No login is needed

  2. 2. Connections are reused

    nginx `fastcgi_keep_conn on`, Apache `enablereuse=on` and similar (nginx defaults to off)

  3. 3. A body is left unread

    The app opens `php://input` without reading it to the end

  4. 4. A forged request

    PHP-FPM mistakes the leftover bytes for a new request and may run PHP code

Note: We do not publish exploit code or reproduction steps. This only lays out the conditions. Sources: PHP advisory GHSA-qc49-hpvq-g2w6 and the nginx documentation.

Source: [8], [15]

Affected and fixed versions

There is one fixed release per branch. PHP 8.6.0, released the same day, carries the same 17 fixes as 8.5.13. PHP 8.2 reaches the end of security support on 31 December 2026, so plan the move off it as well.[2][4]

Figure 2

Fixed release per branch, and which Critical issues apply

All of 8.2 to 8.5 are affected by the PHP-FPM and session Critical issues. 129481 applies from 8.3, and 129474 and 129182 apply only to 8.5.

Fixed release per branch, and which Critical issues apply
Fixed releaseFPM, session, timezone (4 issues)CVE-2026-129481CVE-2026-129474 / 129182
PHP 8.58.5.13AffectedAffectedAffected
PHP 8.48.4.28AffectedAffectedNot affected
PHP 8.38.3.37AffectedAffectedNot affected
PHP 8.2 (support ends 31 December)8.2.36AffectedNot affected (no such field)Not affected
PHP 8.1 and olderNo fix (out of support)Not assessed; upgrade——

Note: “Affected” means the branch's fixed release lists a fix for that CVE in the ChangeLog. Whether an attack actually works depends on each issue's preconditions. Sources: PHP ChangeLog and advisories.

Source: [2], [5], [6], [17]

Figure 3

PHP security advisories fixed in each release, by severity

8.5.13 fixes 17 (7 Critical, 4 High, 6 Medium), 8.4.28 fixes 14 (5 Critical, 4 High, 5 Medium), 8.3.37 fixes 13 (5 Critical, 4 High, 4 Medium) and 8.2.36 fixes 12 (4 Critical, 4 High, 4 Medium).

  • Critical (9.2)
  • High (7.7–8.8)
  • Medium (5.3–6.9)
Show the data as a table
PHP security advisories fixed in each release, by severity
Critical (9.2) (advisories)High (7.7–8.8) (advisories)Medium (5.3–6.9) (advisories)
8.5.13746
8.4.28545
8.3.37544
8.2.36444

Note: We counted the php-src advisories with CVEs listed in each branch's ChangeLog, using the severity PHP assigned in each advisory. The bundled uriparser update in 8.5.13 (CVE-2026-48841) is not included. 8.6.0 carries the same 17 as 8.5.13.

Source: [2], [3]

The four High issues affect every branch. CVE-2026-129291 (8.8) is a use-after-free in the PHP-FPM master: an attacker who can already run code in a worker may gain the master's privileges, which are often root. The advisory notes that PHP's official Docker FPM images enable the worker output capture (`catch_workers_output`) it relies on. CVE-2026-127960 (8.7) is a denial of service through folded HTTP response headers, CVE-2026-128064 (8.2) lets mixed-case HTTPS and FTPS URLs travel unencrypted, and CVE-2026-128090 (7.7) bypasses PHAR archive signature checks.[18][19][20][21]

Operating-system and package status

Ubuntu and Debian backport fixes without changing PHP's version number (Ubuntu 24.04, for example, stays on PHP 8.3.6). So the number from `php -v` alone does not tell you whether you are fixed; check the distribution's notice and the package version.

Figure 4

Status by distribution channel (early 20 November)

PHP's own fixed releases are available. When we checked, there was no Ubuntu PHP notice (USN), no Debian CVE record, and no fixed Homebrew or Docker Official Image build yet.

Status by distribution channel (early 20 November)
Latest buildThis fix
PHP upstream (php.net)8.5.13 / 8.4.28 / 8.3.37 / 8.2.36Fixed (released 19 November)
UbuntuNo PHP USN yetFix pending
DebianNo CVE record in Security TrackerFix pending
Homebrew (macOS)php 8.5.12Fix pending
Docker Official Image (php)Only 8.5.13RC1 tags for 8.5.13Final build pending

Note: These statuses can change within hours. Check each channel's own notices.

Source: [1], [22], [23], [24], [25]

How to check your own servers

These steps are for someone who can log into the server. The command-line PHP and the PHP serving the website (PHP-FPM or an Apache module) can differ in version and settings, so check the web side.

  1. Check the version. Run `php -v`, or for PHP-FPM a branch-specific binary such as `php-fpm8.3 -v`. For upstream PHP builds, 8.5.13 / 8.4.28 / 8.3.37 / 8.2.36 or later are fixed. For Ubuntu or Debian packages, judge by the package update (for example `apt list --installed 'php*'`) and the distribution's notice, not the PHP version number.[1]
  2. Check session upload progress. `php -i | grep session.upload_progress.enabled` shows the CLI value; for the web side, also search the configuration files (`php.ini`, FPM pool files, `.user.ini`), for example `grep -R -n 'upload_progress' /etc/php`. The current default is enabled (1).[26][10]
  3. If you use nginx, check whether it reuses connections to PHP-FPM. If `grep -R -n 'fastcgi_keep_conn' /etc/nginx` finds no `on`, it is at the default, off. For Apache, look for `enablereuse=on` on `mod_proxy_fcgi`.[15][8]
  4. On PHP 8.5, check `zend.exception_ignore_args` and `fatal_error_backtraces`. If `zend.exception_ignore_args` is 0 (Off), you meet a precondition of 129474.[6][17]
  5. Look in PHP's error log for startup warnings, such as an invalid `date.timezone` or deprecated settings. If there are any, you may meet a precondition of 129496.[16]

Today's interim mitigations, and the real fix

The real fix is to update to a fixed release and restart PHP-FPM (or Apache). The fixed releases also turn session upload progress off by default. Until you can update, the interim measures in each advisory reduce the main attack paths. After changing settings, restart PHP-FPM or the web server so they take effect.[10]

  • Turn off session upload progress: set `session.upload_progress.enabled = Off` in `php.ini` or the FPM pool configuration. Calling `ini_set()` from the application is too late. This closes the 115560 path and removes one input path for 126714 (it does not fix 126714 or 129481 themselves).[10][9][5]
  • Do not reuse PHP-FPM connections: keep nginx `fastcgi_keep_conn` off (the default) and leave Apache `enablereuse` disabled. Never expose the PHP-FPM listener directly to untrusted networks.[8][15]
  • On PHP 8.5, set `zend.exception_ignore_args = On`. Setting `fatal_error_backtraces = 0` also blocks 129474 and is the interim measure for 129182.[6][17]
  • Remove startup warnings: fix configuration errors and deprecated settings, then restart the PHP master and all workers. Sending PHP errors to syslog also avoids the demonstrated trigger (129496).[16]
  • Turn off PHP-FPM worker output capture: disable `catch_workers_output` in the pools (129291).[18]

Figure 5

Decision path

Check whether you run PHP, which version, and whether PHP-FPM reuses connections. If unpatched, apply the interim mitigations; when a fix arrives, update and restart.

  1. Do you run PHP?

    Include contractor-run sites, internal tools and Docker images

    No

    Out of scope. Record that on the inventory

    Next

  2. Is it a fixed release?

    8.5.13 / 8.4.28 / 8.3.37 / 8.2.36 or later, or a fixed distribution package

    Already fixed

    Confirm PHP-FPM or the web server was restarted, then you are done

    Next

  3. Apply interim mitigations

    Upload progress off, connection reuse off, and on 8.5 `zend.exception_ignore_args=On`

    Next

  4. Update and restart

    Update as soon as a fix is available, then restart PHP-FPM or the web server

Note: Interim mitigations only buy time. Only the update fixes all 17 issues.

Source: [1], [10], [8], [6]

Figure 6

Timeline of confirmed facts

PHP pre-announced the release on 18 November and published the fixed releases and 17 advisories late on 19 November Japan time. As of early 20 November, Ubuntu and Debian had not shipped fixes.

  • Vendor
  • Japan
  • Distribution status
  1. 18 November 2026 · Vendor

    PHP pre-announces a critical security release

    Highest severity CRITICAL; the Critical issues need non-default configuration or uncommon setups.

  2. 19 November 2026 · Japan

    IPA publishes a request to prepare

  3. Late 19 November 2026 (Japan time) · Vendor

    8.5.13 / 8.4.28 / 8.3.37 / 8.2.36 and 8.6.0 released, with 17 advisories

  4. Early 20 November 2026 (Japan time) · Distribution status

    No Ubuntu USN, Debian record or fixed Homebrew build yet

    Environments that use OS packages need the interim mitigations and should watch for distribution updates.

Note: PHP's announced window was 14:00–14:30 UTC on 19 November, which is 23:00–23:30 Japan time. Advisory times follow GitHub's records.

Source: [7], [14], [1], [3], [22], [23]

Frequently asked questions

Printable checklist

  • Identified everything running on PHP across our and our contractors' public sites, forms, member sites and internal tools
  • Recorded each site's PHP branch and version, and whether PHP-FPM is used
  • Updated to a fixed release (8.5.13 / 8.4.28 / 8.3.37 / 8.2.36, or a distribution package) and restarted PHP-FPM or the web server
  • As interim steps, turned off `session.upload_progress.enabled` and confirmed `fastcgi_keep_conn` and `enablereuse` are off (and `zend.exception_ignore_args=On` on 8.5)
  • Set a migration plan for sites on PHP 8.1 or older, and on 8.2, whose support ends on 31 December
  • Asked the hosting provider, web agency or cloud provider for their status in writing

How ZeroKai can help

The first stumbling block is not knowing which of your websites and forms are visible from outside. ZeroKai takes your domain, lists host names recorded in Certificate Transparency logs and highlights names that look like admin screens or test environments. For ownership-verified domains it also shows exposed services observed by Shodan, and the console lets you browse CISA's KEV catalog, so you can see if these flaws are added later.

Sources

Numbers in [brackets] in the text refer to these sources. Links checked on 13 October 2026.

  1. [1]PHP, PHP 8.5.13 Released! (8.4.28, 8.3.37, 8.2.36 and 8.6.0 the same day), 19 November 2026
  2. [2]PHP, PHP 8 ChangeLog, 19 November 2026
  3. [3]PHP (GitHub), php-src Security Advisories, 19 November 2026
  4. [4]PHP, Supported Versions, 19 November 2026
  5. [5]PHP (GitHub), Use-after-free after interrupted session shutdown (GHSA-g3vh-838c-65v7, CVE-2026-129481), 19 November 2026
  6. [6]PHP (GitHub), Use-after-free in magic method backtraces can lead to remote code execution (GHSA-8mjj-2r7p-4hg2, CVE-2026-129474), 19 November 2026
  7. [7]PHP, Upcoming Critical PHP Security Release, 18 November 2026
  8. [8]PHP (GitHub), PHP-FPM request smuggling through an unread HTTP request body (GHSA-qc49-hpvq-g2w6, CVE-2026-129289), 19 November 2026
  9. [9]PHP (GitHub), Partially overwritten session files can lead to remote code execution (GHSA-fm2m-fjf5-v3cp, CVE-2026-126714), 19 November 2026
  10. [10]PHP (GitHub), Session serializer mismatch can lead to remote code execution (GHSA-658j-r8rw-q6mx, CVE-2026-115560), 19 November 2026
  11. [11]US CISA, Known Exploited Vulnerabilities Catalog, 18 November 2026
  12. [12]JPCERT/CC, Alerts 2026 (Japanese), 11 November 2026
  13. [13]JVN, Japan Vulnerability Notes VU list, 19 November 2026
  14. [14]IPA, Request to prepare: upcoming PHP security release, November (Japanese), 19 November 2026
  15. [15]nginx, Module ngx_http_fastcgi_module: fastcgi_keep_conn, 19 November 2026
  16. [16]PHP (GitHub), Timezone cache use-after-free can lead to remote code execution (GHSA-gr4f-wgx5-jpfv, CVE-2026-129496), 19 November 2026
  17. [17]PHP (GitHub), Use-after-free via repopulation of last_fatal_error_backtrace global after shutdown (GHSA-2fjv-p558-g82m, CVE-2026-129182), 19 November 2026
  18. [18]PHP (GitHub), PHP-FPM epoll use-after-free can lead to local privilege escalation (GHSA-jm4m-qfqx-967m, CVE-2026-129291), 19 November 2026
  19. [19]PHP (GitHub), Denial of service through folded HTTP response headers (GHSA-mmf9-xm3v-hg2x, CVE-2026-127960), 19 November 2026
  20. [20]PHP (GitHub), Mixed-case HTTPS and FTPS URLs can expose data in plaintext (GHSA-f6gg-rchx-xw8j, CVE-2026-128064), 19 November 2026
  21. [21]PHP (GitHub), PHAR OpenSSL signature bypass via algorithm downgrade (GHSA-68fq-fh7h-f8gr, CVE-2026-128090), 19 November 2026
  22. [22]Ubuntu, Ubuntu Security Notices (no PHP notice as of early 20 November), 19 November 2026
  23. [23]Debian, Security Tracker: CVE-2026-129289, 19 November 2026
  24. [24]Homebrew, php (Homebrew Formulae), 19 November 2026
  25. [25]Docker Hub, php (Docker Official Image tags), 19 November 2026
  26. [26]PHP, PHP Manual: Session runtime configuration, 19 November 2026

Terms and questions from this article

Before you check PHP, find every website you expose

Enter your domain and create an account to start a free passive assessment right away. It is free for one ownership-verified domain, and ZeroKai never contacts your servers.

After you create an account, you can start an assessment right away.

Newsletter

Japan-focused cybersecurity news that could affect companies like yours, in plain language. Twice a week, Mondays and Wednesdays.

No spam. Unsubscribe anytime. Privacy Policy