Critical NGINX HTTP/2 Heap Buffer Overflow (CVE-2026-123007)
A critical vulnerability in NGINX HTTP/2 handling can lead to a heap buffer overflow, potentially causing worker crashes or remote code execution. Affects NGINX Plus and Open Source with HTTP/2 enabled. Fixed in nginx 1.30.7 (stable) and 1.31.9 (mainline); upgrade now.
Overview
CVE-2026-123007 is a critical vulnerability in NGINX configurations that use HTTP/2. When NGINX processes undisclosed traffic, the flow control window can exceed the allowed threshold, potentially resulting in a heap buffer overflow. This typically causes an NGINX worker segmentation fault, but attackers could also corrupt memory or execute code remotely if ASLR is disabled or bypassed.
Fixed versions
According to the official nginx security advisories, this is fixed in nginx 1.31.9 (mainline) and nginx 1.30.7 (stable), released on 18 November 2026. Vulnerable: nginx 1.9.5 to 1.31.8. NGINX Plus users should follow F5 advisory K000163926 for their fixed release.
Impact
- Crash : NGINX worker process can crash, leading to denial of service. - Memory corruption : Potential for arbitrary memory writes. - Remote code execution : Possible on systems with ASLR disabled or bypassed.
This is a data plane issue only; there is no control plane exposure.
Affected Products
- NGINX Plus - NGINX Open Source
Configurations using HTTP/2 are affected. Software versions that have reached End of Technical Support (EoTS) are not evaluated.
Sources
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-123007 - F5 Advisory: https://my.f5.com/manage/s/article/K000163926 - Red Hat CVE: https://access.redhat.com/security/cve/cve-2026-123007 - nginx security advisories: https://nginx.org/en/security_advisories.html - Additional references: Cyberscoop, GitHub advisories, Azure AKS issue
What to do
1. Review the vendor advisories – Consult the F5 advisory (K000163926) and Red Hat CVE page for affected versions and patch details. 2. Upgrade nginx – Install nginx 1.30.7 (stable) or 1.31.9 (mainline) or later. NGINX Plus users should follow F5 advisory K000163926. 3. Mitigate if patching is delayed – If HTTP/2 is not required, consider disabling it as a temporary workaround. Follow any additional mitigations provided in the advisory. 4. Monitor for exploitation – Watch for unusual NGINX worker crashes or unexpected memory behaviour. Check logs for signs of attempted exploitation. 5. Verify the fix – After restarting nginx, run nginx -v to confirm the new version is the one serving traffic.