PHP CVE-2026-115560 Fixed: Seven Critical Flaws and How to Upgrade
PHP 8.2.36, 8.3.37, 8.4.28 and 8.5.13 fix CVE-2026-115560 and six other critical flaws in sessions, PHP-FPM and the engine. Here's who should upgrade first, how to do it on each setup, and which stopgaps cover what.

Update (November 19, 2026): PHP has released 8.2.36, 8.3.37, 8.4.28 and 8.5.13, plus the new 8.6.0. The update fixes up to 17 security advisories per branch, seven rated critical, including PHP CVE-2026-115560.
PHP CVE-2026-115560 is now fixed in PHP 8.2.36, 8.3.37, 8.4.28 and 8.5.13, which the PHP project released on November 19, 2026. According to PHP's GitHub advisories, the same releases close six more critical flaws, mostly in sessions, PHP-FPM and engine memory handling. Teams running PHP-FPM behind a front end that reuses FastCGI connections, or PHP 8.5 in production, should upgrade first.
Scope: every supported branch (8.2 to 8.5) gets fixes, but not every flaw reaches every branch. PHP 8.5 gets the most. PHP 8.1 and older get nothing from the project.
What PHP fixed on November 19, 2026
PHP's announcements call each of the four branch releases "a security release" and encourage all users of that branch to upgrade. PHP 8.6.0, the new feature release, shipped the same day. Its changelog lists the same security fixes.
The headline count depends on what you count. By our count of the 8.5.13 changelog, that release fixes 17 GitHub security advisories (GHSAs). The Hacker News reported "7 critical flaws", which matches the seven advisories PHP scored 9.2. An eighth, CVE-2026-129291 in PHP-FPM, is rated high at 8.8. The other nine are lower-severity bugs such as cross-site scripting (XSS), information leaks and denial of service.
Some of this round traces back to October's PHP2Shell fixes. PHP says CVE-2026-129182 covers "further scenarios" left after the fix for CVE-2026-109619. CVE-2026-109618 and CVE-2026-109619 themselves were fixed on October 21 in 8.2.35, 8.3.36, 8.4.27 and 8.5.12, and they are separate flaws. Our PHP2Shell patches for PHP web servers guide covers that round.
Is anyone exploiting these PHP flaws?
Exploitation in the wild is not confirmed. None of the PHP advisories ByteMuni read reports attacks. Upwind, a cloud security vendor, said none of the seven critical flaws was in CISA's Known Exploited Vulnerabilities (KEV) catalog on November 19. ByteMuni could not load the KEV catalog when it checked on November 19, 2026.
Several attack chains were demonstrated in research. PHP's advisory for CVE-2026-129291 says root command execution was reproduced from a www-data worker on unmodified PHP 8.5.12 Docker images. Upwind says third-party proof-of-concept code for PHP CVE-2026-115560 has been on GitHub since late October; PHP did not publish it. depthfirst, the security firm that found CVE-2026-126714, published only a demo video and is holding back exploit details.
The eight advisories rated critical and high
| CVE | Bug type | What an attacker needs | Branches | Fixed in | CVSS v4 |
|---|---|---|---|---|---|
| CVE-2026-115560 | Session serializer mismatch | Upload progress on, session data read back with a different serializer, plus a gadget chain | 8.2–8.5 | All four | 9.2* |
| CVE-2026-126714 | TOCTOU in session file writes | Default files handler, an interrupted write, influence over session data, a gadget chain | 8.2–8.5 | All four | 9.2* |
| CVE-2026-129289 | PHP-FPM request smuggling | Front end that reuses FastCGI connections; app opens php://input without reading it all | 8.2–8.5 | All four | 9.2 |
| CVE-2026-129496 | Use-after-free, timezone cache | Non-thread-safe build, startup warning logged to a file, early warning in a new worker | 8.2–8.5 | All four | 9.2* |
| CVE-2026-129481 | Use-after-free, session shutdown | Fatal error in a callback during session cleanup, next request on the same worker | 8.3–8.5 | 8.3.37, 8.4.28, 8.5.13 | 9.2 |
| CVE-2026-129474 | Use-after-free, magic-method backtraces | Fatal error while entering __call()/__callStatic(), with zend.exception_ignore_args=0 | 8.5 only | 8.5.13 | 9.2* |
| CVE-2026-129182 | Use-after-free, fatal-error backtrace | Per-path memory or zlib settings plus a diagnostic in a later request | 8.5 only | 8.5.13 | 9.2 |
| CVE-2026-129291 | Use-after-free, FPM epoll (local privilege escalation) | Code running in a worker, catch_workers_output on, Linux | 8.2.7+ to 8.5 | All four | 8.8 (high) |
Scores are CVSS v4 base scores that the PHP security team published in its GitHub advisories. ByteMuni read four of those advisories directly. GitHub would not load the other four (marked *) during our check, so those scores are as reported by The Hacker News, and depthfirst reports the same 9.2 for CVE-2026-126714. Branch coverage comes from each release's NEWS file in the php-src repository.

Fixed PHP versions by branch
| Branch | Fixed version | GHSAs fixed (by our count) | PHP support status |
|---|---|---|---|
| 8.5 | 8.5.13 | 17 | Active support to Dec 31, 2027 |
| 8.4 | 8.4.28 | 14 | Active support to Dec 31, 2026 |
| 8.3 | 8.3.37 | 13 | Security fixes only, to Dec 31, 2027 |
| 8.2 | 8.2.36 | 12 | Security fixes only, to Dec 31, 2026 |
| 8.6 | 8.6.0 (new release) | Same fixes in its changelog | New feature branch |
| 8.1 and older | None | — | End of life |
PHP's supported versions page warns that end-of-life branches may be exposed to unpatched security vulnerabilities. Some commercial long-term support vendors ship their own backports, outside PHP's releases.
What changed about PHP CVE-2026-115560 since October?
In October, PHP described PHP CVE-2026-115560 as a narrow case: an app that switched session.serialize_handler with ini_set() before session_start(). The final advisory is wider. Upwind's summary, which other write-ups match, says no ini_set() call is needed. A shared session store is enough when another app, FPM pool, virtual host or CLI job reads it with a different serializer.
The chain works like this. PHP writes upload-progress data into the session while it parses a multipart upload. A second reader decodes that data in a different format. In PHP's words, "a mismatched decoder can interpret part of a session key as serialized object data." With a suitable gadget chain, that object runs code as the PHP worker. Upwind says command execution is documented with Guzzle and Monolog gadgets.
The fix changes two behaviors. ByteMuni checked the php-src release tags: all four releases set the built-in default for session.upload_progress.enabled to 0. With upload progress switched on, PHP now throws an error on runtime changes to session settings, including ini_set('session.*') and session_name(). An explicit On in your php.ini still overrides the new default.
Use-after-free, TOCTOU and request smuggling in plain words
A use-after-free happens when code frees a block of memory but keeps a pointer to it. A later step uses that pointer after other data has taken the space. If an attacker shapes that new data, reads and writes land in memory they control. Five of the eight bugs are this type, and most need a reused worker to carry stale state into the next request.
A time-of-check to time-of-use (TOCTOU) bug is a race between two steps. In CVE-2026-126714, depthfirst found that the file session handler rewrites a session file in place. A worker killed mid-write can leave a new start glued to an old tail. Crafted leftovers can then decode as new session keys or objects.
Request smuggling, or desync, is when two servers disagree on where one request ends. PHP's advisory for CVE-2026-129289 says PHP-FPM skipped unread body bytes and could treat them as a new FastCGI request. The front end never sent that request. The forged request could set PHP_ADMIN_VALUE and run attacker input as PHP.
Who needs to act first
PHP-FPM behind nginx, Apache or HAProxy with FastCGI connection reuse (
fastcgi_keep_conn on,enablereuse=on). PHP says standard setups that close the connection after each request are not affected by the demonstrated attack.Shared hosting and multi-app servers where several apps, pools or cron jobs share one session directory, the setup PHP CVE-2026-115560 needs.
PHP 8.5 in production, which gets all 17 fixes, including two engine bugs no other branch has.
Official PHP-FPM Docker images. PHP says they enable
catch_workers_output, which CVE-2026-129291 needs. Our PHP2Shell Docker update and rollout checks apply here too.
How to upgrade PHP now
Check what serves web requests, not just the CLI:
php -v systemctl list-units --type=service 'php*' php -i | grep -E 'upload_progress.enabled|serialize_handler'Debian or Ubuntu: upgrade only the PHP packages, then confirm the package version:
sudo apt update apt list --upgradable 2>/dev/null | grep -i php sudo apt install --only-upgrade 'php8.3*' dpkg -l | grep php8.3-fpmDistro builds backport fixes and keep their own version numbers. Ubuntu's October PHP2Shell fix for 24.04 shipped as
8.3.6-0ubuntu0.24.04.13, sophp -vwill not show 8.3.37. Match the package against your distro's security notice. ByteMuni found no distro notice for the November fixes when it checked on November 19, 2026.Ondřej Surý's repositories (packages.sury.org and his Launchpad PPA): CyberQ, a Taiwanese security site, reports 8.4.28 appeared there on release night. Run the same
aptsteps. For background, see the volunteer behind those packages.RHEL, AlmaLinux or Rocky Linux: run
sudo dnf upgrade 'php*'andrpm -q php-fpm, and check your vendor's errata before assuming a fix.Docker: CyberQ reports the official images lacked 8.4.28 on release night. Rebuild once the tag updates, then confirm:
docker build --pull --no-cache -t myapp . docker run --rm myapp php -vShared hosting (cPanel, Plesk and similar): pick the new version in your panel's PHP selector, or ask your host when it will roll out.
Restart PHP-FPM or Apache so the new binary serves requests, then confirm the version through a web request:
sudo systemctl restart php8.3-fpm sudo systemctl restart apache2
If your app uses upload progress bars and your php.ini sets the feature On, test any code that changes session settings at runtime. It will now throw an error.
If you can't upgrade today
The session.upload_progress.enabled=0 setting from October covers only part of this release. Per Upwind's analysis, it covers PHP CVE-2026-115560, removes one input path for CVE-2026-126714, and does nothing for the other six. PHP's advisory for CVE-2026-129481 says so directly: disabling upload progress "does not address this path."

