CVE-2026-9256 NGINX ngx_http_rewrite_module vulnerability
- Published
- Updated
- Exploit status
- No public exploit known
Description
NGINX Plus and NGINX Open Source have a vulnerability in the ngx_http_rewrite_module module. This vulnerability exists when a rewrite directive uses a regex pattern with distinct, overlapping Perl-Compatible Regular Expression (PCRE) captures (for example, ^/((.*))$) and a replacement string that references multiple such captures (for example, $1$2) in a redirect or arguments context. An unauthenticated attacker along with conditions beyond their control can exploit this vulnerability by sending crafted HTTP requests. This may cause a heap buffer overflow in the NGINX worker process leading to a restart. Additionally, attackers can execute code on systems with Address Space Layout Randomization (ASLR) disabled or when the attacker can bypass ASLR.
Note: Software versions which have reached End of Technical Support (EoTS) are not evaluated.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| f5 NGINX Plus | >= 37.0, < 37.0.1.1 | 37.0.1.1 |
| f5 NGINX Plus | >= R36, < R36 P5 | R36 P5 |
| f5 NGINX Plus | >= R32, < R32 P7 | R32 P7 |
| f5 NGINX Open Source | >= 1.31.0, < 1.31.1 | 1.31.1 |
| f5 NGINX Open Source | >= 1.30.0, < 1.30.2 | 1.30.2 |
| f5 NGINX Open Source | >= 0.1.17, <= 0.9.7 | No fix listed |
| redhat enterprise linux | < 2:1.26.3-6.el10_2.4 | 2:1.26.3-6.el10_2.4 |
| redhat enterprise linux | < 8100020260611094050.489197e6 | 8100020260611094050.489197e6 |
| redhat enterprise linux | < 9080020260610161820.9 | 9080020260610161820.9 |
| redhat enterprise linux | < 2:1.20.1-28.el9_8.3 | 2:1.20.1-28.el9_8.3 |
| redhat enterprise linux | < 9080020260609152155.9 | 9080020260609152155.9 |
| redhat discovery | < 1782756541 | 1782756541 |
| redhat hummingbird | < 1.30.2-1.hum1 | 1.30.2-1.hum1 |
| redhat rhui | < 1784794818 | 1784794818 |
| redhat rhui | < 1784794778 | 1784794778 |
| redhat rhui | < 1784795076 | 1784795076 |
| redhat rhui | < 1787241211 | 1787241211 |
| redhat rhui | < 1787241260 | 1787241260 |
| redhat insights proxy | All versions | No fix listed |
| redhat/nginx(Red Hat:enterprise_linux:10.2) | < 2:1.26.3-6.el10_2.4 | 2:1.26.3-6.el10_2.4 |
| redhat/nginx:1.24-8100020260611094050.489197e6(Red Hat:enterprise_linux:8) | All versions | No fix listed |
| redhat/nginx:1.24-9080020260610161820.9(Red Hat:enterprise_linux:9) | All versions | No fix listed |
| redhat/nginx(Red Hat:enterprise_linux:9) | < 2:1.20.1-28.el9_8.3 | 2:1.20.1-28.el9_8.3 |
| redhat/nginx:1.26-9080020260609152155.9(Red Hat:enterprise_linux:9) | All versions | No fix listed |
| redhat/nginx(Red Hat:rhel_e4s:9.2) | < 1:1.20.1-14.el9_2.7 | 1:1.20.1-14.el9_2.7 |
Show 91 more
| Product | Affected versions | Fixed in |
|---|---|---|
| redhat/nginx(Red Hat:rhel_e4s:9.4) | < 1:1.20.1-16.el9_4.7 | 1:1.20.1-16.el9_4.7 |
| redhat/nginx(Red Hat:rhel_eus:9.6) | < 2:1.20.1-22.el9_6.7 | 2:1.20.1-22.el9_6.7 |
| redhat/discovery/discovery-ui-rhel9:1782756541(Red Hat:discovery:2::el9) | All versions | No fix listed |
| redhat/nginx-main(Red Hat:hummingbird:1) | < 1.30.2-1.hum1 | 1.30.2-1.hum1 |
| redhat/rhui5/cds-kubernetes-rhel9:1784794818(Red Hat:rhui:5::el9) | All versions | No fix listed |
| redhat/rhui5/cds-rhel9:1784794778(Red Hat:rhui:5::el9) | All versions | No fix listed |
| redhat/rhui5/rhua-rhel9:1784795076(Red Hat:rhui:5::el9) | All versions | No fix listed |
| redhat/rhui5/cds-kubernetes-tp-rhel9:1787241211(Red Hat:rhui:5::el9) | All versions | No fix listed |
| redhat/rhui5/rhua-tp-rhel9:1787241260(Red Hat:rhui:5::el9) | All versions | No fix listed |
| redhat/insights-proxy/insights-proxy-container-rhel9(Red Hat:insights_proxy:1) | All versions | No fix listed |
| ubuntu/nginx(Ubuntu:22.04) | < 1.18.0-6ubuntu14.12 | 1.18.0-6ubuntu14.12 |
| debian/nginx(Debian:12) | < 1.22.1-9+deb12u8 | 1.22.1-9+deb12u8 |
| debian/nginx(Debian:12) | = 1.22.1-9 | No fix listed |
| debian/nginx(Debian:12) | = 1.22.1-9+deb12u1 | No fix listed |
| debian/nginx(Debian:12) | = 1.22.1-9+deb12u2 | No fix listed |
| debian/nginx(Debian:12) | = 1.22.1-9+deb12u3 | No fix listed |
| debian/nginx(Debian:12) | = 1.22.1-9+deb12u4 | No fix listed |
| debian/nginx(Debian:12) | = 1.22.1-9+deb12u5 | No fix listed |
| debian/nginx(Debian:12) | = 1.22.1-9+deb12u6 | No fix listed |
| debian/nginx(Debian:12) | = 1.22.1-9+deb12u7 | No fix listed |
| debian/nginx(Debian:13) | < 1.26.3-3+deb13u6 | 1.26.3-3+deb13u6 |
| debian/nginx(Debian:13) | = 1.26.3-3 | No fix listed |
| debian/nginx(Debian:13) | = 1.26.3-3+deb13u1 | No fix listed |
| debian/nginx(Debian:13) | = 1.26.3-3+deb13u2 | No fix listed |
| debian/nginx(Debian:13) | = 1.26.3-3+deb13u3 | No fix listed |
| debian/nginx(Debian:13) | = 1.26.3-3+deb13u4 | No fix listed |
| debian/nginx(Debian:13) | = 1.26.3-3+deb13u5 | No fix listed |
| debian/nginx(Debian:14) | < 1.30.1-3 | 1.30.1-3 |
| debian/nginx(Debian:14) | = 1.26.3-3 | No fix listed |
| debian/nginx(Debian:14) | = 1.28.0-1 | No fix listed |
| debian/nginx(Debian:14) | = 1.28.0-2 | No fix listed |
| debian/nginx(Debian:14) | = 1.28.0-3 | No fix listed |
| debian/nginx(Debian:14) | = 1.28.0-4 | No fix listed |
| debian/nginx(Debian:14) | = 1.28.0-5 | No fix listed |
| debian/nginx(Debian:14) | = 1.28.0-6 | No fix listed |
| debian/nginx(Debian:14) | = 1.28.1-1 | No fix listed |
| debian/nginx(Debian:14) | = 1.28.1-2 | No fix listed |
| debian/nginx(Debian:14) | = 1.28.1-3 | No fix listed |
| debian/nginx(Debian:14) | = 1.28.2-1 | No fix listed |
| debian/nginx(Debian:14) | = 1.28.2-2 | No fix listed |
| debian/nginx(Debian:14) | = 1.28.2-3 | No fix listed |
| debian/nginx(Debian:14) | = 1.28.2-4 | No fix listed |
| debian/nginx(Debian:14) | = 1.28.3-1 | No fix listed |
| debian/nginx(Debian:14) | = 1.28.3-2 | No fix listed |
| debian/nginx(Debian:14) | = 1.30.0-1 | No fix listed |
| debian/nginx(Debian:14) | = 1.30.0-2 | No fix listed |
| debian/nginx(Debian:14) | = 1.30.0-3 | No fix listed |
| debian/nginx(Debian:14) | = 1.30.0-4 | No fix listed |
| debian/nginx(Debian:14) | = 1.30.1-1 | No fix listed |
| debian/nginx(Debian:14) | = 1.30.1-2 | No fix listed |
| alpine/nginx(Alpine:v3.21) | < 1.26.3-r1 | 1.26.3-r1 |
| alpine/nginx(Alpine:v3.22) | < 1.28.3-r2 | 1.28.3-r2 |
| alpine/nginx(Alpine:v3.23) | < 1.28.3-r2 | 1.28.3-r2 |
| alpine/nginx(Alpine:v3.24) | < 1.30.2-r0 | 1.30.2-r0 |
| ubuntu/nginx(Ubuntu:24.04) | < 1.24.0-2ubuntu7.9 | 1.24.0-2ubuntu7.9 |
| ubuntu/nginx(Ubuntu:26.04) | < 1.28.3-2ubuntu1.2 | 1.28.3-2ubuntu1.2 |
| f5 NGINX Open Source | >= 1.0.0, < 1.30.2 | 1.30.2 |
| f5 NGINX Open Source | = 1.31.0 | No fix listed |
| f5 NGINX Plus | >= r33, < r36 | r36 |
| f5 NGINX Plus | = 37.0.0.1 | No fix listed |
| f5 NGINX Plus | = r32 | No fix listed |
| f5 NGINX Plus | = r32-p1 | No fix listed |
| f5 NGINX Plus | = r32-p2 | No fix listed |
| f5 NGINX Plus | = r32-p3 | No fix listed |
| f5 NGINX Plus | = r32-p4 | No fix listed |
| f5 NGINX Plus | = r32-p5 | No fix listed |
| f5 NGINX Plus | = r32-p6 | No fix listed |
| f5 NGINX Plus | = r36 | No fix listed |
| f5 NGINX Plus | = r36-p1 | No fix listed |
| f5 NGINX Plus | = r36-p2 | No fix listed |
| f5 NGINX Plus | = r36-p3 | No fix listed |
| f5 NGINX Plus | = r36-p4 | No fix listed |
| f5 dos | >= 4.3.0, <= 4.7.0 | No fix listed |
| f5 dos | = 4.9.0 | No fix listed |
| f5 NGINX Gateway Fabric | >= 1.3.0, <= 1.6.2 | No fix listed |
| f5 NGINX Gateway Fabric | >= 2.0.0, < 2.6.2 | 2.6.2 |
| f5 NGINX Ingress Controller | >= 3.5.0, <= 3.7.2 | No fix listed |
| f5 NGINX Ingress Controller | >= 4.0.0, <= 4.0.1 | No fix listed |
| f5 NGINX Ingress Controller | >= 5.0.0, < 5.4.3 | 5.4.3 |
| f5 NGINX Instance Manager | >= 2.17.0, < 2.22.1 | 2.22.1 |
| f5 waf | >= 4.10.0, <= 4.16.0 | No fix listed |
| f5 waf | >= 5.2.0, <= 5.8.0 | No fix listed |
| f5 waf | >= 5.9.0, <= 5.13.0 | No fix listed |
| redhat discovery | All versions | No fix listed |
| redhat hardened images | All versions | No fix listed |
| redhat update infrastructure | >= 5.0, < 5.2 | 5.2 |
| debian linux | = 11.0 | No fix listed |
| redhat enterprise linux | = 8.0 | No fix listed |
| redhat enterprise linux | = 9.0 | No fix listed |
| redhat enterprise linux | = 10.0 | No fix listed |
| f5 nginx(Azure Linux:3.0) | < 1.28.3-4 | 1.28.3-4 |
References
- MSRC Security Update Guide vendor-advisory
- CBL-Mariner Releases vendor-advisory
- my.f5.com mitigation vendor-advisory
- www.openwall.com mailing-list
- lists.debian.org mailing-list third-party-advisory
- Red Hat CVE page mitigation third-party-advisory vdb-entry vendor-advisory
- RHBZ#2480746 issue-tracking third-party-advisory
- security.access.redhat.com third-party-advisory
- RHSA-2026:29874 patch third-party-advisory vendor-advisory
- RHSA-2026:28921 patch third-party-advisory vendor-advisory
- RHSA-2026:28212 patch third-party-advisory vendor-advisory
- RHSA-2026:28973 patch third-party-advisory vendor-advisory
- RHSA-2026:29151 patch third-party-advisory vendor-advisory
- RHSA-2026:33313 patch third-party-advisory vendor-advisory
- RHSA-2026:20351 patch third-party-advisory vendor-advisory
- RHSA-2026:44481 patch third-party-advisory vendor-advisory
- RHSA-2026:58981 patch vendor-advisory
- RHSA-2026:93472 patch vendor-advisory
- RHSA-2026:93468 patch vendor-advisory
- RHSA-2026:93467 patch vendor-advisory
- www.cve.org
- nvd.nist.gov
- Ubuntu CVE tracker vendor-advisory
- USN-8354-1 vendor-advisory
- USN-8375-1 vendor-advisory
- Debian Security Tracker CVE-2026-9256 vendor-advisory
- security.alpinelinux.org vendor-advisory
- bugs.debian.org issue-tracking