CVE-2026-123007 is the NGINX HTTP/2 flow-control integer-underflow leading to heap corruption / RCE. The authoritative fix is commit e27f5fa84fe6e98505e70bc543b748747dad0a3b (mainline, fixed in 1.31.9) and its stable backport b89c4100bf6762a45e4a6463eaf4b70368277c94 (fixed in 1.30.7), titled "HTTP/2: account for queued frames when validating WINDOW_UPDATE". The commit introduces a new send_queued connection field (ngx_http_v2.h) and instruments three functions, plus it changes the bounds check in a fourth.
Root cause chain: When NGINX queues response DATA frames it decrements h2c->send_window. If a stream is reset while its payload is still queued, ngx_http_v2_filter_cleanup() refunds the unsent bytes with an unchecked h2c->send_window += window;. Because the client can have increased the window in the meantime, this refund can push send_window above NGX_HTTP_V2_MAX_WINDOW — a value the rest of the code assumes is impossible. The validation in ngx_http_v2_state_window_update() then computes NGX_HTTP_V2_MAX_WINDOW - h2c->send_window; with an already-oversized send_window this unsigned subtraction wraps around to a huge value (CWE-191, integer underflow), so additional attacker-sent WINDOW_UPDATE frames are accepted and the counter is driven to an arbitrary large value. That corrupted counter is finally consumed in ngx_http_v2_send_chain(), where it is converted to signed off_t, becomes negative, and produces a malformed buffer (end pointer before start pointer); the TLS send path then performs an out-of-bounds copy (CWE-787) leading to memory disclosure, heap corruption, and code execution. ngx_http_v2_data_frame_handler() is the accounting hook for completed queued DATA frames and was also instrumented by the fix.
All four functions existed before the fix (the patch only adds a send_queued bookkeeping line/term to each), so they are the vulnerable functions present in affected versions (1.9.5 through 1.31.8 / 1.30.6). Since NGINX is C, a runtime profiler will report the plain function names without any namespace/module path, exactly as listed.