CVE-2026-123633 scores 9.2 (Critical) under CVSS 4.0, according to F5, and describes a use‑after‑free in NGINX's HTTP/2 path that can let an unauthenticated client cause a denial of service — and, in limited circumstances, may enable code execution if address space layout randomization (ASLR) is disabled or bypassed.
How the bug works: a stale "reusable" mark and a reclaimed connection
The flaw appears when an NGINX worker accepts HTTP/2 client connections and proxies requests to a backend while free worker connection slots run low. A fragmented HTTP/2 HEADERS frame can cause NGINX to mark a connection "reusable" when only part of the frame header has arrived. When the client later finishes the frame, NGINX creates a live stream but — in affected releases — leaves that reusable mark set.
Under connection pressure, NGINX's drain logic can select such a connection, close it, and free memory the still‑active request uses. In the path reproduced by Unit 42, a request that triggered an on‑request DNS lookup caused the worker to open a UDP resolver socket; allocating that socket required a connection slot and ran ngx_drain_connections(), which closed the live connection and freed resolver state that the request still referenced, producing a use‑after‑free.
Evidence and reproduction by Unit 42
Palo Alto Networks Unit 42 reproduced the defect with AddressSanitizer (ASan) on source builds of NGINX 1.31.7 and 1.31.8. Their ASan run on Debian stopped NGINX at the first read from freed DNS lookup memory; source review showed later code paths could also write through the stale pointer.
Unit 42 reported the issue privately to F5. Their tests used an HTTP/2 proxy route with a variable upstream that evaluated to a hostname (causing an in‑request DNS lookup) and a configuration where the worker had to open a new UDP socket for the resolver. The team also chained a separate memory disclosure to bypass ASLR and achieve pre‑authentication remote code execution in a two‑VM demonstration; F5 assessed that disclosure as a behavior limited to a non‑typical configuration and has not assigned it a CVE.

Your scanner finds 4,000 vulns. Which 12 matter?
Nubivance is a Rapid7 Registered Partner delivering vulnerability management as a service - scanning, risk-based prioritization, and remediation follow-through across IT and OT.
Fix the backlogVersions, vendor scores, and the fix
- NGINX security advisories list versions 1.19.7 through 1.30.6 and 1.31.0 through 1.31.8 as affected; NGINX 1.30.7 (stable) and 1.31.9 (mainline) contain the fix.
- F5's CVE record scores the issue 9.2 Critical under CVSS 4.0 and 8.1 High under CVSS 3.1; the NGINX security advisories page labels the issue Medium.
- F5 also lists affected NGINX Plus releases; F5 credits memN0ps (Palo Alto Networks Unit 42) among the reporters.
Mitigation, detection signals, and operational steps
Administrators should prioritize upgrading to a fixed NGINX release or to a vendor package containing the fix. If an immediate upgrade is impossible, Unit 42 lists configuration changes that can reduce exposure but are not full workarounds:
- Disable HTTP/2 on exposed listeners where the service allows it. Check every relevant listen ... http2 parameter and any http2 on; setting in the http or server context (NGINX 1.25.1+ semantics apply). Note: this may affect gRPC clients and can change connection counts.
- Raise worker_connections to give workers more headroom, while recognizing an attacker can still exhaust added slots and the underlying bug remains.
- Test each change before deployment and, after upgrading, perform a full restart or live binary upgrade — a configuration reload (nginx -s reload) can leave the old binary running in memory.
Unit 42 suggests practical detection leads for hunting CVE‑2026‑123633: connection‑drain warnings containing the text "worker_connections are not enough, reusing connections" (logged at most once per second per worker), unexpected NGINX worker termination near HTTP/2 traffic and connection pressure, and unexpected shell processes running as the NGINX worker account when investigating suspected code execution.
What this means for NGINX operators, incident responders, and Palo Alto Networks customers
NGINX operators should review any HTTP/2 reverse‑proxy routes that use variable backends (proxy_pass, and also variable routes in grpc_pass, fastcgi_pass, uwsgi_pass, scgi_pass) and confirm whether the running build includes the HTTP/2 module and the fixed binary. Incident responders should watch for the drain warning, worker exits during HTTP/2 traffic spikes, and unexpected worker‑account shells as investigation leads. Palo Alto Networks customers are offered additional protections and services from Unit 42 — including Threat Intel Services, Deep and Dark Web Service, and Unit 42 Incident Response — and may use Cortex XDR, XSIAM, and Cortex Agentic Endpoint Security as described by Palo Alto Networks.
If you believe you may have been compromised or require urgent assistance, Unit 42 provides regional contact numbers in the advisory.
For the full technical writeup and original advisory, see https://unit42.paloaltonetworks.com/cve-2026-123633-nginx-http2-vulnerability/




