A critical use-after-free vulnerability, tracked as CVE-2026-123633, has been identified in the NGINX HTTP/2 implementation. The flaw allows an unauthenticated attacker to trigger a denial-of-service condition by sending fragmented HTTP/2 requests. Under specific conditions involving high connection pressure, the vulnerability may potentially lead to remote code execution, particularly if address space layout randomization (ASLR) is bypassed or disabled.
The vulnerability stems from a flaw in how NGINX manages connection states. When a client sends a partial HTTP/2 HEADERS frame, the server marks the connection as reusable. However, in affected versions, the server fails to clear this reusable flag when it subsequently creates a live stream. This oversight allows the NGINX worker process to incorrectly identify an active, in-use connection as a candidate for reclamation when it needs to free up resources.
If the server experiences connection pressure—specifically when free worker connections fall below a certain threshold—it may attempt to drain the connection pool. Because the active connection is erroneously marked as reusable, the server may close it while a request is still being processed. This can result in the server freeing memory that is still actively being used by the request, such as DNS resolver state data. Researchers demonstrated that this memory corruption can be triggered during DNS lookups that require the allocation of new resolver sockets.
F5, the maintainer of NGINX, has confirmed the vulnerability and released patches in NGINX 1.30.7 (stable branch) and 1.31.9 (mainline branch). The issue affects versions 1.19.7 through 1.30.6 and 1.31.0 through 1.31.8. F5 has also provided updates for NGINX Plus releases. While the NGINX security advisory classifies the severity of this issue as medium, the official CVE record assigns it a critical score of 9.2 under the CVSS 4.0 framework.
The researcher who discovered the flaw, memN0ps of Palo Alto Networks Unit 42, successfully reproduced the use-after-free condition using AddressSanitizer (ASan) on unmodified NGINX builds. During testing, the researcher also identified a separate memory disclosure vulnerability that could leak libc pointers. By chaining this memory disclosure with the primary use-after-free bug, the researcher was able to achieve pre-authentication remote code execution against a non-root NGINX worker process.
F5 has noted that the memory disclosure issue is limited to non-typical configurations and has not assigned it a separate CVE identifier at this time. The researcher confirmed that the remote code execution chain required a non-default NGINX configuration and was not consistently reproducible.
Administrators are advised to review their HTTP/2 reverse-proxy configurations and ensure they are running patched versions of the software. Organizations are encouraged to upgrade to the latest releases or apply vendor-provided packages that incorporate the fixes for CVE-2026-123633. Additionally, security teams should be aware that this vulnerability is distinct from a separate DNS resolver issue, tracked as CVE-2026-123634, which was addressed in the same release cycle.



