CVE-2026-42945 NGINX ngx_http_rewrite_module vulnerability
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
- Technology
- NginxUbuntuDebianRed Hat
Description
NGINX Plus and NGINX Open Source have a vulnerability in the ngx_http_rewrite_module module. This vulnerability exists when the rewrite directive is followed by a rewrite, if, or set directive and an unnamed Perl-Compatible Regular Expression (PCRE) capture (for example, $1, $2) with a replacement string that includes a question mark (?). An unauthenticated attacker along with conditions beyond its 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.
Upgrade path
73 packages: 35 fixed, 37 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| redhat insights proxy | All versions | No fix listed | No fix yet |
| redhat/nginx:1.24-8100020260514165201.489197e6(Red Hat enterprise_linux 8) | All versions | No fix listed | No fix yet |
| redhat/nginx:1.24-9040020260514192210.9(Red Hat rhel_eus 9.4) | All versions | No fix listed | No fix yet |
| redhat/nginx:1.24-9060020260514175739.9(Red Hat rhel_eus 9.6) | All versions | No fix listed | No fix yet |
| redhat/nginx:1.24-9080020260514160836.9(Red Hat enterprise_linux 9) | All versions | No fix listed | No fix yet |
| redhat/nginx:1.26-9060020260514170123.9(Red Hat rhel_eus 9.6) | All versions | No fix listed | No fix yet |
| redhat/nginx:1.26-9080020260514152324.9(Red Hat enterprise_linux 9) | All versions | No fix listed | No fix yet |
| redhat/odf4/ocs-client-console-rhel9:1779879463(Red Hat openshift_data_foundation 4.20 el9) | All versions | No fix listed | No fix yet |
| redhat/odf4/ocs-client-console-rhel9:1779881012(Red Hat openshift_data_foundation 4.19 el9) | All versions | No fix listed | No fix yet |
| redhat/odf4/ocs-client-console-rhel9:1779881302(Red Hat openshift_data_foundation 4.18 el9) | All versions | No fix listed | No fix yet |
| redhat/odf4/ocs-client-console-rhel9:1779946521(Red Hat openshift_data_foundation 4.21 el9) | All versions | No fix listed | No fix yet |
| redhat/odf4/ocs-client-console-rhel9:1779952245(Red Hat openshift_data_foundation 4.17 el9) | All versions | No fix listed | No fix yet |
| redhat/odf4/ocs-client-console-rhel9:1779959318(Red Hat openshift_data_foundation 4.16 el9) | All versions | No fix listed | No fix yet |
| redhat/odf4/ocs-client-console-rhel9:1779967811(Red Hat openshift_data_foundation 4.15 el9) | All versions | No fix listed | No fix yet |
| redhat/odf4/ocs-client-console-rhel9:1779972138(Red Hat openshift_data_foundation 4.14 el9) | All versions | No fix listed | No fix yet |
| redhat/odf4/odf-console-rhel9:1779877770(Red Hat openshift_data_foundation 4.20 el9) | All versions | No fix listed | No fix yet |
| redhat/odf4/odf-console-rhel9:1779881008(Red Hat openshift_data_foundation 4.19 el9) | All versions | No fix listed | No fix yet |
| redhat/odf4/odf-console-rhel9:1779881608(Red Hat openshift_data_foundation 4.18 el9) | All versions | No fix listed | No fix yet |
| redhat/odf4/odf-console-rhel9:1779946525(Red Hat openshift_data_foundation 4.21 el9) | All versions | No fix listed | No fix yet |
| redhat/odf4/odf-console-rhel9:1779952279(Red Hat openshift_data_foundation 4.17 el9) | All versions | No fix listed | No fix yet |
| redhat/odf4/odf-console-rhel9:1779959527(Red Hat openshift_data_foundation 4.16 el9) | All versions | No fix listed | No fix yet |
| redhat/odf4/odf-console-rhel9:1779967813(Red Hat openshift_data_foundation 4.15 el9) | All versions | No fix listed | No fix yet |
| redhat/odf4/odf-console-rhel9:1779972283(Red Hat openshift_data_foundation 4.14 el9) | All versions | No fix listed | No fix yet |
| redhat/odf4/odf-multicluster-console-rhel9:1779881122(Red Hat openshift_data_foundation 4.18 el9) | All versions | No fix listed | No fix yet |
| redhat/odf4/odf-multicluster-console-rhel9:1779881332(Red Hat openshift_data_foundation 4.19 el9) | All versions | No fix listed | No fix yet |
| redhat/odf4/odf-multicluster-console-rhel9:1779881377(Red Hat openshift_data_foundation 4.20 el9) | All versions | No fix listed | No fix yet |
| redhat/odf4/odf-multicluster-console-rhel9:1779946691(Red Hat openshift_data_foundation 4.21 el9) | All versions | No fix listed | No fix yet |
| redhat/odf4/odf-multicluster-console-rhel9:1779952463(Red Hat openshift_data_foundation 4.17 el9) | All versions | No fix listed | No fix yet |
| redhat/odf4/odf-multicluster-console-rhel9:1779959592(Red Hat openshift_data_foundation 4.16 el9) | All versions | No fix listed | No fix yet |
| redhat/odf4/odf-multicluster-console-rhel9:1779968303(Red Hat openshift_data_foundation 4.15 el9) | All versions | No fix listed | No fix yet |
… and 43 more packages.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| f5 NGINX Plus | >= R36, < R36 P4 | R36 P4 |
| f5 NGINX Plus | >= R32, < R32 P6 | R32 P6 |
| f5 NGINX Open Source | >= 0.6.27, < 1.30.1 | 1.30.1 |
| redhat enterprise linux | < 2:1.26.3-2.el10_1.2 | 2:1.26.3-2.el10_1.2 |
| redhat enterprise linux | < 2:1.26.3-6.el10_2.3 | 2:1.26.3-6.el10_2.3 |
| redhat enterprise linux eus | < 2:1.26.3-1.el10_0.9 | 2:1.26.3-1.el10_0.9 |
| redhat enterprise linux | < 8100020260514165201.489197e6 | 8100020260514165201.489197e6 |
| redhat enterprise linux | < 2:1.20.1-24.el9_7.3 | 2:1.20.1-24.el9_7.3 |
| redhat enterprise linux | < 2:1.20.1-28.el9_8.2 | 2:1.20.1-28.el9_8.2 |
| redhat enterprise linux | < 9080020260514160836.9 | 9080020260514160836.9 |
| redhat enterprise linux | < 9080020260514152324.9 | 9080020260514152324.9 |
| redhat rhel e4s | < 1:1.20.1-10.el9_0.4 | 1:1.20.1-10.el9_0.4 |
| redhat rhel e4s | < 1:1.20.1-14.el9_2.6 | 1:1.20.1-14.el9_2.6 |
| redhat rhel eus | < 1:1.20.1-16.el9_4.6 | 1:1.20.1-16.el9_4.6 |
| redhat rhel eus | < 9040020260514192210.9 | 9040020260514192210.9 |
| redhat rhel eus | < 9060020260514175739.9 | 9060020260514175739.9 |
| redhat rhel eus | < 9060020260514170123.9 | 9060020260514170123.9 |
| redhat rhel eus | < 2:1.20.1-22.el9_6.6 | 2:1.20.1-22.el9_6.6 |
| redhat hummingbird | < 1.30.1-1.hum1 | 1.30.1-1.hum1 |
| redhat openshift data foundation | < 1779972138 | 1779972138 |
| redhat openshift data foundation | < 1779972283 | 1779972283 |
| redhat openshift data foundation | < 1779972179 | 1779972179 |
| redhat openshift data foundation | < 1779967811 | 1779967811 |
| redhat openshift data foundation | < 1779967813 | 1779967813 |
| redhat openshift data foundation | < 1779968303 | 1779968303 |
Show 126 more
| Product | Affected versions | Fixed in |
|---|---|---|
| redhat openshift data foundation | < 1779959318 | 1779959318 |
| redhat openshift data foundation | < 1779959527 | 1779959527 |
| redhat openshift data foundation | < 1779959592 | 1779959592 |
| redhat openshift data foundation | < 1779952245 | 1779952245 |
| redhat openshift data foundation | < 1779952279 | 1779952279 |
| redhat openshift data foundation | < 1779952463 | 1779952463 |
| redhat openshift data foundation | < 1779881302 | 1779881302 |
| redhat openshift data foundation | < 1779881608 | 1779881608 |
| redhat openshift data foundation | < 1779881122 | 1779881122 |
| redhat openshift data foundation | < 1779881012 | 1779881012 |
| redhat openshift data foundation | < 1779881008 | 1779881008 |
| redhat openshift data foundation | < 1779881332 | 1779881332 |
| redhat openshift data foundation | < 1779879463 | 1779879463 |
| redhat openshift data foundation | < 1779877770 | 1779877770 |
| redhat openshift data foundation | < 1779881377 | 1779881377 |
| redhat openshift data foundation | < 1779946521 | 1779946521 |
| redhat openshift data foundation | < 1779946525 | 1779946525 |
| redhat openshift data foundation | < 1779946691 | 1779946691 |
| redhat satellite | < 1779706745 | 1779706745 |
| redhat satellite | < 1779706797 | 1779706797 |
| redhat rhui | < 1779798159 | 1779798159 |
| redhat rhui | < 1779798222 | 1779798222 |
| redhat rhui | < 1787241211 | 1787241211 |
| redhat rhui | < 1787241260 | 1787241260 |
| redhat red hat 3scale amp | = 2 | No fix listed |
| redhat insights proxy | All versions | No fix listed |
| redhat/nginx(Red Hat:enterprise_linux:10.1) | < 2:1.26.3-2.el10_1.2 | 2:1.26.3-2.el10_1.2 |
| redhat/nginx(Red Hat:enterprise_linux:10.2) | < 2:1.26.3-6.el10_2.3 | 2:1.26.3-6.el10_2.3 |
| redhat/nginx(Red Hat:enterprise_linux_eus:10.0) | < 2:1.26.3-1.el10_0.9 | 2:1.26.3-1.el10_0.9 |
| redhat/nginx:1.24-8100020260514165201.489197e6(Red Hat:enterprise_linux:8) | All versions | No fix listed |
| redhat/nginx(Red Hat:enterprise_linux:9) | < 2:1.20.1-24.el9_7.3 | 2:1.20.1-24.el9_7.3 |
| redhat/nginx:1.24-9080020260514160836.9(Red Hat:enterprise_linux:9) | All versions | No fix listed |
| redhat/nginx:1.26-9080020260514152324.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.2 | 2:1.20.1-28.el9_8.2 |
| redhat/nginx(Red Hat:rhel_e4s:9.0) | < 1:1.20.1-10.el9_0.4 | 1:1.20.1-10.el9_0.4 |
| redhat/nginx(Red Hat:rhel_e4s:9.2) | < 1:1.20.1-14.el9_2.6 | 1:1.20.1-14.el9_2.6 |
| redhat/nginx(Red Hat:rhel_eus:9.4) | < 1:1.20.1-16.el9_4.6 | 1:1.20.1-16.el9_4.6 |
| redhat/nginx:1.24-9040020260514192210.9(Red Hat:rhel_eus:9.4) | All versions | No fix listed |
| redhat/nginx:1.24-9060020260514175739.9(Red Hat:rhel_eus:9.6) | All versions | No fix listed |
| redhat/nginx:1.26-9060020260514170123.9(Red Hat:rhel_eus:9.6) | All versions | No fix listed |
| redhat/nginx(Red Hat:rhel_eus:9.6) | < 2:1.20.1-22.el9_6.6 | 2:1.20.1-22.el9_6.6 |
| redhat/nginx-main(Red Hat:hummingbird:1) | < 1.30.1-1.hum1 | 1.30.1-1.hum1 |
| redhat/odf4/ocs-client-console-rhel9:1779972138(Red Hat:openshift_data_foundation:4.14::el9) | All versions | No fix listed |
| redhat/odf4/odf-console-rhel9:1779972283(Red Hat:openshift_data_foundation:4.14::el9) | All versions | No fix listed |
| redhat/odf4/odf-multicluster-console-rhel9:1779972179(Red Hat:openshift_data_foundation:4.14::el9) | All versions | No fix listed |
| redhat/odf4/ocs-client-console-rhel9:1779967811(Red Hat:openshift_data_foundation:4.15::el9) | All versions | No fix listed |
| redhat/odf4/odf-console-rhel9:1779967813(Red Hat:openshift_data_foundation:4.15::el9) | All versions | No fix listed |
| redhat/odf4/odf-multicluster-console-rhel9:1779968303(Red Hat:openshift_data_foundation:4.15::el9) | All versions | No fix listed |
| redhat/odf4/ocs-client-console-rhel9:1779959318(Red Hat:openshift_data_foundation:4.16::el9) | All versions | No fix listed |
| redhat/odf4/odf-console-rhel9:1779959527(Red Hat:openshift_data_foundation:4.16::el9) | All versions | No fix listed |
| redhat/odf4/odf-multicluster-console-rhel9:1779959592(Red Hat:openshift_data_foundation:4.16::el9) | All versions | No fix listed |
| redhat/odf4/ocs-client-console-rhel9:1779952245(Red Hat:openshift_data_foundation:4.17::el9) | All versions | No fix listed |
| redhat/odf4/odf-console-rhel9:1779952279(Red Hat:openshift_data_foundation:4.17::el9) | All versions | No fix listed |
| redhat/odf4/odf-multicluster-console-rhel9:1779952463(Red Hat:openshift_data_foundation:4.17::el9) | All versions | No fix listed |
| redhat/odf4/ocs-client-console-rhel9:1779881302(Red Hat:openshift_data_foundation:4.18::el9) | All versions | No fix listed |
| redhat/odf4/odf-console-rhel9:1779881608(Red Hat:openshift_data_foundation:4.18::el9) | All versions | No fix listed |
| redhat/odf4/odf-multicluster-console-rhel9:1779881122(Red Hat:openshift_data_foundation:4.18::el9) | All versions | No fix listed |
| redhat/odf4/ocs-client-console-rhel9:1779881012(Red Hat:openshift_data_foundation:4.19::el9) | All versions | No fix listed |
| redhat/odf4/odf-console-rhel9:1779881008(Red Hat:openshift_data_foundation:4.19::el9) | All versions | No fix listed |
| redhat/odf4/odf-multicluster-console-rhel9:1779881332(Red Hat:openshift_data_foundation:4.19::el9) | All versions | No fix listed |
| redhat/odf4/ocs-client-console-rhel9:1779879463(Red Hat:openshift_data_foundation:4.20::el9) | All versions | No fix listed |
| redhat/odf4/odf-console-rhel9:1779877770(Red Hat:openshift_data_foundation:4.20::el9) | All versions | No fix listed |
| redhat/odf4/odf-multicluster-console-rhel9:1779881377(Red Hat:openshift_data_foundation:4.20::el9) | All versions | No fix listed |
| redhat/odf4/ocs-client-console-rhel9:1779946521(Red Hat:openshift_data_foundation:4.21::el9) | All versions | No fix listed |
| redhat/odf4/odf-console-rhel9:1779946525(Red Hat:openshift_data_foundation:4.21::el9) | All versions | No fix listed |
| redhat/odf4/odf-multicluster-console-rhel9:1779946691(Red Hat:openshift_data_foundation:4.21::el9) | All versions | No fix listed |
| redhat/satellite/iop-gateway-rhel9:1779706745(Red Hat:satellite:6.18::el9) | All versions | No fix listed |
| redhat/satellite/iop-gateway-rhel9:1779706797(Red Hat:satellite:6.19::el9) | All versions | No fix listed |
| redhat/rhui5/cds-rhel9:1779798159(Red Hat:rhui:5::el9) | All versions | No fix listed |
| redhat/rhui5/rhua-rhel9:1779798222(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 |
| debian/nginx(Debian:12) | < 1.22.1-9+deb12u7 | 1.22.1-9+deb12u7 |
| 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:13) | < 1.26.3-3+deb13u5 | 1.26.3-3+deb13u5 |
| 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:14) | < 1.30.0-3 | 1.30.0-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 |
| ubuntu/nginx(Ubuntu:22.04) | < 1.18.0-6ubuntu14.11 | 1.18.0-6ubuntu14.11 |
| alpine/nginx(Alpine:v3.21) | < 1.26.3-r1 | 1.26.3-r1 |
| alpine/nginx(Alpine:v3.22) | < 1.28.3-r1 | 1.28.3-r1 |
| alpine/nginx(Alpine:v3.23) | < 1.28.3-r1 | 1.28.3-r1 |
| alpine/nginx(Alpine:v3.24) | < 1.30.1-r0 | 1.30.1-r0 |
| ubuntu/nginx(Ubuntu:24.04) | < 1.24.0-2ubuntu7.8 | 1.24.0-2ubuntu7.8 |
| ubuntu/nginx(Ubuntu:26.04) | < 1.28.3-2ubuntu1.1 | 1.28.3-2ubuntu1.1 |
| f5 dos | >= 4.3.0, <= 4.7.0 | No fix listed |
| f5 dos | = 4.8.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.5.1 | No fix listed |
| 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.1 | No fix listed |
| f5 NGINX Instance Manager | >= 2.16.0, <= 2.21.1 | No fix listed |
| f5 NGINX Open Source | >= 0.6.27, <= 1.30.0 | No fix listed |
| f5 NGINX Plus | >= r32, <= r36 | No fix listed |
| f5 waf | >= 4.9.0, <= 4.16.0 | No fix listed |
| f5 waf | >= 5.1.0, <= 5.8.0 | No fix listed |
| f5 waf | >= 5.9.0, <= 5.12.1 | No fix listed |
| f5 nginx(Azure Linux:3.0) | < 1.28.3-2 | 1.28.3-2 |
References
- my.f5.com mitigation patch vendor-advisory
- depthfirst.com mitigation technical-description third-party-advisory
- github.com exploit third-party-advisory
- Red Hat CVE page vdb-entry vendor-advisory
- RHBZ#2477116 issue-tracking
- security.access.redhat.com
- RHSA-2026:17790 patch vendor-advisory
- RHSA-2026:18063 patch vendor-advisory
- RHSA-2026:19159 patch vendor-advisory
- RHSA-2026:18041 patch vendor-advisory
- RHSA-2026:17791 patch vendor-advisory
- RHSA-2026:17751 patch vendor-advisory
- RHSA-2026:17792 patch vendor-advisory
- RHSA-2026:17793 patch vendor-advisory
- RHSA-2026:17752 patch vendor-advisory
- RHSA-2026:17794 patch vendor-advisory
- RHSA-2026:17753 patch vendor-advisory
- RHSA-2026:18029 patch vendor-advisory
- RHSA-2026:19371 patch vendor-advisory
- RHSA-2026:19374 patch vendor-advisory
- RHSA-2026:19372 patch vendor-advisory
- RHSA-2026:17417 patch vendor-advisory
- RHSA-2026:22396 patch vendor-advisory
- RHSA-2026:22393 patch vendor-advisory
- RHSA-2026:22394 patch vendor-advisory
- RHSA-2026:22390 patch vendor-advisory
- RHSA-2026:22388 patch vendor-advisory
- RHSA-2026:22389 patch vendor-advisory
- RHSA-2026:22383 patch vendor-advisory
- RHSA-2026:22382 patch vendor-advisory
- RHSA-2026:20442 patch vendor-advisory
- RHSA-2026:20444 patch vendor-advisory
- RHSA-2026:58981 patch vendor-advisory
- RHSA-2026:21275 patch vendor-advisory
- MSRC Security Update Guide vendor-advisory
- CBL-Mariner Releases vendor-advisory
- www.cve.org
- nvd.nist.gov
- Debian Security Tracker CVE-2026-42945 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- USN-8271-1 vendor-advisory
- USN-8375-1 vendor-advisory
- security.alpinelinux.org vendor-advisory
- ENISA EUVD EUVD-2026-30010 third-party-advisory