PortGate

Advisories · Web servers

CVE-2026-123007 High CVSS pending

nginx HTTP/2 flow-control memory corruption

Disclosed 18 Nov 2026 · Last reviewed 2 Dec 2026

An overflow of the HTTP/2 flow-control window corrupts memory in nginx. nginx rates it major. Any public listener with http2 enabled is in scope.

What happened

nginx did not keep the HTTP/2 flow-control window within its limits in every path, so a client could push it past the maximum and corrupt memory in the worker process. The issue was reported with four other memory-safety bugs fixed in the same release.

Affected and patched versions

Affected
nginx 1.9.5 through 1.31.8 with HTTP/2 enabled. The same release fixes CVE-2026-123633, an HTTP/2 use-after-free in 1.19.7–1.31.8, and eight other issues.
Patched
nginx 1.30.7 (stable) and 1.31.9 (mainline), released 18 November 2026.

How to check your server

Check

nginx -v 2>&1
sudo nginx -T 2>/dev/null | grep -nE 'http2|listen .*ssl'

How to fix and harden

  1. Run the version check. Anything below 1.30.7 on the stable line, or below 1.31.9 on mainline, is affected when HTTP/2 is on.
  2. Install 1.30.7 or 1.31.9 from nginx.org, or your distribution's patched package. Check the distribution tracker: some packages still printed an older version on 18 November.
  3. Test the configuration and reload nginx.
  4. If no fixed package is available yet, turn HTTP/2 off on public listeners (remove http2 from listen, or set http2 off;) until you can upgrade.

Fix

sudo apt update && sudo apt install --only-upgrade nginx
sudo nginx -t && sudo systemctl reload nginx

Sources

Version ranges and fixes follow the vendor advisory. When a distribution backports a fix, trust its security tracker over the upstream version number. New advisories: RSS · JSON