This CVE exposes a stale pointer vulnerability in Envoy's HttpDatagramHandler that emerges from a fundamental object lifetime mismatch across three distinct subsystems: the Capsule Protocol handler, HTTP/3 datagram processing, and internal redirect logic. The handler caches a pointer to the RequestDecoder for performance — avoiding repeated lookups during datagram processing. When internal redirects fire, they recreate the ActiveStream and update the EnvoyQuicServerStream, but the handler's cached reference becomes stale. A subsequent HTTP/3 datagram arriving on the old stream calls decodeData on a dangling pointer, causing invalid virtual dispatch rather than a clean null dereference — the vtable points to freed memory, making this more insidious than a typical crash.

The attack surface requires three conditions: Capsule Protocol enabled, HTTP/3 datagrams enabled, and a request triggering internal redirect. This intersection sounds narrow, but internal redirects are standard Envoy behavior used across many deployment patterns. The real exposure question is how many production environments run Capsule Protocol over HTTP/3 — a combination that's uncommon but not rare in service mesh and tunneling deployments.

The fix — updating the cached pointer after stream recreation — is correct for this instance, but this is the third similar stale-pointer-in-HTTP-handler bug in Envoy's past four major release cycles. Each time the postmortem identifies a synchronization gap, applies a surgical fix, and leaves the underlying caching pattern intact. The systemic issue is that Envoy's HTTP pipeline lacks a base-class hook or observer pattern for stream recreation events. Handlers that cache stream-related pointers have no structural mechanism to learn when the underlying stream has been replaced. Without this, each optimization that caches a reference is a potential time bomb waiting for the next internal redirect, early termination, or on-demand reload to detonate.

If you're running Envoy with Capsule Protocol over HTTP/3, patch immediately. Then audit other handlers in the HTTP stack for similar cached-pointer patterns without synchronization guards. The broader architectural question: what other cached pointers in Envoy's pipeline assume stream immutability when internal redirects can fire at any point?