Axisdream
Written and Published byAxisdream·

Apache mod_http2 CVE-2026-119618 shows why HTTP/2 multiplexing races

Crimson-charcoal postmortem cover showing six crisp white geometric stream rays colliding simultaneously onto a split CWE-362 axis node.

The Apache Software Foundation released Apache HTTP Server 2.4.71 on November 11, 2026 to patch CVE-2026-119618 (CVSS up to 9.8), an unauthenticated heap-corruption race condition in mod_http2 affecting Apache versions 2.4.55 through 2.4.70 and standalone mod_h2 releases 2.0.8 through 2.0.42. Independently flagged to the Apache security team by Anthropic's OSS Scanner (ANT-2026-MAPKT6MZ) on October 26 and Google Cloud Vulnerability Research engineers Anthony Weems and Simon Scannell on November 3, the bug reaches remote code execution inside active HTTP/2 listeners.

Serial HTTP/1.1 servers handled one request per connection sequentially inside isolated worker contexts. Moving web traffic onto multiplexed HTTP/2 forced C-based servers to juggle dozens of concurrent request streams over shared TCP sockets, coupling lock-free memory allocators directly to asynchronous frame parsers where small synchronization oversights corrupt heap state across worker threads.

Inside the assign_headers() free-list race condition

Under normal HTTP/2 processing, mod_http2 tries to isolate concurrent stream workers behind separate private memory allocators rather than touching connection-wide state simultaneously. CVE-2026-119618 breaks that isolation inside assign_headers() when a crafted stream satisfies four conditions:

  1. An HTTP/2 request arrives containing no body alongside a Content-Type header.
  2. The request omits an explicit Content-Length header.
  3. The connection's internal request header table reaches saturation capacity precisely when the worker thread synthesizes a fallback Content-Length: 0 entry.
  4. Writing that synthesized header entry into shared connection space (req->headers) rather than private request space creates an unsynchronized race condition (CWE-362) against the master connection thread's lock-free free list.
When two threads pull the exact same node off that lock-free list simultaneously, allocator metadata corrupts across heap chunks, crashing worker processes or enabling arbitrary remote code execution without credentials. Apache commit 824beab closes the race by routing the synthesized write directly to the active request's isolated input header structure (r->headers_in), restoring single-thread ownership guarantees across active streams.
Protocol configurationExposure to CVE-2026-119618Operational mitigation path
Apache 2.4.55 to 2.4.70 with h2 or h2c activeFully vulnerable over unauthenticated TCP/TLS connectionsUpgrade to 2.4.71 or distro backport (commit 824beab)
Apache with Protocols http/1.1 onlySafe against this race pathKeep HTTP/2 disabled until package rollout completes
Apache behind HTTP/2-terminating proxyProtected if proxy downgrades upstream hop to HTTP/1.1Verify upstream backend hop excludes raw h2c pass-through

Dual discovery by AI scanners and human teams

Apache's November 11 advisory captures a concrete inflection point in open-source software auditing documented across memory-unsafe C parser vulnerability analyses and AI-accelerated CVE exploit cycles. Both an automated AI source auditor (ANT-2026-MAPKT6MZ, reported 16 days ahead of release) and specialized cloud security researchers caught the same subtle CWE-362 thread boundary error inside ubiquitous C networking code.

Because mod_http2 exposes the vulnerable parser whenever h2 or h2c sits enabled in Apache's Protocols directive, automated scanning frameworks can fingerprint vulnerable internet-facing web nodes rapidly even when TLS wraps every session cleanly.

Proxy termination vs. emergency h2 fallback

Infrastructure teams waiting on OS package maintenance windows carry two immediate hardening options. Removing h2 and h2c from Apache virtual host configs (Protocols http/1.1) disables the vulnerable stream dispatcher immediately without restarting upstream business runtimes, though downstream RPC consumers that depend strictly on multiplexed HTTP/2 framing (such as direct gRPC bridges) cannot fall back to HTTP/1.1 cleanly.

Alternatively, terminating TLS and external HTTP/2 traffic inside a memory-safe reverse proxy or CDN edge layer blocks malformed external frame sequences before they hit Apache workers, provided operators confirm the proxy communicates with origin Apache over serialized HTTP/1.1 sockets rather than raw HTTP/2 clear-text pass-through. Tuning H2MaxSessionStreams downward reduces table saturation frequency temporarily, yet leaves the underlying assign_headers() memory race exposed until patched binaries deploy across every web pool. Security teams upgrading package repositories must also inspect embedded vendor appliances running Apache or standalone mod_h2 inside container images, because upstream library version ranges 2.0.8 through 2.0.42 stay vulnerable independently of distro server wrappers. Public advisories from Apache and Linux distribution trackers do not yet establish uniform in-the-wild exploitation prevalence metrics for CVE-2026-119618 as of mid-November 2026, making immediate package upgrades to 2.4.71, origin configuration verification, and strict edge protocol checks mandatory across shared production web fleets.

Sources

Related Dispatches