November 18, 2026: two flaws in NGINX itself
On November 18, 2026, two vulnerabilities in NGINX HTTP/2 processing were publicly disclosed: CVE-2026-123007 and CVE-2026-123633. This article focuses on the first issue, a flow-control accounting flaw that can turn an invalid numerical state into an out-of-bounds memory operation. The second issue follows a different path: a connection incorrectly marked reusable can be freed while active processing still depends on it. Although both affect HTTP/2 and were addressed in the same NGINX Open Source updates, they are not interchangeable defects and do not share identical exploitation requirements.
The disclosure matters because NGINX frequently serves as the front door for websites, APIs, identity systems, and internal services. A security defect in the server handling HTTPS can expose applications even when their own source code is secure. Researchers have demonstrated unauthenticated remote code execution in specific laboratory conditions, but practical exploitation depends on build details, memory behavior, and network constraints. The difference between demonstrated impact and universally reliable exploitation is central to any accurate risk assessment.
NGINX Open Source released 1.30.7 on the stable branch and 1.31.9 on the mainline branch on November 18. Both include fixes for these issues and several other security problems disclosed at the same time. Understanding the underlying failures helps infrastructure teams prioritize upgrades, assess the value and limits of intermediate protections, and avoid relying solely on externally visible version strings.
Why HTTP/2 creates a sensitive state-management problem
HTTP/2 multiplexes multiple requests and responses over a single connection, avoiding some of the overhead of opening separate connections for every resource. Each exchange runs inside a stream and uses frames such as HEADERS, DATA, SETTINGS, and WINDOW_UPDATE. This provides performance benefits, but it also requires the server to maintain accurate state for several simultaneous exchanges and to distinguish limits belonging to an individual stream from those applying to the entire connection.
In a reverse-proxy deployment, NGINX also communicates with backend services, manages response buffers, applies policies, and encrypts outgoing data. A seemingly ordinary web request can therefore trigger several interacting queues, counters, and object lifecycles. The two disclosed flaws both arise when this internal state stops reflecting what remains valid: one breaks a numerical invariant, while the other allows an active connection to be treated as disposable.
Understanding the HTTP/2 flow-control window
HTTP/2 flow control limits the amount of DATA that one endpoint may transmit before the receiver grants further credit. The purpose is to prevent the sender from overwhelming a receiver that is not ready for additional bytes. There is a separate window for each stream and a shared window for the connection. The sender must have sufficient credit in both places before transmitting a response-body fragment.
The WINDOW_UPDATE frame increases available credit. A stream identifier of zero updates the connection window, whereas a nonzero identifier addresses an individual stream. The HTTP/2 specification limits the permitted window to 231 − 1 bytes, or 2,147,483,647. That is a protocol restriction, regardless of how large the storage type used by the implementation may be. When software assumes its counter can never exceed that limit, every operation that changes the counter must preserve the assumption.
CVE-2026-123007: incorrect credit accounting comes first
The technical analysis centers on the HTTP/2 connection send-credit counter, named h2c->send_window inside NGINX. On a 64-bit build, the unsigned integer type used for this value can represent much larger quantities than the protocol allows. A value fitting in a C data type does not imply that it is valid under HTTP/2. The implementation must maintain the additional invariant that connection credit never exceeds the protocol maximum.
When NGINX queues a DATA frame, it may reserve send credit before those bytes have actually been transmitted. If the request is cancelled while that frame remains unsent, the cleanup logic refunds the reserved credit. Refunds are a sensible part of queue management; the problem is that the refund path may increase the counter without rechecking the maximum. If the client has already increased the connection window while the data was queued, the refunded amount can push the stored window beyond the legal HTTP/2 range.
Queued responses and transport backpressure
The vulnerable sequence is difficult to understand if every request is imagined as receiving an immediate response. NGINX may have a DATA frame ready to send but be unable to write it because the receiving side is not accepting additional output. This is known as transport backpressure. NGINX must then retain queued data and maintain consistent accounting for bytes already sent, bytes reserved for pending output, and bytes that should be refunded if the operation is cancelled.
Rapid7 describes how pending responses, window updates, and stream termination can interact so that reserved credit is restored after the connection window has already reached its maximum. Another relevant detail is the handling of a particular HTTP/2 window-setting error: a condition for which the protocol calls for terminating the connection can instead terminate only the affected stream, leaving the connection usable. Consequently, the invalid connection state may survive the request that created it, allowing subsequent processing to encounter a counter value that other components assume cannot exist.
From an excessive counter to integer underflow
There are two different numerical failures in the chain. First, the stored connection window becomes greater than the HTTP/2 maximum, even though its value still fits inside the 64-bit unsigned representation. Later, a validation check attempts to calculate how much more credit may be granted by subtracting the stored counter from the permitted maximum. When the stored value is already larger than the maximum, unsigned arithmetic does not produce a negative result; instead, the subtraction wraps around to a very large positive value.
This is the CWE-191 integer underflow identified in the research. A check intended to reject excessive increments can now accept them because it is evaluating an internal state considered impossible by the original design. The defect is therefore not simply a malformed HTTP/2 frame that the parser fails to reject. It is a cross-path interaction between credit restoration, stream handling, and arithmetic checks that together violate a critical assumption.
How signed and unsigned conversions reach the heap
The corrupted flow-control counter eventually reaches the output-processing path. On the verified 64-bit build, an unsigned value may exceed the maximum representable by the corresponding signed integer type. When this value is converted to a signed type used to represent output lengths, the result can become negative. The buffer-handling code nevertheless expects consistent lengths and pointer ordering: the end pointer of a valid response buffer must not precede its starting pointer.
The published investigations explain how this inconsistent state can propagate through response-buffer construction and into buffered TLS output. An invalid length may then produce an out-of-bounds memory copy capable of reading or overwriting data outside the expected response region. This is not an unconditional primitive that lets an attacker select any arbitrary address. The available reads and writes depend on buffer placement, heap state, C library implementation, and the copy routine selected by the runtime. Under suitable conditions, however, even constrained accesses can reveal memory addresses and enable further memory corruption.
From memory corruption to remote code execution
A memory error inside an NGINX worker may initially result in a segmentation fault, a worker restart, or an interruption to the services sharing that server. Denial of service is already significant in high-availability infrastructure. Remote code execution becomes possible if an attacker can turn constrained out-of-bounds accesses into useful memory disclosure and controlled changes to process state while accounting for the memory allocator and address-space protections.
Rapid7 published a proof of concept demonstrating unauthenticated code execution against an NGINX 1.31.8 Linux x86-64 container with HTTPS and HTTP/2 enabled. Wiz reports successful code execution against official NGINX 1.31.7 and 1.31.8 builds. These experiments establish a practical impact beyond a theoretical crash, but they remain demonstrations for particular environments. Successful exploitation provides the permissions of the compromised NGINX worker process; it should not automatically be described as gaining root privileges over the operating system.
Practical exploitation has important constraints
The Rapid7 reproduction does not rely on a single short request. Its published strategy requires an unusually large volume of HTTP/2 traffic, approximately 128 GB transferred, together with adequate bandwidth and a sufficiently long-lived connection. The report provides approximate durations of two minutes on a 10 Gbit/s network and seventeen minutes on a 1 Gbit/s network. Those figures describe the tested technique rather than a universal guarantee of exploit performance, and NGINX connection-lifetime limits further influence feasibility.
The reported code-execution path also depends on a specific glibc memcpy implementation selected on x86-64 systems with certain AVX-512 CPU capabilities. Other exploitation strategies might exist, but they should not be presented as verified merely because the vulnerability has a critical rating. Wiz additionally reports bypassing ASLR in some configurations. These findings mean that ASLR alone cannot be considered a complete defense, yet they also show why an affected version number does not translate into trivial remote compromise across every build and architecture.
A vulnerable web application is not required
An important distinction is that CVE-2026-123007 lives in NGINX HTTP/2 handling, not in the application that eventually receives a proxied request. Wiz reports code execution against a configuration serving ordinary static files, without a vulnerable backend or third-party module. This makes application-only dependency scans insufficient to identify the underlying infrastructure exposure.
In enterprise deployments, a single NGINX instance may handle multiple virtual hosts, distribute traffic to many services, and hold request or response data in worker memory. Compromise of that shared entry point can therefore have consequences for more than one application. The realistic scope depends on the worker account, memory contents, connected services, network segmentation, and privileges available to the running process.
CVE-2026-123633: a distinct use-after-free
CVE-2026-123633 also affects NGINX HTTP/2 processing, but it is not another manifestation of the flow-control counter underflow. It is a use-after-free, classified as CWE-416, associated with configurations that accept HTTP/2 client connections and proxy requests to a backend. F5 describes the risk when a worker is running low on available worker_connections. Under those circumstances a specially crafted request may cause the worker to use memory after it has been freed; denial of service is possible, and code execution may be possible when ASLR is disabled or bypassed.
The operational distinction matters. CVE-2026-123007 has been demonstrated on a server delivering static content, whereas CVE-2026-123633 is tied to reverse-proxy processing and connection lifecycle management. They share a protocol and upgrade path but should not be assigned the same exploit conditions, network signatures, or internal root cause.
Why an active connection can be freed
NGINX keeps track of connections that may be closed when additional capacity is needed. An HTTP/2 connection may be considered reusable while it has no active requests, but that status should be removed as soon as processing begins that still depends on the connection. Wiz describes a scenario in which a partially received HEADERS frame leads to a reusable designation and subsequent request-stream creation does not clear it correctly.
When establishing an upstream backend connection and available connection slots are scarce, NGINX may drain connections previously marked reusable. If it chooses a connection still handling a request, an error path can close and free the associated memory while outstanding processing retains pointers into it. The later use of those pointers is the use-after-free. Exploiting the condition for code execution involves additional heap-state manipulation and cannot be assumed to work against every deployment that uses reverse proxying.
Affected versions and available fixes
NGINX’s official security list identifies NGINX Open Source 1.9.5 through 1.31.8 as affected by CVE-2026-123007 and 1.19.7 through 1.31.8 as affected by CVE-2026-123633, taking account of the historical version branches. NGINX Open Source 1.30.7 stable and 1.31.9 mainline include fixes for both issues. These statements describe released branches, not a claim that every numerical point between those versions exists as a supported build.
For NGINX Plus, the F5 remediation matrices and published research identify versions 37.0.8.1 and 37.3.0.1 as fixes for CVE-2026-123007, depending on the supported release line. Earlier builds 37.0.7.1 and 37.2.0.1 already addressed CVE-2026-123633 but do not, by themselves, resolve the main flaw. Operators of NGINX Plus and integrated products must verify the specific release family and the full list of outstanding security fixes rather than substitute Open Source version numbers.
Version and remediation reference
| CVE | Product | Potentially affected releases | Fixed release |
|---|---|---|---|
| CVE-2026-123007 | NGINX Open Source | 1.9.5–1.31.8 (branch-dependent) | 1.30.7 stable / 1.31.9 mainline |
| CVE-2026-123633 | NGINX Open Source | 1.19.7–1.31.8 (branch-dependent) | 1.30.7 stable / 1.31.9 mainline |
| CVE-2026-123007 | NGINX Plus | Affected R33+ and unpatched 37.x lines | 37.0.8.1 / 37.3.0.1 |
| CVE-2026-123633 | NGINX Plus | Affected R33+ and unpatched 37.x lines | 37.0.7.1 / 37.2.0.1 |
Note: NGINX Plus releases fixing CVE-2026-123633 alone do not necessarily include the CVE-2026-123007 fix. Always verify the F5 security matrix and exact release line.
Determining whether a deployment is exposed
Start by inventorying instances that terminate HTTP/2: public-facing servers, internal reverse proxies, containers, appliances, and orchestration-related components. Identify the effective NGINX build, its source, and whether it is configured to accept HTTP/2 on each relevant listener. HTTPS alone does not prove HTTP/2 is enabled, and a browser negotiating HTTP/2 with a CDN does not prove the same frames are forwarded to the origin NGINX instance.
The distinction between package metadata and running code is equally important. Linux distributions may backport a fix while retaining older upstream version numbers, and an old container image may still contain a vulnerable build after its host has been patched. NGINX Plus uses its own release and support streams. A reliable assessment combines package provenance, listener configuration, official vendor advisories, and verification of the process actually serving traffic after deployment.
CDNs, WAFs, and reverse proxies are not universal fixes
A CDN or load balancer that terminates incoming HTTP/2 and opens a separate origin connection can disrupt the precise frame sequence required by an exploit. This is relevant for defects involving stream and window state; forwarding equivalent HTTP content is not the same as forwarding the original protocol frames unchanged. Rapid7 observes that proxied HTTP/2 is unlikely to preserve the exact frame behavior needed by its demonstrated technique in many architectures.
However, it would be inaccurate to call a CDN a complete patch. Origin addresses may be reachable directly, internal traffic may bypass the CDN, and a second HTTP/2 connection may still be negotiated on a different hop. A WAF that inspects HTTP parameters cannot repair the NGINX memory-safety defect. Intermediary protections should be validated against actual traffic paths and treated as defense in depth while the underlying software is updated.
Upgrades and temporary mitigation
The primary mitigation is to install a corrected NGINX release using the relevant vendor channel: 1.30.7 or 1.31.9 for Open Source, or the appropriate corrected NGINX Plus build. Managed gateways, controllers, and appliances should follow their own vendor advisories. Before changing production configuration, infrastructure teams should retain a backup, verify compatibility with required modules, and establish a controlled validation and rollback process.
If an upgrade cannot be deployed immediately, temporarily disabling HTTP/2 on affected listeners prevents these specific HTTP/2 code paths from being reachable when the change is correctly applied. On modern NGINX versions this involves the dedicated HTTP/2 setting as well as checking older listener syntax. Verify the actual negotiated protocol for every virtual host, reload safely, and ensure that old workers have exited rather than continuing to process vulnerable connections.
Disabling HTTP/2 is not a replacement for the security release. The November 18 updates also address other vulnerabilities, including issues in resolver handling, HTTP/3, and additional modules. Restore HTTP/2 where needed once the vulnerable implementation has been replaced and the deployment is confirmed healthy.
Monitoring and incident-response considerations
For CVE-2026-123007, unusually long HTTP/2 connections, abnormal volumes of protocol-control traffic, repeated worker crashes, and related system errors may provide useful investigative signals. The published reproduction needs many frame exchanges and substantial data transfer, which can produce recognizable anomalies in some logging and telemetry environments. These patterns are not reliable indicators of compromise on their own and do not establish that an exploitation attempt occurred.
For CVE-2026-123633, connection pressure and failures during proxied requests may be more relevant than very high traffic volume. Investigations should correlate reverse-proxy telemetry with worker process exits, operating-system events, and unexpected commands executed under the service account. The sources consulted on November 18 document research exploits and coordinated disclosure but do not, on their own, establish a widespread real-world exploitation campaign. That uncertainty should be stated explicitly without delaying remediation.
Severity and differing classification systems
The F5 vulnerability records list 9.2 under CVSS 4.0 and 8.1 under CVSS 3.1 for both issues. A critical 4.0 rating and a high 3.1 rating can coexist because they use different scoring methodologies. The vectors account for remote network access without credentials and the substantial complexity of successful exploitation, alongside the potential for serious confidentiality, integrity, and availability impact.
The NGINX security-advisory page also uses its own project terminology, describing CVE-2026-123007 as major and CVE-2026-123633 as medium. These are not CVSS categories and should not be treated as direct contradictions. Operational prioritization should weigh technical severity alongside actual HTTP/2 exposure, server criticality, available proof of concept, architecture-specific constraints, and the ability to implement temporary controls.
Coordinated research and disclosure
The vulnerabilities were studied and reported independently by multiple research groups. Rapid7 dates its initial outreach on CVE-2026-123007 to November 11, 2026, with further coordination during the following days. Wiz reports notifying F5 about CVE-2026-123633 on October 21, reviewing a proposed patch on November 10, and reporting a second issue related to CVE-2026-123007 on November 16. The public advisories and corrected Open Source versions were released on November 18.
That longstanding defects can persist in heavily used infrastructure illustrates the difficulty of auditing interactions between protocol state machines, integer arithmetic, and object lifetimes. Each individual code path may appear plausible, while a particular ordering of legitimate operations violates a hidden assumption. For defenders, the primary value of coordinated disclosure is a verifiable technical explanation, a way to identify exposure, and an actionable update path.
Engineering lessons for safer infrastructure
The first lesson from CVE-2026-123007 is that protocol bounds must be enforced across every state-changing path, including cleanup, cancellation, and credit restoration. Validation in the frame parser cannot protect against a different operation that modifies the same counter without preserving the range. Likewise, signed and unsigned conversions should never be allowed to transform an already-invalid protocol value into a buffer length used by memory-sensitive code.
CVE-2026-123633 highlights the need for explicit ownership and lifecycle rules. A connection can appear idle to one subsystem while still serving work in another. Memory sanitizers, concurrency-focused testing, fault-injection exercises, and systematic review of error paths can uncover some of these errors, but none replaces routine patch management and accurate knowledge of where the software is deployed.
Conclusion
CVE-2026-123007 shows how a relatively small discrepancy in HTTP/2 credit accounting can cross several NGINX layers and become a memory-safety vulnerability. The initial defect is numerical, while the potential consequences reach the confidentiality, integrity, and availability of the server. Published research demonstrates remote code execution, but also documents meaningful environment-specific constraints. The flaw should neither be dismissed as merely a possible crash nor described as an instant, universally reliable RCE.
CVE-2026-123633 presents a separate risk in which a connection marked reusable may be freed while it is still needed, leading to use-after-free. Both warrant urgent review of NGINX deployments with HTTP/2 enabled, particularly shared front-end infrastructure accessible from the Internet. A sound response combines accurate asset inventory, vendor-supported updates, verified temporary mitigation, and targeted monitoring of affected workers.
Technical references and sources
Official sources and research analyses reviewed on November 18, 2026. Experimental findings are attributed to the researchers who reported them.