DNS Benchmark ProReal-time DoH latency analysis

Cybersecurity News

Cybersecurity News Alert: Which PHP Default Just Changed?

By Nattapong Sukkasem · Published · Updated .

TL;DR — PHP shipped 8.5.13, 8.4.28, 8.3.37 and 8.2.36 on 19 November, alongside PHP 8.6.0, closing seven critical flaws quoted at CVSS 9.2. The headline bug, named phpAfterShell by the security firm Depthfirst, lets an interrupted write to a session file be reassembled into an attacker-chosen object on the next request. PHP warned a day earlier that the critical issues would need non-default configuration. The release itself switched off a setting that had been on by default, and the notes do not say so. This cybersecurity news analysis is about that gap.

The PHP project told the internet what was coming before it arrived. A notice on 18 November announced releases for the following afternoon and said the issues rated CRITICAL would require either non-default configuration or uncommon setups. It is also the part of this cybersecurity news story worth examining closely, because the two session flaws at the centre of the release turn on settings that PHP ships switched on, and one of those defaults is switched off by the release that fixes them.

Cybersecurity news: developers wearing conference lanyards sitting on the grass outside the restored brick Citilab building during a break at a PHP Conference, the volunteer community that maintains the PHP runtime patched in the 19 November 2026 critical security release
A break at a PHP Conference, outside the Citilab building in Cornellà. There is no corporate campus here and no vendor to escalate to: the people on the grass are the organisation that ships the runtime.

What shipped on 19 November

The release carries seventeen or eighteen CVEs depending on who is counting. Chainguard tallies seventeen across the branches; Astra counts eighteen in the 8.5 series alone. Nothing below depends on which is right. Both agree on the number that does matter: seven are critical, and all seven are quoted at 9.2 on the CVSS 4.0 scale, a score the maintainers assigned and that php.net itself does not print. PHP 8.1 and earlier are end of life and receive nothing. PHP 8.2 joins them on 31 December 2026.

One of the seven, CVE-2026-129481, is listed as an incomplete fix for CVE-2026-109619 — one of the two October bugs collectively called PHP2Shell, both of which CISA added to its Known Exploited Vulnerabilities catalogue late last month after real attacks. October's emergency release did not finish the job.

CVEComponentFixed inWhat it needs
CVE-2026-126714File session storage8.2.36 and laterInfluence over session data, an interrupted write, a gadget chain
CVE-2026-115560Session upload progress8.2.36 and laterA serializer switched at runtime before session_start()
CVE-2026-129289PHP-FPM8.2.36 and laterPersistent backend connections and an unread request body
CVE-2026-129496Timezone cache8.2.36 and laterNothing stated beyond remote reachability
CVE-2026-129481Session shutdown8.3.37 and laterAn interrupted session cleanup in a reused worker
CVE-2026-129474Magic method backtraces8.5.13 onlyControl of allocation shape plus a fatal error at the right moment
CVE-2026-129182Fatal error backtrace8.5.13 onlyRepopulation of a global after shutdown

phpAfterShell, or what a half-written file becomes

CVE-2026-126714 is the one to read twice, because the defect is not in any line of PHP that parses untrusted input. It is in the shape of the file PHP writes. A session file stores each value as a name followed by serialized data, and length fields mark where strings end. Nothing in the format marks a write as finished. PHP locks the file while it writes, and the lock is honoured exactly as designed — but a lock makes concurrent writes mutually exclusive, not atomic. If the worker dies partway through, the file keeps the head of the new record and the tail of the old one, and the result is not corrupt. It is a well-formed session describing contents nobody ever wrote.

The execution step is the part most coverage skips. The trigger is session upload progress. When that feature is on, a multipart upload carrying the progress field makes PHP write to the session during request parsing, before a line of application code runs. The application needs no upload page anywhere; it needs only some page that later calls session_start(). Choose the length fields in the new data carefully and the surviving tail of the old data parses as an additional record, and that record can be a serialized object. The next request to open the session instantiates it.

Stopping the write mid-flight is the awkward part. In Depthfirst's Linux testing the execution timeout fired only after the write had completed, so they used an out-of-memory kill instead. A DDoS attack works by finishing too many requests; this works by not finishing one, and the lever is a resource limit rather than a volume of traffic. The planted object appeared on the eleventh attempt in a fresh run, and the researchers are careful that this measures getting the file into the right state, not how often code execution follows.

The public proof of concept plants a harmless built-in stdClass and stops. Depthfirst's own chain needed no application gadget at all: it used a second bug, a memory-corruption flaw in one of PHP's built-in classes, withheld for coordinated disclosure, and nobody has said whether Wednesday's release closes it. Code execution is also not the only prize, because the same technique can replace a session value before the application reads it — a login flag, a permission, a CSRF token.

Cybersecurity news: the official PHP project logo, the blue elephant mark above the lowercase php wordmark, representing the runtime whose 19 November 2026 release fixed the phpAfterShell session file flaw CVE-2026-126714
The PHP project mark. No defect is alleged in any application built on PHP: the flaw is in how the runtime persists a session, and every framework above it inherits that behaviour.

The defaults the advance notice did not mention

Both session paths depend on configuration. CVE-2026-126714 needs session.save_handler set to files, which is PHP's documented default. It needs session.upload_progress.enabled switched on, which was also the documented default and was on in the October builds. Astra's detection guidance treats both as in scope when unset. Most cybersecurity news about a scheduled release reports what the advisory said. The more useful comparison this week is between what the advisory said in advance and what the source tree did on the day, because the two do not quite agree.

The Hacker News compared the October and November sources and found that the November release switches session.upload_progress.enabled off by default. The release notes do not mention the change and the project has not commented on it. That is not bad faith: a maintainer writing a pre-release notice has to describe an unpublished bug without handing anyone a map, the advance language was chiefly about the separate CVE-2026-115560, and PHP Foundation executive director Elizabeth Barron is quoted describing that one as needing a very unlikely combination of configuration and application code. But a default change and a patch shipping together are two statements about how common a configuration was, and they point in different directions. The patch is the one to act on; the default change is the one to read.

Cybersecurity news: a phpinfo output page listing the loaded php.ini path and more than twenty additional configuration files parsed from a conf.d directory on a distribution build, the page administrators must read to confirm which PHP defaults are actually in force after the November 2026 security release
An illustrative phpinfo() page. The version is old; that is not the point: note the loaded php.ini, the two dozen further fragments parsed beneath it, and a version string stamped by a distribution rather than upstream.

Why your configuration is harder to state than it looks

PHP is server infrastructure that nobody sells you. It arrives inside a distribution package, a container base image or a hosting panel, and the organisation that fixed it has no account manager to ring. The consequence is in the screenshot above: the effective configuration is assembled from a php.ini plus a directory of fragments, and a distribution may ship the fix while leaving the version string alone. Cloud security here is a build question rather than a server question, because a running container never updates itself; the fix lands when the image is rebuilt, and an image pinned to a digest stays vulnerable for as long as that pin holds.

What to do now

  1. Upgrade the branch you actually run — 8.5.13, 8.4.28, 8.3.37 or 8.2.36 — then restart every worker: FPM masters, mod_php, embedded runtimes. A patched binary on disk behind a process started last Tuesday is not a patched service.
  2. Read the configuration rather than recalling it. Run php --ini on each web host and container to list every file in force, then grep that set for session.save_handler and session.upload_progress.enabled. An explicit = 1 written by a panel or a package survives the new default. If you cannot patch this week, setting it to 0 in an FPM pool is a stopgap beside the upgrade, never instead of it.
  3. If you move sessions to Redis or a database, which does avoid the torn-write class, understand what you have added: a hostname in the authentication path, resolved on every request that opens a session. Whether DNS over HTTPS or your own resolver answers that lookup decides whether a login failure is debuggable, and our DNS configuration guides cover where that is settled.
  4. Record what an unfamiliar destination resolves to. If you find an unexpected object or an unknown name in session data, resolve it with a network diagnostic tool and keep the answer. Attacker infrastructure rotates, and the resolution you did not capture is the one the investigation will ask for.
  5. Decide who owns the answer. Which PHP binary serves your web requests is an IT security question before it is a platform-engineering one, and on most estates nobody has written it down.
Cybersecurity news: a DNS server performance benchmark chart from DNSBenchmarkPro comparing query response times across major public resolvers, the baseline measurement administrators use when a patched PHP application stack changes its lookup behaviour
DNS server performance across public resolvers. A baseline taken before an emergency change window is what lets you say afterwards whether anything moved.
Cybersecurity news: a network latency comparison chart of DNS resolver response times, relevant because moving PHP session storage to a networked backend places a name lookup on the authentication path of every request
Network latency by resolver. Move a session store off the local disk and resolution time lands on login, which is the one page users notice.

Why it matters

A zero-day vulnerability is defined by the defender having no warning, and this release is the opposite case. PHP gave a day of notice, named a severity and described the shape of the preconditions. Everyone got a day to prepare, and so did everyone else. That is the trade a scheduled disclosure makes.

The durable lesson of this cybersecurity news cycle is about the word default. A torn write has sat in the reliability column of design reviews for thirty years, because the worst case was understood to be a lost session and a user logged out. phpAfterShell moves it into the security column by pointing out that a format with length fields and no commit point does not produce broken files — it produces different ones. Nobody needs to have made a mistake for that to be true. The configuration was shipped, the lock worked, the file parsed, and the object arrived anyway.

Sources

Related articles

Browse every DNS news article by month →

DNS angle

Review resolver logs for the systems discussed above and compare unexpected names with your approved services. A successful lookup does not establish that a destination is safe. Use the DNS lookup tool to inspect current answers, then compare them with your own resolver and incident records.

Source: PHP — ChangeLog for PHP 8, November 2026 security releases ().