CVE-2026-123633: NGINX HTTP/2 use-after-free when a worker runs low on connections

ByLinuxtastic

November 30, 2026 #CVE, #NGINX

An nginx that accepts HTTP/2 from clients and proxies the requests to a backend could, when its worker process was running low on worker_connections, be made to free a connection that still had streams on it and then use it: a use-after-free in the worker, triggered by a crafted request from anyone who can reach the listener. F5 says the usual outcome is a worker crash and that code execution is possible where ASLR is off or defeated. It is the most-scored of the ten nginx fixes of 18 November 2026 and the one with the highest EPSS, though it is not on CISA’s exploited list. Upgrade nginx to 1.31.9, 1.30.7 or your distribution’s patched package and restart it; if you cannot today, turn HTTP/2 off on public listeners until you can. Servers that do not enable HTTP/2, or that serve only static files without proxy_pass, are outside the stated preconditions.

CVE-2026-123633 at a glance.

ComponentNGINX Open Source and NGINX Plus, the HTTP/2 module (ngx_http_v2_module, file src/http/v2/ngx_http_v2.c); also the F5 products that bundle nginx (NGINX Ingress Controller, Gateway Fabric, App Protect, Instance Manager) per NVD’s CPE list
Affected versionsNGINX Open Source 1.19.7 to 1.31.8 (every release since the reusable-connection change) and 1.30.0 to 1.30.6; NGINX Plus R33 to R37 before 37.2.0.1 / 37.0.7.1. Debian and Ubuntu packages older than 1.19.7 were patched too: Ubuntu notes that cleartext listen ... http2 on those builds can reach the same path
Fixed inNGINX Open Source 1.31.9 (mainline) and 1.30.7 (stable), 18 November 2026, commit 0c87dd1d; NGINX Plus 37.2.0.1 and 37.0.7.1; distribution packages below
SeverityCVSS 4.0 9.2 Critical (AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H) and CVSS 3.1 8.1 High (AC:H) from the F5 CNA, repeated by NVD and Ubuntu. Red Hat Critical, 8.1 (CWE-825); Ubuntu high (“this is an RCE”). CWE-416 use after free. AC:H reflects the low-on-connections precondition and the ASLR requirement for code execution
Exploited in the wildNot on CISA’s Known Exploited Vulnerabilities list as of 30 November 2026; CISA’s SSVC says no known exploitation and not automatable. EPSS 0.2245 (98th percentile) on 29 November 2026, the highest of the batch
Who is exposedEvery nginx with http2 on (or the older listen ... http2) on a listener an attacker can reach, and a proxy_pass behind it: reverse proxies, ingress controllers, API gateways. An attacker needs to exhaust the worker’s connections first, which a single client can do against a default worker_connections 768 or 1024
PublishedCVE record and F5 advisory K000163928, 18 November 2026; this page built 30 November 2026, last updated 30 November 2026

What it is

nginx keeps a count of “reusable” connections, idle keep-alive connections it is allowed to close when a worker reaches its worker_connections limit and a new client arrives. Since 1.19.7 an HTTP/2 connection could be marked reusable, and the bug is that it stayed marked that way even once streams had been created on it. When the worker ran short of connections it picked the HTTP/2 connection to drain, tried to send GOAWAY, and, as the commit message explains, the attempt failed during the drain, so the connection was closed while its streams were still being processed. The streams then used the freed connection object: a classic use-after-free, with the attacker controlling the timing through the requests on those streams.

The preconditions are what keep this at AC:H. The worker has to be low on connections, which an attacker arranges by opening enough of them; the connection has to be proxying, which is the normal configuration behind a listener; and turning a free into code execution needs ASLR to be off or bypassed, which on a modern distribution kernel it is not by default. Without that last step the outcome is a worker crash, which nginx’s master process replaces, so the practical impact on a hardened host is a denial of service that is cheap to repeat. It is one of ten security fixes in nginx 1.31.9 and 1.30.7, released on 18 November 2026 and announced by F5 the same day; this site covers each CVE on its own page and lists the siblings under Related reading.

The fix is two lines in ngx_http_v2_create_stream(): when a stream is created, call ngx_reusable_connection(h2c->connection, 0) so the connection can no longer be chosen for draining while it has work. The commit, “HTTP/2: reset reusable connection status on stream creation”, credits Albert of Vexera AI; F5’s record also credits Wiz Research, Xint.io, Unit 42 and two independent researchers, which suggests the bug was found several times over before the fix shipped. Ubuntu applied a second upstream commit, 2df48a50, alongside it.

Who is affected on Linux

Each row is what the distribution’s own security tracker said on 30 November 2026; the link in the row is the tracker page, which will be newer than this one. All three major distributions had fixed packages within two days of the advisory.

DistributionStatusFixed package
Debian bookworm, trixie, forkyFixedbookworm 1.22.1-9+deb12u11 (DLA-4918-1); trixie 1.26.3-3+deb13u11 (DSA-6642-1); forky 1.30.6-4, sid 1.30.6-6
Ubuntu 20.04 to 26.04 and ESMFixed (priority high, USN-9159-1, 19 November 2026)jammy 1.18.0-6ubuntu14.23, noble 1.24.0-2ubuntu7.20, resolute 1.28.3-2ubuntu1.13, stonking 1.30.4-7ubuntu1.2; focal 1.18.0-0ubuntu1.7+esm5 and bionic 1.14.0-0ubuntu1.11+esm6 under ESM
RHEL, Rocky, AlmaFixed (rated Critical, 8.1)RHEL 10.3 nginx-1.26.3-16.el10_3.3 (RHSA-2026:100744) and the RHEL 8, 9, 9.x EUS/E4S and 10.x EUS errata of 20 November 2026 (RHSA-2026:100745 to 100822); Red Hat Hardened Images nginx-main-1.30.7 (RHSA-2026:100838)
AlpineNot readthe Alpine tracker returned an error for this page; Alpine’s nginx package follows upstream mainline closely, so 1.31.9 or a patched 1.30.x is what to look for
Fedora, openSUSE, ArchNot consultedtrackers not read for this page
nginx.org packages, Docker nginx image, self-built binaries, OpenResty and other forksAffected below the fixed versionsnginx.org 1.31.9 or 1.30.7; the official Docker image tags 1.31.9 and 1.30.7; OpenResty and other forks need their own release built on 1.30.7 or later

