nginx HTTP/2 flaws · fixed 18 Nov 2026

nginx HTTP/2 flaws CVE-2026-123007 and CVE-2026-123633: is your website affected?

Two memory bugs in nginx’s HTTP/2 code can let an attacker run code on the server without logging in, according to the researchers who found them. They affect nginx with HTTP/2 switched on; nginx 1.30.7 (stable) and 1.31.9 (mainline) fix them. Enter your domain: we check whether nginx with HTTP/2 serves it and which version it reports.

The check reads your start page once and opens one TLS connection, like a browser does. Nothing is attacked or tested. Last updated:

In short: nginx with HTTP/2 switched on has two memory bugs (CVE-2026-123007 from nginx 1.9.5 on, CVE-2026-123633 from 1.19.7 on) that the researchers say allow code execution without login. The fix is nginx 1.30.7 (stable) or 1.31.9 (mainline), released on 18 November 2026; 1.31.0 to 1.31.8 are newer than 1.30.7 and still affected. Until you update, “http2 off;” closes these two, but not the eight other flaws the same release fixes. Rapid7 published a proof-of-concept for one of them; no attacks in the wild have been reported.

Own server or VPS

Check your nginx version yourself

Run one of these on the server and paste the output below. The check runs in your browser; nothing is sent.

Version
nginx -v
Is HTTP/2 compiled in?
nginx -V 2>&1 | grep -o with-http_v2_module
Is HTTP/2 switched on?
nginx -T 2>/dev/null | grep -E "http2|listen .* ssl"
Debian, Ubuntu package version
dpkg -l nginx | tail -1
RHEL, Rocky, Alma, Fedora package version
rpm -q nginx

Only the version is checked here. Both flaws also need HTTP/2: if a listen line has “http2” or the config says “http2 on;”, treat it as on. If nginx came from your distribution’s package, the number does not change when the fix is backported: check the package version (dpkg -l nginx or rpm -q nginx) against the distribution’s advisory.

Stopgap: switch HTTP/2 off

Until the fixed nginx is installed, HTTP/1.1 only closes these two paths. Set this in each server block (nginx 1.25.1 and newer), or remove “http2” from the listen line on older versions, test and then restart nginx:

server {
    listen 443 ssl;
    http2 off;
}

# older than 1.25.1: listen 443 ssl http2;  ->  listen 443 ssl;
nginx -t && systemctl restart nginx

This is a stopgap, not the fix: the same release repairs ten flaws, and switching HTTP/2 off covers only these two (HTTP/3, the resolver and the mail proxy, among others, are unaffected by it). Restart rather than reload, because a reload can leave old workers running. Switch HTTP/2 back on once the fixed nginx runs. If your server also offers HTTP/3 (Alt-Svc: h3), its own flaw CVE-2026-121810 needs the update too.

What happened

Two memory bugs in nginx’s HTTP/2 code

On 18 November 2026 nginx released 1.30.7 (stable) and 1.31.9 (mainline) with fixes for ten vulnerabilities. Two of them sit in the HTTP/2 module: CVE-2026-123007, memory corruption in HTTP/2 flow control, and CVE-2026-123633, a use-after-free in HTTP/2. Researchers from Wiz, Xint, Rapid7 and others found them independently and say an unauthenticated attacker can run code on the server.

  • Only servers with HTTP/2 switched on are affected by these two. A server limited to HTTP/1.1 is not.
  • The fix is per branch. 1.30.7 is older than 1.31.0, so 1.31.0 to 1.31.8 are newer than 1.30.7 and still affected; 1.31.9 and newer are fixed. Branches before 1.30 get no fix from the nginx project: move to 1.30.7 or newer.
  • CVE-2026-123633 needs nginx to proxy requests to a backend and to run short of worker_connections. CVE-2026-123007 was shown against plain static-file serving.
  • Shared hosting: your hosting provider has to update. Your own server, VPS or container: you do. Container images and ingress controllers bring their own nginx: check the version inside the image.
  • Behind a CDN, the CDN speaks HTTP/2 to visitors, and Rapid7 says its exploit is unlikely to work through a proxy. Update the origin nginx anyway.
  • Xint, which calls its exploit chain NGINX2Root, chained the nginx bug with a separate Linux kernel flaw (SCTP, no CVE yet) to reach host root. Hosts that do not need SCTP can block the module: install sctp /bin/false in a file under /etc/modprobe.d/.
CVEs
CVE-2026-123007 (HTTP/2 flow control), CVE-2026-123633 (HTTP/2 use-after-free)
Affected
CVE-2026-123007: 1.9.5 to 1.31.8 · CVE-2026-123633: 1.19.7 to 1.31.8
Fixed in
1.30.7 (stable) and 1.31.9 (mainline), 18 Nov 2026
NGINX Plus
37.0.8.1 and 37.3.0.1 (Rapid7, Wiz)
Condition
HTTP/2 switched on
Severity
nginx.org rates CVE-2026-123007 “major” and CVE-2026-123633 “medium”. Wiz calls both critical (CVSS 4.0: 9.2); Rapid7 rates CVE-2026-123007 critical (CVSS 4.0: 9.2).
Exploitation
Rapid7 published a proof-of-concept for CVE-2026-123007 on GitHub on 18 November 2026. By its own account it needs about 128 GB of HTTP/2 traffic, a CPU with AVX512 (it depends on glibc’s AVX512 memcpy routine on x86-64) and a connection that is not proxied. Wiz and Xint withheld their exploits. No attacks in the wild have been reported (as of 18 November 2026).

