PHP Fixes Critical Flaws: Check Your Branch’s Build
PHP fixed critical flaws on 19 November. cPanel ships selected PHP 7.4 backports; ask which package was installed, not just its version.
PHP shipped a fat bundle of security fixes on 19 November, and a handful are the serious kind: flaws that could let an attacker run their own code on your server. If your site runs PHP 8.2, 8.3, 8.4 or 8.5, the build you want is 8.2.36, 8.3.37, 8.4.28 or 8.5.13. Picking “8.3” in your panel is not enough; the number after the second dot is the part that matters.
Updated 20 November: cPanel’s EasyApache 4 changelog 25.98 now carries PHP 8.2-8.5 fixes and selective backports to PHP 7.4 (fixes adapted for an older branch). Its 7.4.34 version label predates this release, so only the updated package confirms those backports.
What is the problem?
There is no single bug here, so here are the five that earned a critical rating, each scored 9.2 out of 10 on the CVSS v4 severity scale:
- Half-written session files (CVE-2026-126714). PHP stores each visitor’s login state in a small session file. If saving that file is interrupted halfway, it can end up as a mash of the old and new contents. When PHP next opens it, it may rebuild that mash into program objects of the attacker’s choosing instead of treating it as plain stored data.
- A session format mix-up (CVE-2026-115560). PHP’s upload progress option (the thing that powers “37% uploaded” bars, switched on by default) can save session data in one format that another part of the setup later reads in a different one. The result is the same trap: attacker-chosen objects rebuilt from what should have been plain data.
- Smuggled requests through PHP-FPM (CVE-2026-129289). PHP-FPM is the most common way hosts run PHP behind a web server. A carefully malformed upload can leave leftover bytes on the connection, which PHP-FPM then treats as a brand new request of the attacker’s choosing.
- A timezone memory bug (CVE-2026-129496). It only bites on servers that log PHP warnings to a file and hit a warning as PHP starts up, for example a mistyped timezone setting. There, a remote visitor can make PHP scribble over memory it already handed back. That can crash the site, or with effort run code.
- A PHP 8.5-only error-report bug (CVE-2026-129474). A crafted request that makes an app crash at just the wrong moment can, again, end in code running. It only works when PHP includes function arguments in its error reports, which the recommended production settings switch off.
Behind them comes a high-rated bug that lets someone already running code inside PHP-FPM take over its controlling process (CVE-2026-129291). There is also a medium-rated memory error in PHP-CGI, an older and slower way of running PHP that few hosts still use (CVE-2026-129538). The PHP 8 changelog lists the lot.
How could an attacker use it?
For the session bugs, the attacker is an ordinary visitor with a browser. They need a site that keeps sessions in files (PHP’s default) and lets them influence what goes into their own session, which most logins, shopping carts and form wizards do. They then try to make PHP save a session file badly, so it decodes into objects they designed. Turning that into running code needs one more ingredient: existing code in the site, often in a plugin or framework, that does something dangerous when those objects come back to life. Many popular frameworks and plugins contain such code.
The PHP-FPM smuggling bug is the one hosts will lose sleep over. An attacker sends one oddly shaped upload, and a second, hidden request rides along behind it straight into PHP-FPM, skipping whatever routing or login checks sit in front. The prize, when an attack works, is code running with the website’s own permissions: its files, its database password and its customers’ data.
The PHP-FPM takeover bug is the second act. PHP-FPM’s controlling process usually runs as root, the all-powerful system account. So someone who has hijacked one site through any of the above could use it to take the whole server.
How serious is it for you?
Serious enough to patch this week, not tonight in a panic. None of these flaws appear on the list kept by CISA, the US cybersecurity agency, of bugs known to be under active attack, and none of PHP’s advisories mention attacks seen in the wild. But the fixes are public, and a patch is also a map for anyone looking. Most of the critical bugs need a particular setup to work, so plenty of sites are not exposed to all of them. The catch is that working out which conditions your host’s setup meets takes longer than installing the fix.
On shared hosting, your neighbours matter too. If another site on your server is hijacked and the attacker uses the FPM takeover bug, every site on that machine is exposed, including a patched one. That part is your host’s job, and a good reason to ask them when it is done.
Static sites, and sites on hosted platforms that do not run PHP, can ignore all of this. PHP 8.1 and older no longer receive fixes from the main PHP project. Some vendors backport selected fixes: cPanel’s new PHP 7.4 package is one example, but its changelog does not say it fixes every bug in this release.
Am I affected?
Look at the full version your site runs, not the branch name (the “8.3” part). PHP builds from the main project below 8.2.36, 8.3.37, 8.4.28 or 8.5.13 are missing the fixes. For older branches, ask your host which fixes its vendor actually backported; the version label alone cannot settle it. Plesk’s PHP Settings and cPanel’s MultiPHP Manager show which branch a domain uses; on WordPress, Tools, then Site Health, then Info, then Server, shows the exact build. If your panel shows only the branch, ask your host for the full installed build or its package revision, the host’s identifier for a particular PHP package update. If Plesk’s PHP Settings names an FPM handler, your site is in range of the request-smuggling bug.
cPanel’s 7.4.34 label is a case in point: it was already in use before this backport. If your host runs EasyApache PHP 7.4, ask whether it installed the security backport listed in the 25.98 changelog, not just whether PHP reports 7.4.34. Other vendor backports need the same package-level confirmation.
How do I fix it?
- Select the fixed build for the branch you already use: 8.2.36, 8.3.37, 8.4.28 or 8.5.13. You do not need the brand-new PHP 8.6.0 to get these fixes; moving to a newer branch can break plugins, so treat that as a separate project.
- If you use PHP 8.2 through 8.5 and the panel’s newest option is still below the fixed build for that branch, your host has not installed the update yet. Ask when it lands.
- If your site is on PHP 8.1 or older, move to a supported branch for the full set of fixes from the main PHP project. For a cPanel site still on PHP 7.4, the server admin can install the selective backport through WHM EasyApache 4 in the meantime; confirm the package revision rather than relying on its version label.
For server administrators
cPanel’s 25.98 changelog lists the fixed builds for PHP 8.2 through 8.5 and the PHP 7.4 backport under EA-13670. The 7.4.34 version number also appeared in an earlier release, so check the installed package revision against the current repository. Do not assume the changelog documents equivalent new backports for 8.0 or 8.1.
Update the PHP packages for every installed branch, not only the default, then restart the PHP-FPM services so the running workers pick up the new binary. Panels list a version as available once the package is installed; that does not mean every pool has reloaded. Until patched, the main mitigations are configuration choices: keep zend.exception_ignore_args=1 on 8.5 (the php.ini-production default), turn session.upload_progress.enabled off where it is not needed, avoid mixing session.serialize_handler values over a shared session directory, fix startup warnings that reach a file-based error_log, and review catch_workers_output in FPM pools. Each PHP security advisory spells out its exact preconditions; the PHP-FPM smuggling advisory is the one to read first.
This is a separate round from October’s PHP fixes and from cPanel’s older-PHP SOAP backports; having those does not mean you have these.


