CVE-2026-9256: Heap buffer overflow in NGINX ngx_http_rewrite_module
- Vendors
- Debian ProjectRed HatF5
CVE-2026-9256 is a heap-based buffer overflow in the ngx_http_rewrite_module component of NGINX Plus and NGINX Open Source. The vulnerability occurs when a rewrite directive uses distinct, overlapping Perl-Compatible Regular Expression (PCRE) capture groups and its replacement string references multiple overlapping captures in a redirect or arguments context. An unauthenticated remote attacker can trigger the overflow through crafted HTTP requests, subject to additional conditions beyond the attacker's control. Exploitation can terminate and restart an NGINX worker process and may permit arbitrary code execution if Address Space Layout Randomization (ASLR) is disabled or bypassed.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Exploitation can disrupt HTTP service by crashing an NGINX worker process and causing it to restart. Where ASLR is disabled or bypassed, the heap corruption can permit arbitrary code execution in the worker process context, potentially compromising the confidentiality, integrity, and availability of resources accessible to that process. Root-level execution is not established.
Mitigation
If you can’t patch tonight, do this now.
Remove or rewrite affected rewrite directives so that replacement strings in redirect or arguments contexts do not reference multiple distinct, overlapping PCRE capture groups. Keep ASLR enabled; it reduces the stated code-execution risk but does not prevent the worker-crash denial-of-service condition. Restrict untrusted network access to affected HTTP services where operationally possible until updates are deployed.
Remediation
Patch, then assume compromise.
Apply the security update appropriate to the NGINX product, distribution, and support stream. Fixed Debian packages include 1.22.1-9+deb12u8 for bookworm and 1.26.3-3+deb13u6 for trixie. Affected VMware Tanzu deployments should upgrade to NGINX Buildpack 1.2.87 or Staticfile Buildpack 1.6.82, as applicable. For RHEL and CIQ-supported Rocky Linux deployments, install the updated packages specified by the applicable security advisory. Exact upstream NGINX Plus and NGINX Open Source fixed-version boundaries are not specified. Versions beyond End of Technical Support were not evaluated.
Exploits
3 exploits validated by Mallory's analysis. Hidden: 6 rejected by Mallory's analysis as not a working exploit.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2026-9256 exploited in the wild?
- As of Nov 27, 2026, Mallory has no reports of CVE-2026-9256 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2026-9256?
- Yes. Mallory tracks 3 public exploits or proofs of concept for CVE-2026-9256, the earliest disclosed May 28, 2026.
- Is there a patch for CVE-2026-9256?
- Apply the security update appropriate to the NGINX product, distribution, and support stream. Fixed Debian packages include 1.22.1-9+deb12u8 for bookworm and 1.26.3-3+deb13u6 for trixie.
- What products are affected by CVE-2026-9256?
- F5 Nginx, F5 Nginx Plus, Debian Project Debian Linux, Red Hat Discovery, F5 Dos, and 7 more.
- How severe is CVE-2026-9256?
- CVE-2026-9256 has a CVSS v4 score of 9.2 (Critical) and an EPSS score of 8.3% (96th percentile) as of Nov 27, 2026.
Recent activity
90 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.