How to check

Three questions, in order: is the running binary older than the fix, is HTTP/2 enabled on a reachable listener, and does that server block proxy to a backend. The running binary matters more than the package version, because an upgraded package does nothing until nginx is restarted.

# 1. the version that is actually running (not just installed)
nginx -v 2>&1
ps -o pid,lstart,args -C nginx | head -3
dpkg -l nginx 2>/dev/null | grep '^ii' ; rpm -q nginx 2>/dev/null
# affected: 1.19.7 .. 1.31.8 and 1.30.0 .. 1.30.6 (distribution builds: compare with the table above)

# 2. is HTTP/2 on, and on which listeners?
nginx -T 2>/dev/null | grep -nE '^\s*(listen\s.*\bhttp2\b|http2\s+on)'

# 3. do those server blocks proxy?
nginx -T 2>/dev/null | grep -nE '^\s*proxy_pass\s' | head
nginx -T 2>/dev/null | grep -nE '^\s*worker_connections' 

A fixed version in step 1 with a start time after the package upgrade means you are done. Step 2 printing nothing means HTTP/2 is off and the vulnerable module code is not reached from clients; most distribution defaults have it off, but most TLS-terminating proxies turn it on. A listener with HTTP/2 and a proxy_pass is the stated vulnerable configuration, and a small worker_connections makes the low-on-connections precondition easier to reach, not harder.

A triggered free crashes the worker, and nginx logs that. Look for workers exiting on a signal since the advisory date, and for the connection-exhaustion that precedes the trigger.

grep -hE 'worker process [0-9]+ exited on signal (11|6)' /var/log/nginx/error.log* 2>/dev/null | tail
grep -hE 'worker_connections are not enough' /var/log/nginx/error.log* 2>/dev/null | tail
journalctl -u nginx --since '2026-11-18' | grep -iE 'exited on signal|segfault' | tail

A segmentation fault (signal 11) in a worker that was proxying HTTP/2 traffic, especially alongside “worker_connections are not enough”, is consistent with this bug being triggered. It is not proof of code execution; on a host with ASLR it is a crash. Repeated crashes from the same client address are someone trying.

How to fix it

Upgrade the package and restart nginx, or do the binary upgrade with USR2 if you cannot drop connections. Both Debian and Ubuntu shipped the fix on 19 November, Red Hat on 20 November, so on those systems it is a package update away.

# Debian / Ubuntu
apt update && apt install --only-upgrade nginx
# RHEL family (module streams: dnf update nginx:1.26)
dnf update nginx
# Alpine
apk upgrade nginx
# nginx.org repository or self-built: install 1.31.9 (mainline) or 1.30.7 (stable)

# a new binary is not running until the master re-executes or restarts
nginx -t && systemctl restart nginx          # or: kill -USR2 $(cat /run/nginx.pid) for a zero-downtime binary upgrade
nginx -v                                     # must print the fixed version
ps -o pid,lstart,args -C nginx | head -3     # start time must be after the upgrade

If you cannot upgrade today, remove the precondition: turn HTTP/2 off on listeners the public can reach. Clients fall back to HTTP/1.1 and nothing breaks except a little latency. Raising worker_connections makes the low-on-connections state harder to reach but is not a fix.

# in each server block (1.25.1 and later syntax)
http2 off;
# older syntax: remove the http2 word from the listen directive
# listen 443 ssl http2;  ->  listen 443 ssl;
nginx -t && nginx -s reload
nginx -T 2>/dev/null | grep -cE 'http2\s+on|listen\s.*\bhttp2\b'     # must be 0 on public listeners

Do not count the package upgrade as done until ps shows a master process started after it; nginx keeps running the old code until it is restarted or re-executed, and the reload signal does not replace the binary. Do not leave HTTP/2 off permanently as the fix either; the upgrade is the fix, and HTTP/2 is worth having back.

Sources

  • CVE-2026-123633 at CVE.org — the F5 CNA record (18 November 2026): description, affected ranges for NGINX Open Source and NGINX Plus, CVSS 4.0 and 3.1 vectors, CWE-416
  • NVD entry — Modified; F5’s scores; CPE ranges for the other F5 products that bundle NGINX
  • F5 advisory K000163928 — the vendor advisory the record cites (the page renders only in a browser, so its contents are taken from the CVE record and from nginx.org below)
  • nginx.org security advisories — the affected and fixed version ranges for every CVE in the batch, and nginx CHANGES for the 1.31.9 entry of 18 November 2026
  • Fix commit 0c87dd1d — “HTTP/2: reset reusable connection status on stream creation”, two lines in src/http/v2/ngx_http_v2.c
  • GHSA-7xxj-p8w5-434q — the GitHub advisory mirror (unreviewed), CVSS 4.0 9.2
  • Distribution trackers: Debian · Ubuntu · Red Hat; USN-9159-1, DSA-6642-1, DLA-4918-1
  • EPSS score for this CVE, 29 November 2026

Related reading

This advisory page was assembled from the primary sources listed above on 30 November 2026 and is updated when they change. The facts are theirs; the checks and the ordering are ours. If a row in the distribution table is out of date, the tracker link in that row is the current word.