A critical use-after-free vulnerability, tracked as CVE-2026-123633, has been identified in the NGINX web server's HTTP/2 protocol implementation. The vulnerability, discovered by researcher Bon Berry of Palo Alto Networks Unit 42, can be exploited by an unauthenticated remote attacker to cause a denial-of-service (DoS) condition. Furthermore, research indicates that remote code execution (RCE) is achievable under certain conditions, particularly when chained with another information disclosure flaw. The issue affects NGINX servers that accept HTTP/2 connections and proxy requests to a backend. F5, the maintainer of NGINX, has assigned the vulnerability a CVSS 4.0 score of 9.2 (Critical), while NGINX's own advisory rates it as Medium. Patches are available in NGINX versions 1.30.7 and 1.31.9. Due to the potential for RCE and the widespread deployment of NGINX, immediate patching is strongly recommended.
The core of CVE-2026-123633 lies in a logic flaw within the HTTP/2 connection state management. An attacker can send a fragmented HTTP/2 HEADERS frame, causing the connection handling function ngx_http_v2_handle_connection() to prematurely mark the connection as reusable before the full request stream is created. The client can then send the rest of the HEADERS frame, prompting ngx_http_v2_create_stream() to create an active stream for the request. However, this function fails to clear the reusable flag set in the previous step.
This creates a dangerous state: an active request stream is running on a connection that the NGINX cleanup logic believes is idle and safe to reclaim. Under conditions of high connection pressure (when free worker connections are low), the ngx_drain_connections() function can be triggered. This function iterates through the queue of reusable connections, closes them, and frees their associated memory. Because the vulnerable connection is incorrectly in this queue, its memory is freed while the active HTTP/2 request is still using it. Any subsequent operation by the active request that attempts to access this freed memory results in a use-after-free condition, typically leading to a worker process crash (DoS).
The researcher demonstrated that this drain could be reliably triggered by crafting a request that requires a runtime DNS lookup on a variable upstream, which in turn allocates a new UDP socket and consumes a connection slot, initiating the drain process.
The vulnerability affects NGINX Open Source and NGINX Plus installations configured to handle HTTP/2 traffic, typically as a reverse proxy.
1.31.0 through 1.31.81.19.7 through 1.30.6Fixed Versions:
1.31.9 and later1.30.7 and laterAdministrators should also check for updates from their distribution vendors (e.g., Debian, Ubuntu) as they may provide patched packages.
The vulnerability was privately reported to F5 by researcher Bon Berry (memN0ps). The researcher successfully developed a proof-of-concept (PoC) that not only triggers the DoS condition but also achieves pre-authentication remote code execution.
The RCE was achieved by chaining CVE-2026-123633 with a separate memory disclosure vulnerability that leaked a libc pointer. This pointer was used to calculate the base address of libc, effectively bypassing Address Space Layout Randomization (ASLR).
It is important to note that the successful RCE chain required a non-default NGINX configuration. F5 assessed the memory disclosure bug as being limited to a non-typical configuration and has not assigned it a CVE. However, the demonstration confirms that under the right circumstances, the impact of this vulnerability can be elevated from DoS to full RCE as a non-root NGINX worker.
The immediate and most likely impact of exploiting CVE-2026-123633 is a denial of service. An unauthenticated attacker can repeatedly crash NGINX worker processes, rendering the web server or application proxy unavailable to legitimate users. For organizations relying on NGINX for critical, user-facing applications, this can lead to significant business disruption, revenue loss, and reputational damage.
The potential for RCE, while more complex to achieve, represents a far more severe threat. A successful RCE exploit would grant an attacker a foothold within the network perimeter, allowing them to perform reconnaissance, move laterally, exfiltrate data, or deploy additional malware. Given NGINX's common role as a reverse proxy and API gateway, a compromised NGINX instance could expose the entire backend infrastructure to the attacker.
The following patterns may help identify vulnerable systems or exploitation attempts:
*... client sent duplicated stream ...**... http2 handle connection ...*dmesg, Windows Event Viewer) for unexpected nginx process terminations with segmentation faults.HEADERS framesHEADERS frames from a single source.Defenders should focus on both identifying vulnerable instances and detecting active exploitation.
nginx -v will display the running version.error.log) for segmentation faults or other crash-related messages. An increase in worker process restarts is a strong indicator of instability that could be caused by exploitation.nginx process behavior. Configure alerts for unexpected process terminations or child processes spawned by an NGINX worker, which could indicate successful RCE.HEADERS frames from a specific IP address.The primary and most effective remediation is to upgrade to a patched version of NGINX.
1.31.9 or later.1.30.7 or later.apt, yum), update your system and ensure the NGINX package is upgraded to a version that includes the fix for CVE-2026-123633.http2 parameter from the listen directive in your NGINX configuration file. # Vulnerable Configuration
# listen 443 ssl http2;
# Mitigated Configuration (HTTP/2 disabled)
listen 443 ssl;
Warning: This is a temporary measure. Disabling HTTP/2 can negatively impact website performance. A full upgrade is the only permanent solution.
nginx -v. Monitor logs and application functionality to ensure the upgrade was successful and did not introduce new issues.The primary mitigation is to upgrade NGINX to a patched version (1.30.7+ or 1.31.9+).
Mapped D3FEND Techniques:
Enabling modern memory safety features like ASLR can make exploitation for RCE more difficult, though not impossible.
Mapped D3FEND Techniques:
Running NGINX in a container or with strict sandboxing rules can limit the impact of a successful RCE.
As a temporary workaround, disabling HTTP/2 on NGINX servers mitigates this specific attack vector.
Mapped D3FEND Techniques:
Palo Alto Networks Unit 42 publishes a detailed technical analysis of the NGINX use-after-free vulnerability, CVE-2026-123633.

Cybersecurity professional with over 10 years of specialized experience in security operations, threat intelligence, incident response, and security automation. Expertise spans SOAR/XSOAR orchestration, threat intelligence platforms, SIEM/UEBA analytics, and building cyber fusion centers. Background includes technical enablement, solution architecture for enterprise and government clients, and implementing security automation workflows across IR, TIP, and SOC use cases.
CyberNetSec.io uses automation to assist source monitoring, deduplication, observable extraction, and structured intelligence generation. Published analysis follows human-defined editorial standards and adds defensive context including MITRE ATT&CK, D3FEND, STIX, and Sigma where applicable. Read our editorial policy.
Help others stay informed about cybersecurity threats
Every tactic, technique, and sub-technique used in this threat has been identified and mapped to the MITRE ATT&CK framework for consistent, actionable threat language.
Observables and indicators of compromise (IOCs) have been extracted and cataloged. Risk has been assessed and correlated with known threat actors and historical campaigns.
Detection rules, incident response steps, and D3FEND-aligned mitigation strategies are included so your team can act on this intelligence immediately.
Structured threat data is packaged as a STIX 2.1 bundle and can be visualized as an interactive graph — relationships between actors, malware, techniques, and indicators.
Sigma detection rules are derived from the threat techniques in this article and can be converted for deployment across any major SIEM or EDR platform.