Anatomy of a working exploit: CVE-2026-109619 and the PHP request-state chain

PHP's addition to CISA's Known Exploited Vulnerabilities catalog on 2026-10-26 was no routine entry. Two PHP flaws landed together: CVE-2026-109618 (an out-of-memory corruption primitive) and CVE-2026-109619 (a stale internal request-state primitive). The KEV write-up for the Linux kernel bug added two days later (CVE-2026-46300) explicitly names them as the second and third links in a chain that ends with "implant PHP webshells and run commands as root." That is unusually direct language for KEV, and it tells blue teams exactly which composition to hunt for.

This post covers CVE-2026-109619, the lead link attackers reach first from the network: the mechanism, the preconditions, the observable behavior, and how to assess exposure across a PHP fleet. CVE-2026-109618 appears only where the chain requires it.

What the flaw actually is

The KEV entry describes CVE-2026-109619 as a "stale internal request-state vulnerability that allows for unauthenticated remote code execution." In PHP SAPI internals, "request state" is the per-request bundle the engine resets at the boundary between HTTP requests: the active executor globals, the SG (SAPI globals) request_info structure, output handlers, uploaded-file bookkeeping, and the stream context list. When any of those pointers survive past php_request_shutdown() and remain reachable at the start of the next request, PHP operates on data that an earlier, unrelated requester influenced.

The "unauthenticated RCE" classification fits a classic staleness primitive: an attacker who lands two requests on the same worker (the default for persistent SAPIs such as PHP-FPM and mod_php under prefork or worker MPMs) can prime state in request N and force the engine to consume it in request N+1 as trusted internal data. If any of that stale state is a function pointer, a callable name resolved to a zend_function*, or a stream wrapper struct, the second request executes attacker-chosen code without credentials. The authentication layer sits in userland and never runs on the poisoned path.

That shape also explains why CVE-2026-109618 appears as the sibling in the KEV listing. The out-of-memory corruption gives an attacker a reliable way to force the engine into the error path where cleanup is skipped or truncated, which is exactly the condition under which request state goes stale. In practical terms: 618 creates the staleness, 619 exploits it.

What an attacker needs

The preconditions stated in the KEV text are narrow and knowable:

  1. A PHP SAPI that reuses worker processes across requests. PHP-FPM pools with pm = dynamic or pm = static and any pm.max_requests greater than 1 qualify. CGI mode without persistence does not.
  2. Network reachability to send at least two requests to the same worker in sequence. Load balancers that pin by cookie, source IP, or X-Forwarded-For make this trivial; even round-robin balancers converge after a few hundred attempts.
  3. A code path on the target that triggers the primitive. The KEV text does not disclose the exact trigger, and we will not speculate on byte-level payloads here. What matters for defenders is that the trigger is a request pattern, not a credential.

The KEV material imposes no authentication requirement, no specific extension, and no uncommon configuration. That is why the chain pairs cleanly with CVE-2026-46300 at the kernel layer: once the attacker has code execution inside the PHP worker's user context, the kernel bug supplies the privilege path to root via ESP input processing on page-cache-backed shared fragments. Three bugs, one outcome.

Deciding whether you are exposed

The critical triage question is not "are we patched?" but "if we were not patched, would we see it?" This checklist targets the common deployment pattern of a reverse proxy fronting PHP-FPM:

# 1. Enumerate PHP versions actually serving traffic, per host.
#    Trust the running binary, not the package manifest.
for host in $(cat fleet.txt); do
  ssh "$host" "readlink -f /proc/\$(pgrep -o php-fpm)/exe | xargs -I{} {} -v | head -1"
done | sort -u

# 2. Identify pools that reuse workers across requests.
grep -HE '^(pm|pm\.max_requests)\b' /etc/php/*/fpm/pool.d/*.conf

# 3. Confirm whether the fronting LB pins sessions. If it does,
#    an attacker only needs to land once to hit the same worker twice.
curl -s -o /dev/null -D - https://app.example.com/ \
  | grep -iE 'set-cookie|x-upstream|server'

Pools that set pm.max_requests = 0 or a high value carry request state the longest and give CVE-2026-109619 the most dwell time. Setting pm.max_requests to a low value (for example, 100) is not a fix, but it shortens the window in which stale state remains reachable and is reasonable interim hardening while patch rollout proceeds.

For log-side detection, stand up two signals before the patch lands everywhere:

# Example FPM slowlog / error.log correlation (illustrative field layout)
pid=20481 time=... level=FATAL msg="Allowed memory size exhausted" uri=/upload
pid=20481 time=...+0.4s level=INFO status=200 uri=/healthz
pid=20481 time=...+1.1s egress=203.0.113.9:443   <-- investigate

Three events on one PID across one second, where the middle event is "healthy," is the exact shape staleness-chain exploitation produces.

Where this leaves defenders

CISA's current KEV remediation directive, BOD 26-04 (Prioritizing Security Updates Based on Risk), makes catalog entries actionable for federal civilian agencies; private operators should treat the catalog with the same seriousness. Patch CVE-2026-109619, CVE-2026-109618, and CVE-2026-46300 as a unit, in that order of exposure (SAPI first, kernel last): that is the order an external attacker encounters them.

Patch where you can. Where you cannot patch tonight, shorten worker lifetimes, pin egress, and alert on the primed-then-consumed PID pattern above. The chain is real, the preconditions are visible from inside your own fleet, and the detection logic fits in a handful of lines.

Verifiable security.