NGINX HTTP/2 flaw lets unauthenticated attackers crash servers, and may allow code execution in some setups
Unit 42 researchers have detailed CVE-2026-123633, a use-after-free vulnerability in NGINX's HTTP/2 support. An unauthenticated attacker may be able to crash a server, and F5's CVE record says code execution may be possible when address space layout randomization (ASLR) is disabled or bypassed.
The flaw affects NGINX servers that accept HTTP/2 client connections and proxy requests to a backend when free worker connections run low. A fragmented request can leave an active connection wrongly marked as reusable. Under connection pressure, NGINX can then close that connection and free memory the active request is still using.
The researcher, who is credited with the find, reproduced the bug on unmodified NGINX 1.31.7 and 1.31.8 using a test setup where a proxy route looked up a hostname during the request. In a separate memory disclosure bug, which F5 has not assigned a CVE, the researcher reported chaining the two to achieve remote code execution as the non-root NGINX worker. That chain needed a non-default configuration, and some attempts failed. Exploit steps and details of the second bug were withheld.
Severity ratings differ. F5's CVE record scores the issue 9.2 Critical under CVSS 4.0 and 8.1 High under CVSS 3.1, while the NGINX security advisories page labels it Medium. Affected versions are 1.19.7 through 1.30.6 and 1.31.0 through 1.31.8. The fixes are in NGINX 1.30.7 (stable) and 1.31.9 (mainline), and F5 also lists affected NGINX Plus releases.
Why it matters
Teams who rely on the Medium label on the advisories page may under-prioritise this, since F5's own CVE record rates it 9.2 Critical. Internet-facing NGINX reverse proxies with HTTP/2 are exposed without needing any credentials, and the report shows that a crash bug can become code execution when paired with a memory leak. The issue also depends on configuration (proxying with request-time hostname lookups), so exposure must be checked per deployment rather than assumed.
What to do
- Upgrade NGINX to 1.30.7 on the stable branch or 1.31.9 on the mainline branch.
- Check whether your NGINX version falls in the affected ranges of 1.19.7 through 1.30.6 or 1.31.0 through 1.31.8.
- Review which servers accept HTTP/2 connections and proxy requests to a backend.
- Apply the vendor package containing the CVE-2026-123633 fix if you install NGINX from a distribution or NGINX Plus.