Rapid7 and F5 disclosed an NGINX HTTP/2 flaw, CVE-2026-123007, on 18 November, saying the critical integer underflow can allow unauthenticated remote code execution (RCE) against affected servers under certain conditions.

The disclosure matters to organisations that run NGINX with HTTP/2 enabled. Rapid7 said a remote, unauthenticated client could trigger memory corruption, but its report also describes traffic, timing, proxying and platform constraints on exploitation over the internet.

What Rapid7 disclosed about the NGINX HTTP/2 flaw

Rapid7 described CVE-2026-123007 as HTTP/2 flow-control memory corruption permitting RCE in the context of the NGINX worker process. It classified the flaw as CWE-191 (Integer Underflow) and gave it a CVSSv4 score of 9.2, rated critical.

According to Rapid7, NGINX can miscalculate how much response data an HTTP/2 client has allowed it to send. A remote, unauthenticated client can exploit this error by cancelling queued response data, then make NGINX use an invalid length when copying a later response.

Rapid7 said the resulting memory corruption can disclose data, interrupt service and execute code with the NGINX worker process’s permissions. The company said execution as the master process or as root has not been established.

The vulnerability was discovered by Stephen Fewer, Senior Principal Security Researcher at Rapid7, and is being disclosed in accordance with Rapid7’s vulnerability disclosure policy, the company said. Its report title describes the vulnerability as fixed.

The configuration Rapid7 tested

Rapid7 said it developed a proof of concept demonstrating unauthenticated RCE against a vulnerable Linux/amd64 Docker image running NGINX version 1.31.8. The target server’s configuration had HTTP/2 switched on and TLS enabled, and it ran with an exposed HTTPS service.

That is the only version and configuration named in the demonstration. Rapid7 did not present it as a complete list of affected versions or configurations.

Limits on exploitation over the internet

Rapid7 said leveraging the flaw for RCE requires a significant amount of network traffic, approximately 128 GB of HTTP/2 data. It said both available network bandwidth and connection timeouts will place practical limitations on internet exploitation.

According to the company:

  • Exploitation in its demonstration took two and a half minutes.
  • Transmitting the required data would take about two minutes over a 10 Gbit/s network and about 17 minutes over a 1 Gbit/s network.
  • Because of the default one-hour connection lifetime in NGINX, a network slower than approximately 300 Mbit/s would exceed that limit and would not be able to succeed.
  • If an HTTP/2 connection is proxied, the attacker-controlled HTTP/2 frames will likely not be retransmitted in a way that satisfies exploitation of the vulnerability.

Rapid7 also said the exploitation strategy it developed depends on a specific x86-64 glibc EVEX/YMM memcpy implementation, selected at runtime based on the avx512f and avx512vl CPU features.

"Alternative RCE exploitation strategies may be viable, but none are currently known." — Rapid7

How HTTP/2 flow control is involved

Rapid7 explained that in HTTP/2 the client grants the server flow-control credit to send a certain number of bytes of response data. NGINX tracks that credit in two counters, one for each stream and one shared by the whole connection.

The HTTP/2 specification limits the connection window to 2,147,483,647 bytes, according to the report. Rapid7 said NGINX stores the connection counter in an unsigned type that, on the verified 64-bit build, can hold larger values, so NGINX must enforce the protocol limit in its own logic.

Rapid7 said the first invalid state arises when NGINX returns reserved credit for cancelled, unsent response data without checking whether the connection counter goes above that maximum. A later check on the connection credit then underflows, which Rapid7 identified as the CWE-191 integer underflow.

According to the report, NGINX later treats the excessive credit as a negative response length on the verified build. Rapid7 said buffered TLS output then passes a huge byte count to a memory-copy function, causing out-of-bounds reads and writes.

Constrained memory access, not arbitrary access

Rapid7 said the invalid copy can both read and overwrite worker memory, but described these as constrained read and write capabilities, not an unconditional arbitrary read or write.

The company said the useful memory addresses depend on where NGINX allocated its buffers, how much output is already buffered and which copy routine the C library selected. It said other lengths, memory layouts or copy implementations can fault immediately.

According to Rapid7, disclosed memory can include pointers that address-space layout randomisation (ASLR) would otherwise hide. It said its proof of concept used disclosed addresses and a controlled overwrite to run an attacker-chosen command with the worker’s permissions.

Rapid7 said this explains a general route to code execution and does not claim that every build exposes the same object.

Traffic needed for the attack

Rapid7 said the large traffic requirement comes from the number of WINDOW_UPDATE frames needed to raise the connection counter. Each such frame occupies 13 HTTP/2 bytes, according to the report.

Rapid7 said its current code-execution reproduction reports a plaintext total of about 119.02 GiB, including about 15 GiB of additional request-header traffic to stay within NGINX limits on control-frame traffic. It said TLS and network overhead increase the actual traffic on the wire.

Rapid7 said these figures describe its 64-bit amplification route, not a universal minimum for every possible exploit.

What the disclosure does not say

Rapid7’s report describes a proof of concept. It does not report attacks against real organisations or give an estimate of how many servers are exposed.

Readers looking for general background can see a separate DailyTech.press guide on keeping software and devices updated, and a related DailyTech.press report on a Java 17 vulnerability.