Versions and ratings are from nginx.org’s advisory list; the other figures are from the sources below. The F5 article could not be loaded when these facts were read.

What to do

Three steps

01

Check your site

Run the check above. It shows whether nginx with HTTP/2 answers and which version it reports. Behind a CDN it says so, and cannot see further.

02

Shared hosting: ask your provider

Ask which nginx build serves your site and when 1.30.7 or 1.31.9 (or the distribution’s fixed package) is live. We have no provider statements for this one yet.

03

Own server: update, or switch HTTP/2 off

Install nginx 1.30.7 or 1.31.9, or your distribution’s fixed package, and restart nginx. Until then, switch HTTP/2 off and restart.

Own server or VPS

Rather have us do it?

We check which nginx your servers run, switch HTTP/2 off as a stopgap if needed, install the fix and test your sites. The first assessment is free; you get a quote before anything happens.

Secure verification – no spam, never sold

Please don't send passwords or access details. We agree on secure access with you. Privacy notice

id="faq" aria-labelledby="faq-title">

Questions

Frequently asked questions

What are CVE-2026-123007 and CVE-2026-123633?

Two memory-safety flaws in nginx’s HTTP/2 code, disclosed on 18 November 2026. CVE-2026-123007 is memory corruption in HTTP/2 flow control (an integer underflow); CVE-2026-123633 is a use-after-free in HTTP/2. The researchers say each allows code execution without login.

Which nginx versions are affected, and which are fixed?

CVE-2026-123007: 1.9.5 through 1.31.8. CVE-2026-123633: 1.19.7 through 1.31.8. Fixed: 1.30.7 on the stable branch and 1.31.9 on the mainline branch, and newer. The fix is per branch: 1.31.0 to 1.31.8 are newer than 1.30.7 but not fixed. NGINX Plus is fixed in 37.0.8.1 and 37.3.0.1.

Am I affected if HTTP/2 is off?

Not by these two: both are in the HTTP/2 code path. But the same release fixes eight other flaws (HTTP/3, the resolver, the mail proxy, TLS 1.3 request bodies, PROXY protocol v2, alias with try_files and two in the stream module), and HTTP/2 off covers none of them. Update anyway.

My site says only “nginx” without a version, or sits behind Cloudflare. Is it affected?

We cannot tell from outside. With the version hidden and HTTP/2 on, nginx is likely still unpatched, because the fix is new. Behind a CDN or proxy, HTTP/2 is the CDN’s, and the check says so instead of guessing. Go by your provider’s statement, or ask them.

My server shows nginx/1.22.1 or nginx/1.24.0 (Ubuntu). Is that fixed?

The number alone does not tell. Distributions backport fixes and keep the old number: Debian 12 ships 1.22.1, Ubuntu 22.04 ships 1.18.0, Ubuntu 24.04 ships 1.24.0. On 18 November 2026 we found no distribution advisory for these two flaws yet. Check the package version (dpkg -l nginx or rpm -q nginx) against the distribution’s security tracker, and switch HTTP/2 off until it names a fixed package.

How bad is it, and is it being exploited?

nginx.org rates CVE-2026-123007 “major” and CVE-2026-123633 “medium”. Wiz calls both critical (CVSS 4.0: 9.2); Rapid7 rates CVE-2026-123007 critical (CVSS 4.0: 9.2). Rapid7 published a proof-of-concept for CVE-2026-123007 on GitHub on 18 November 2026. By its own account it needs about 128 GB of HTTP/2 traffic, a CPU with AVX512 (it depends on glibc’s AVX512 memcpy routine on x86-64) and a connection that is not proxied. Wiz and Xint withheld their exploits. No attacks in the wild have been reported (as of 18 November 2026). Treat it as urgent anyway: the researchers say it allows code execution without login.

Does switching HTTP/2 off fix it?

It closes these two flaws only, and only until you switch it back on. It is a stopgap: set “http2 off;”, test the config and restart nginx (a reload can leave old workers running). The real fix is nginx 1.30.7, 1.31.9 or your distribution’s fixed package.

What does your check do to my website?

It loads your start page once and opens one TLS connection offering HTTP/2, then closes it, like a browser. It sends no HTTP/2 traffic and does not try the flaws. That is why it can say “nginx with HTTP/2 on, version X”, but never “vulnerable” or “safe” beyond that.

Is Apache, OpenResty or NGINX Plus affected?

Apache httpd is not affected by these two (it has its own HTTP/2 flaw, CVE-2026-119618; see our Apache check). OpenResty, Angie and Tengine number their own releases, so ask the vendor. NGINX Plus has its own fixed builds, 37.0.8.1 and 37.3.0.1, and its customers should read F5’s advisory K000163926.

Sources

Last checked against sources: