Back Sploitus Exploit for Integer Underflow (Wrap or Wraparound) in F5 Dos
> Scope in one line: this repository documents a controlled lab that reproduces the flow-control accounting error behind Common Vulnerabilities and Exposures identifier CVE-2026-123007, using Censys Research's open-source compact test. It does not demonstrate worker crashes, memory corruption, or remote code execution (RCE).
- What this is: an independent educational lab exercise, not an original vulnerability discovery.
- What was tested: a compact Hypertext Transfer Protocol version 2 (HTTP/2) flow-control accounting test, run against a vulnerable NGINX build (1.31.8) and a patched build (1.31.9).
- What was observed: the vulnerable build accepted a one-byte flow-control window update after its accounting state had exceeded the permitted bound. The patched build rejected the earlier oversized update and closed the Transmission Control Protocol (TCP) connection.
- What was not observed: no crash, no heap corruption, no RCE, and no Transport Layer Security (TLS) reproduction. The test ran over cleartext HTTP/2 (h2c) on an internal Docker network.
- The harness reported PASS, which means the two builds produced their expected exit codes. It does not mean an exploit succeeded.
Verified against public sources (NGINX security advisories, F5, and the disclosure coverage of 18 November 2026).
| NGINX advisory title | Memory corruption in HTTP/2 flow control |
| Weakness class | Integer underflow (CWE-191), out-of-bounds write (CWE-787) |
| F5 score | 9.2 (Common Vulnerability Scoring System, CVSS v4.0) |
| Disclosed | 18 November 2026, as part of the "NGINX2Root" set |
| Affected (NGINX Open Source) | 1.9.5 through 1.31.8 with HTTP/2 enabled |
| Fixed | 1.30.7 (stable), 1.31.9 (mainline) |
| Condition | HTTP/2 enabled on a client-facing listener, static-file servers included |
Note on the starting build: the lab's initial target, NGINX 1.27.3, falls inside the affected 1.9.5 to 1.31.8 range, so it is itself vulnerable. The differential test later used 1.31.8 (last vulnerable mainline) against 1.31.9 (first fixed mainline).
Per Rapid7, practical RCE is heavy: exploiting the bug reportedly requires on the order of 128 GB of HTTP/2 data to be transmitted. Rapid7's proof of concept achieved RCE against the official linux/amd64 NGINX 1.31.8 Docker image with HTTP/2 and TLS enabled, the same vulnerable version this lab used for its differential test. Censys reproduced the memory-corruption conditions in lab testing but did not achieve RCE. This lab goes no further than the accounting observation.
- Analyst virtual machine (VM): Kali Linux
- Initial NGINX installation: 1.27.3, HTTPS and HTTP/2
- Differential test: NGINX 1.31.8 against 1.31.9
- Tools: Docker, curl, nghttp, Python, uv, Git
- Lab network: 192.168.175.0/24, host-only
- Compact test network: internal Docker network without published ports

Deployed NGINX 1.27.3 inside Docker on Ubuntu and configured an HTTP/2-enabled TLS listener. Verified connectivity from Kali using ping, curl, and nghttp.


Inspected normal HTTP/2 communication, including the SETTINGS, HEADERS, DATA, WINDOW_UPDATE, and GOAWAY frames. Reviewed the NGINX source-code variables and functions tied to the connection-level flow-control window (`send_window`).


