NGINX Plus and NGINX Open Source HTTP/2 (ngx_http_v2_module)

CVE-2026-123007: NGINX HTTP/2 flow-control underflow allows remote code execution

An integer underflow in NGINX's HTTP/2 flow control can corrupt the heap and, under the right conditions, give an unauthenticated attacker code execution. No exploitation has been reported, but Rapid7 has published a proof of concept.

Published Updated F5 advisory K000163926

ExploitedNot in CISA KEV
Ransomware useNot reportedPer CISA
SeverityCRITICALCVSS 4.0 9.2
EPSS28%Chance of exploitation in 30 days
Public exploitYes
FixAvailable

Affected and fixed versions

Product / branchFixed in
NGINX Open Source 1.31.0 to 1.31.81.31.9 or later
NGINX Open Source 1.9.5 to 1.30.61.30.7 or later
NGINX Plus 37.1.0 to before 37.3.0.137.3.0.1 or later
NGINX Plus 37.0.0 to before 37.0.8.137.0.8.1 or later
NGINX Plus R33 to R36No fixed version listed. Move to a fixed 37.x release

Always confirm against the vendor advisory, which lists every fixed hotfix.

What it is

A bug in NGINX’s HTTP/2 flow control. A client can make NGINX hand back the same send credit twice, so the connection’s send window ends up above the protocol maximum. A later check wraps around (CWE-191 integer underflow), and NGINX then copies a huge, invalid length of memory. That gives out-of-bounds reads and writes on the heap (CWE-787).

The CVE record says this usually crashes an NGINX worker, and that an attacker may get code execution where ASLR is off or can be bypassed. It is a data-plane issue only. F5 rates it 9.2 critical in CVSS 4.0 and 8.1 high in CVSS 3.1. The attack complexity is high, and the CVE record lists no workaround. CISA’s SSVC entry in the record says no exploitation, not automatable, total technical impact.

Exploitation is demanding, but it has been shown:

  • Rapid7 published a proof of concept. It runs commands as the worker user against a linux/amd64 Docker image of nginx 1.31.8. Rapid7 says the technique depends on the build and on the glibc memcpy routine selected for the CPU.
  • Wiz Research built working exploits, including an ASLR bypass on official 1.31.7 and 1.31.8 builds. It says it won’t release them.
  • Xint.io found the bug too, and says the response leaks the addresses an attacker needs.
  • The attack needs roughly 128 GB of HTTP/2 traffic on one connection (Rapid7). That takes about 2 minutes at 10 Gbit/s, and Rapid7 says slower links probably can’t finish within NGINX’s default one-hour connection lifetime.

Rapid7 and Wiz report no exploitation in the wild. PatchTonight’s copy of the CISA KEV catalog (2026.11.23) doesn’t list it. FIRST’s EPSS gave it 28% on 2026-11-22 (percentile 98%).

The same NGINX release fixes several other critical bugs, including CVE-2026-113425 in the mail proxy. Wiz also reports a separate HTTP/2 use-after-free, CVE-2026-123633. Both HTTP/2 bugs are fixed by the same versions, apart from NGINX Plus builds. See the F5 advisory for those.

Am I affected?

You are exposed if HTTP/2 is enabled on a listener and you run an affected version:

  • NGINX Open Source 1.9.5 to 1.30.6, and 1.31.0 to 1.31.8.
  • NGINX Plus 37.0.0 to before 37.0.8.1, and 37.1.0 to before 37.3.0.1.
  • NGINX Plus R33 to R36. The CVE record and Rapid7 disagree on the exact range, and neither lists a fix. Treat these as affected.

Wiz says the bug is exploitable in a default configuration with HTTP/2 enabled, serving plain static files, with no backend or third-party modules. Rapid7’s proof of concept used http2 on with TLS.

To check, look in your configuration for http2 on; or the http2 parameter on a listen directive. Check the version with nginx -v.

Not affected:

  • Servers with HTTP/2 off. Xint.io says disabling HTTP/2 blocks this bug.
  • F5 says versions past End of Technical Support were not evaluated. Don’t read that as “safe”.
  • Distribution packages may carry a backported fix without changing the reported version. Check your vendor’s advisory (Ubuntu and Red Hat both have pages for this CVE).
  • Siemens lists Industrial Edge Cloud Device, Device Kit, Own Device and Virtual Device as affected (SSA-935812). Siemens Industrial Edge Hub and Management products are listed as not affected.

Rapid7 says proxied HTTP/2 connections, for example behind a CDN or WAF that terminates HTTP/2, probably wouldn’t keep the attacker’s frames in a usable form. Wiz says such front ends may partly mitigate it. Don’t rely on that for servers that terminate HTTP/2 themselves.

What to do

  1. Upgrade. NGINX Open Source: 1.31.9 (mainline) or 1.30.7 (stable). NGINX Plus: 37.3.0.1 or 37.0.8.1. Follow F5 advisory K000163926.
  2. If you can’t upgrade tonight, disable HTTP/2. Wiz’s guidance: set http2 off; in each affected server block (NGINX 1.25.1 or later), and remove the http2 parameter from listen directives. Then test, reload, and confirm the old workers have exited. The CVE record lists no workaround, so treat this as Wiz’s advice, not F5’s. Production impact: clients fall back to HTTP/1.1, which can be slower for busy pages. Re-enable HTTP/2 after upgrading.
  3. Move NGINX Plus R33 to R36 to a fixed 37.x release. No fix is listed for them.
  4. If a server was exposed, look for the signs below. A worker running commands or a long-lived upload-heavy connection is a reason to treat the host as compromised: rebuild it and rotate any secrets and TLS private keys it held. Workers run as the NGINX worker user, but a code-execution bug in a front-line server is a foothold for more.

Detection

No indicators of compromise have been published. These ideas come from Xint.io and Wiz.

  • Shape of the attack. Xint.io suggests looking in ss connection statistics for one long-lived connection where bytes received keeps climbing while bytes sent stays small, next to many short TLS connections from the same IP. Wiz suggests alerting on long-lived HTTP/2 connections that move very large volumes of data, since the attack needs many WINDOW_UPDATE frames.
  • Access logs say little. WINDOW_UPDATE and RST_STREAM frames aren’t logged as requests. Xint.io gives a custom h2_hunt log format that adds the connection ID and request count. See the Xint.io article for the format.
  • Commands run by the worker. Xint.io suggests auditing execve calls from the NGINX worker’s user. A shell started by a worker is a strong sign of compromise. The rule only records events after you install it.
  • Crashes. Check error.log for worker exits on signal 11, and coredumpctl. Failed attempts can crash workers.
  • Scanning. Rapid7 InsightVM, Nexpose and Exposure Command have an unauthenticated check, in the 2026-11-19 content release.

Indicators of compromise

Checked the CVE record, Rapid7, Wiz and Xint.io. None report exploitation or publish indicators. Detection ideas from Xint.io are under Detection.

No indicators of compromise have been published for this CVE yet. We'll add them here if the vendor or a researcher releases any. Until then, use the behaviour in Detection.

Sources

Spotted a mistake on this page? Tell us, and we'll fix it.

Page changelog

  • Full analysis published.

KEV status, EPSS score and vendor data refreshed automatically, last on 24 Nov 2026.

Get alerts

A notification when we publish a new analysis or a covered vendor gets a new actively exploited CVE. No account, no email.

Tell us what you think

What do you rely on here, what's missing, which vendor should we add? Every message is read by the editor.

Write to us

contact-us@patchtonight.com