Back bytemuni.com Cyber Security 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.
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
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
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 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 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.
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 one session directory, the setup PHP CVE-2026-115560 needs.
Shared hosting and multi-app servers where several apps, pools or cron jobs 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.
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.
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'
Check what serves web requests, not just the CLI:
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-fpm Distro 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 , so php -v will 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.
Debian or Ubuntu: upgrade only the PHP packages, then confirm the package version:
Distro 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 , so php -v will 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 apt steps. For background, see the volunteer behind those packages .
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 apt steps. For background, see the volunteer behind those packages .
RHEL, AlmaLinux or Rocky Linux: run sudo dnf upgrade 'php*' and rpm -q php-fpm , and check your vendor's errata before assuming a fix.
RHEL, AlmaLinux or Rocky Linux: run sudo dnf upgrade 'php*' and rpm -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 -v
Docker: CyberQ reports the official images lacked 8.4.28 on release night. Rebuild once the tag updates, then confirm:
Shared hosting (cPanel, Plesk and similar): pick the new version in your panel's PHP selector, or ask your host when it will roll out.
Shared 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
Restart PHP-FPM or Apache so the new binary serves requests, then confirm the version through a web request:
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."
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 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
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.
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.
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.
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.
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().
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
How we research, write and check articles
Deepak Kumar · Senior Software Engineer
The full story
This article is one source in a clustered incident — the cluster page carries the summary, timeline and every other outlet covering it.
