News / Vulnerabilities · Analysis

PHP's emergency fix opened a new hole. Here's what matters in the 18-flaw aftershock.

October's PHP2Shell patch was built in a hurry. Four weeks later, PHP fixed 18 more flaws — one of them reachable only because of that patch. None is confirmed exploited yet, but PHP 8.2 has weeks to live.

Disclosure: This article was drafted with help from Claude, an AI model made by Anthropic. It was fact-checked against the advisories and reporting linked below and edited by [Author name].

The short version

Official line
PHP fixed 18 flaws on Nov. 19, seven rated critical (CVSS 9.2). Maintainers say they "require either non-default configuration or uncommon setups," and urge prompt upgrades.
Behind it
One of the new critical bugs only became remotely reachable because of a change in October's emergency PHP2Shell release. Three more fill gaps that fix left behind. And PHP 8.2 stops getting security fixes on Dec. 31.
What to do
Patch to 8.5.13, 8.4.28, 8.3.37 or 8.2.36 — and find every place PHP runs, because the version string can lie.

October: PHP2Shell, and a fix built in a hurry

On October 21, the PHP project released emergency fixes for two critical flaws, CVE-2026-109618 and CVE-2026-109619, that let an unauthenticated attacker run code on a server. Details leaked a day before the coordinated disclosure, and PHP moved its release up to get ahead of it. Two research teams, Calif and Wiz, had found the bugs independently — Wiz says with the help of frontier AI models, which it credits with turning decades-old bugs into working exploits fast.

The response was loud. Censys counted about 2.6 million hosts running PHP, NSA told organizations that couldn't patch immediately to take systems offline, and attackers went after the flaws at scale. Dark Reading compared the patching rush to Log4Shell.

"Emergency fixes are built fast, and fast work sometimes creates a new vulnerability."

November: the aftershock

Four weeks later, PHP shipped 8.5.13, 8.4.28, 8.3.37 and 8.2.36, fixing 18 more vulnerabilities. Seven are rated critical, including a request-smuggling flaw in PHP-FPM (CVE-2026-129289), two session-handling bugs that can lead to code execution (CVE-2026-115560 and CVE-2026-126714), and several use-after-free bugs.

The detail that didn't make the headline: according to PHP's own advisory, the PHP 8.5 backtrace flaw (CVE-2026-129474) became reachable because of a change made in 8.5.12 — the PHP2Shell release. Researchers at Upwind also note that three of the new flaws fill gaps the October fix left open. Analyst Frank Dickson put it bluntly to CSO: emergency fixes are built fast, and fast work sometimes creates a new vulnerability.

How worried to be

Less than in October — but not zero. As of the latest reporting, none of the new flaws is confirmed exploited in the wild. Most need something specific to line up:

  • The PHP-FPM smuggling bug only bites when nginx, Apache, HAProxy or LSAPI reuse backend connections to PHP-FPM. Standard configurations that don't reuse connections aren't affected.
  • Two of the backtrace bugs exist only in PHP 8.5, and PHP says the zend.exception_ignore_args=1 setting in its production config blocks the demonstrated attack path.
  • The session bugs depend on how sessions and upload progress are configured.

watchTowr's Jake Knott says he expects attackers to go after the two session flaws and the PHP-FPM bug first, and draws a line between fast, routine patching and panic. Arctic Wolf's Justin Moore points at the harder problem: most organizations don't have a complete list of where PHP runs.

Four things to do this week

  1. Confirm October's fixes landed. Anything below 8.5.12, 8.4.27, 8.3.36 or 8.2.35 is still exposed to PHP2Shell — which attackers did use. Patch that first.
  2. Find every copy of PHP. Web servers, containers, hosting control panels, CMS platforms and vendor appliances that bundle their own PHP. Linux distributions often backport fixes without changing the version number, so check the package changelog, not just php -v.
  3. Patch internet-facing PHP-FPM and 8.5 first. Then check whether your web server reuses FastCGI connections, whether session upload progress is on, and whether the PHP-FPM status page or php-cgi is reachable from outside.
  4. Put PHP 8.2 on a deadline. It gets no security fixes after December 31, 2026. PHP 8.1 and older already get none. Running 8.2 into January is a risk decision — make it on purpose.

Sources

Primary

Reporting and analysis