Compared affected and fixed NGINX source to study the change in flow-control validation, focusing on how queued send data is counted.
The fix is in the WINDOW_UPDATE bounds check in `src/http/v2/ngx_http_v2.c`. Diffing the last vulnerable release (1.31.8) against the first fixed one (1.31.9) gives this hunk:
return ngx_http_v2_state_complete(h2c, pos, end);
- if (window > NGX_HTTP_V2_MAX_WINDOW - h2c->send_window) {
+ if (window > NGX_HTTP_V2_MAX_WINDOW - h2c->send_window - h2c->send_queued) {
ngx_log_error(NGX_LOG_INFO, h2c->connection->log, 0,
"client violated connection flow control: "
- window, h2c->send_window);
+ window, h2c->send_window + h2c->send_queued);
return ngx_http_v2_connection_error(h2c, NGX_HTTP_V2_FLOW_CTRL_ERROR);
Before the fix, the check compared a client's window increment only against `send_window`, so data already queued for sending (`send_queued`) was not counted. A client could then push the combined total past `NGX_HTTP_V2_MAX_WINDOW` (2^31 - 1). The fixed check counts both, which is why 1.31.9 rejects the oversized update in the Phase 4 test. The same 1.31.8-to-1.31.9 diff also contains other HTTP/2 changes, such as a connection-reuse edit, which belong to separate fixes and are left out here.
The earlier capture below compares 1.27.3 against 1.31.9. It shows the same `send_queued` change, but it also spans many unrelated changes between those versions.

### Phase 4 - Accounting-differential test
After reviewing the published Rapid7 research, I used Censys Research's compact HTTP/2 accounting test to compare NGINX 1.31.8 with the patched 1.31.9 release. The test wrote a machine-readable JavaScript Object Notation (JSON) result.


| Target | Observation | Harness exit code |
| NGINX 1.31.8 (vulnerable) | One-byte flow-control update accepted after the accounting state exceeded its permitted bound. No GOAWAY, no TCP close, and a post-probe PING was acknowledged. | Expected 0, actual 0 |
| NGINX 1.31.9 (patched) | Earlier oversized (4 MiB) update rejected and the TCP connection closed before the later one-byte probe was reached. | Expected 1, actual 1 |
Harness result: PASS, meaning both builds returned their expected exit codes.

How to read this: for the patched build, the harness itself records the one-byte window probe as INCONCLUSIVE, because the connection was closed by the earlier rejection before that probe ran. The PASS therefore confirms the expected differential behaviour, vulnerable accepts and patched rejects. It is not a positive demonstration of the patched build's probe path.

The test demonstrated the CVE-2026-123007 HTTP/2 accounting error at the flow-control level only.
- A TLS-based reproduction of the compact test
The compact reproduction used cleartext HTTP/2 (h2c) on internal Docker networking. This should not be confused with Rapid7's full exploitation demonstration.
The `screenshots/` directory holds the chronological record of the lab: setup, HTTP/2 communication, source-code investigation, the vulnerable-against-patched result, the JSON output, the recorded hashes, and Docker cleanup.
The raw JSON output is intentionally not published in this repository. Its content is shown in `screenshots/08_json_test_evidence.png`, and the SHA-256 (Secure Hash Algorithm 256-bit) values recorded during the lab are shown in `screenshots/09_evidence_integrity_sha256.png`, alongside the Censys research-source commit used for the run.

This exercise reinforced four habits: distinguish HTTP/2 availability from an actual vulnerability reproduction, use a patched negative control, preserve original test evidence, and report the limits of a proof of concept plainly.
- Patch: update to a vendor-fixed NGINX version, 1.30.7 (stable) or 1.31.9 (mainline), or your distribution's patched package, then restart.
- Interim mitigation, if you cannot patch at once: disable HTTP/2. On NGINX 1.25.1 and later, set `http2 off;` and remove the legacy `http2` argument from `listen` directives. On older releases, remove that `listen` argument. This also removes CVE-2026-123633 from scope.

CVE-2026-123007 was reported to F5 independently by researchers from Rapid7, Wiz, Xint, and Ikotas Labs.
- Rapid7, CVE-2026-123007 technical research:
- Wiz, NGINX HTTP/2 RCE research:
- Xint, the "NGINX2Root" write-up, credited in the NGINX changelog for this CVE
- Censys Research, nginx2root compact test:
- Censys, nginx2root compact test analysis:
- NGINX security advisories:
This project documents an educational experiment run against lab-controlled environments on an isolated network. It does not claim original vulnerability discovery or successful remote code execution, and it contains no exploit code. The testing framework and the underlying vulnerability research are credited to their original authors.
The write-up and screenshots in this repository are released under the MIT License (see `LICENSE`). The license does not cover third-party tools or research referenced here, such as Censys Research's nginx2root test, which remain under their own licenses.
The full story
This article is one source in a clustered incident — the cluster page carries the summary, timeline and every other outlet covering it.