| CVE | Stopgap | Trade-off or trap |
|---|---|---|
| CVE-2026-115560 | session.upload_progress.enabled=0 in php.ini or the FPM pool, then restart | Upload progress bars stop updating; ini_set() and .user.ini don't work |
| CVE-2026-126714 | Upload progress off (partial) | Apps storing user input in file sessions stay exposed; upgrade |
| CVE-2026-129289 | fastcgi_keep_conn off (nginx) or enablereuse off (Apache) | Loses backend connection reuse; PHP says reading php://input fully is not a reliable fix |
| CVE-2026-129496 | Fix startup warnings (for example an invalid date.timezone) or log to syslog; restart master and workers | Recycling workers alone does not help |
| CVE-2026-129481 | pm.max_requests=1 | Performance cost, PHP warns |
| CVE-2026-129474 | zend.exception_ignore_args=On (the php.ini-production value) | Installs with no php.ini leave it off |
| CVE-2026-129182 | fatal_error_backtraces=0, then restart all workers | Fatal errors lose their backtraces |
| CVE-2026-129291 | catch_workers_output = no; run the FPM master without root | Worker output no longer reaches the FPM log; non-root only limits the damage |
For how fast October's flaws drew scanning, see PHP2Shell exploit attempts hit millions.
My take: several of these bugs exist because state from one request survives into the next on a reused worker, the same root cause as PHP2Shell. My read is that FPM worker settings and session storage deserve the same review as the PHP version number. Separate session directories per app and per FPM pool cost almost nothing and close the cross-reader path behind CVE-2026-115560.
Frequently asked questions
Which PHP version fixes CVE-2026-115560?
PHP 8.2.36, 8.3.37, 8.4.28 and 8.5.13 fix it, and the new PHP 8.6.0 lists the same fix in its changelog. Distro packages backport fixes under their own version numbers, so check your distro's security notice.
Is CVE-2026-115560 being exploited?
Exploitation in the wild is not confirmed. Upwind reported none of the seven critical flaws in CISA's KEV catalog on November 19, 2026, though it says third-party proof-of-concept code for CVE-2026-115560 has been public since late October.
Why does The Hacker News say seven flaws when there are eight CVEs?
PHP scored seven advisories critical at 9.2. The eighth, CVE-2026-129291 in PHP-FPM, is a high-severity (8.8) local privilege escalation, and the releases also fix lower-severity bugs.
Do I need ini_set() to be exposed to CVE-2026-115560 now?
No. The October notice described a runtime handler switch, but the final advisory, as summarized by Upwind, says a shared session store read by apps, pools or CLI jobs with different serializers is enough.
Will upgrading break my upload progress bars?
It might. All four releases turn upload progress off by default, so set it On explicitly if you need it. While it's on, PHP throws an error on runtime session setting changes such as session_name().
What should I do if I'm still on PHP 8.1 or older?
PHP no longer ships fixes for those branches and says end-of-life versions may carry unpatched vulnerabilities. Plan a move to a supported branch, or use a commercial long-term support vendor's backports.
Concepts in this article
- CVE
- The public identifier system for disclosed security vulnerabilities.
- PHP
- A server-side scripting language behind much of the web, including WordPress.
- Brotli
- A compression format used for HTTP responses.
- CISA KEV catalog
- The US list of vulnerabilities known to be exploited in the wild.
- CVE-2026-111497 (Node2Shell / HTTP2Shell)
- A Brotli decompression bug in Node.js and other HTTP stacks, known as Node2Shell and HTTP2Shell.
- Cloud security
- Securing cloud accounts, identities, storage and workloads under the shared-responsibility model.
- Docker
- A tool for packaging and running applications in containers.
- GitHub
- A hosting platform for Git repositories, issues and CI.
- PHP2Shell
- A pair of critical PHP flaws disclosed in October 2026 that allow remote code execution with one request.
- Remote code execution (RCE)
- A flaw that lets an attacker run their own code on a system over the network.
- Vulnerability management
- Finding, ranking and fixing vulnerabilities across systems.



