CVE-2026-42945

EUVD-2026-30010
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.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
8.1 HIGH
NETWORK
HIGH
NONE
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Base Score
CVSS 3.x
EPSS Score
Percentile: 99%
Affected Products (NVD)
VendorProductVersion
f5dos
4.3.0 ≤
𝑥
≤ 4.7.0
f5dos
4.8.0
f5nginx_gateway_fabric
1.3.0 ≤
𝑥
≤ 1.6.2
f5nginx_gateway_fabric
2.0.0 ≤
𝑥
≤ 2.5.1
f5nginx_ingress_controller
3.5.0 ≤
𝑥
≤ 3.7.2
f5nginx_ingress_controller
4.0.0 ≤
𝑥
≤ 4.0.1
f5nginx_ingress_controller
5.0.0 ≤
𝑥
≤ 5.4.1
f5nginx_instance_manager
2.16.0 ≤
𝑥
≤ 2.21.1
f5nginx_open_source
0.6.27 ≤
𝑥
≤ 1.30.0
f5nginx_plus
r32 ≤
𝑥
≤ r36
f5waf
4.9.0 ≤
𝑥
≤ 4.16.0
f5waf
5.1.0 ≤
𝑥
≤ 5.8.0
f5waf
5.9.0 ≤
𝑥
≤ 5.12.1
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
nginx
bookworm
vulnerable
bookworm (security)
1.22.1-9+deb12u8
fixed
bullseye
vulnerable
bullseye (security)
1.18.0-6.1+deb11u7
fixed
forky
1.30.1-4
fixed
sid
1.30.1-5
fixed
trixie
vulnerable
trixie (security)
1.26.3-3+deb13u6
fixed
openSUSE logo
openSUSE / SLES Releases
openSUSE Product
Release
nginx
suse enterprise sap 15 SP4
1.21.5-150400.3.20.1
fixed
suse enterprise sap 15 SP5
1.21.5-150400.3.20.1
fixed
suse enterprise sap 15 SP7
1.21.5-150600.10.18.1
fixed
suse enterprise server 15 SP4
1.21.5-150400.3.20.1
fixed
suse enterprise server 15 SP5
1.21.5-150400.3.20.1
fixed
suse enterprise server 15 SP6
1.21.5-150600.10.18.1
fixed
suse enterprise server 15 SP7
1.21.5-150600.10.18.1
fixed
nginx-source
suse enterprise sap 15 SP4
1.21.5-150400.3.20.1
fixed
suse enterprise sap 15 SP5
1.21.5-150400.3.20.1
fixed
suse enterprise sap 15 SP7
1.21.5-150600.10.18.1
fixed
suse enterprise server 15 SP4
1.21.5-150400.3.20.1
fixed
suse enterprise server 15 SP5
1.21.5-150400.3.20.1
fixed
suse enterprise server 15 SP6
1.21.5-150600.10.18.1
fixed
suse enterprise server 15 SP7
1.21.5-150600.10.18.1
fixed
Red Hat logo
Red Hat Enterprise Linux Releases
Red Hat Product
Release
nginx
RHEL 9
2:1.20.1-28.el9_8.2
fixed
nginx-all-modules
RHEL 9
2:1.20.1-28.el9_8.2
fixed
nginx-core
RHEL 9
2:1.20.1-28.el9_8.2
fixed
nginx-filesystem
RHEL 9
2:1.20.1-28.el9_8.2
fixed
nginx-mod-devel
RHEL 9
2:1.20.1-28.el9_8.2
fixed
nginx-mod-http-image-filter
RHEL 9
2:1.20.1-28.el9_8.2
fixed
nginx-mod-http-perl
RHEL 9
2:1.20.1-28.el9_8.2
fixed
nginx-mod-http-xslt-filter
RHEL 9
2:1.20.1-28.el9_8.2
fixed
nginx-mod-mail
RHEL 9
2:1.20.1-28.el9_8.2
fixed
nginx-mod-stream
RHEL 9
2:1.20.1-28.el9_8.2
fixed
Amazon Linux logo
Amazon Linux Releases
Amazon Package
Release
nginx
Amazon Linux 2023
1:1.30.1-1.amzn2023.0.1
fixed
nginx-all-modules
Amazon Linux 2023
1:1.30.1-1.amzn2023.0.1
fixed
nginx-core
Amazon Linux 2023
1:1.30.1-1.amzn2023.0.1
fixed
nginx-core-debuginfo
Amazon Linux 2023
1:1.30.1-1.amzn2023.0.1
fixed
nginx-debuginfo
Amazon Linux 2023
1:1.30.1-1.amzn2023.0.1
fixed
nginx-debugsource
Amazon Linux 2023
1:1.30.1-1.amzn2023.0.1
fixed
nginx-filesystem
Amazon Linux 2023
1:1.30.1-1.amzn2023.0.1
fixed
nginx-mod-devel
Amazon Linux 2023
1:1.30.1-1.amzn2023.0.1
fixed
nginx-mod-http-image-filter
Amazon Linux 2023
1:1.30.1-1.amzn2023.0.1
fixed
nginx-mod-http-image-filter-debuginfo
Amazon Linux 2023
1:1.30.1-1.amzn2023.0.1
fixed
nginx-mod-http-perl
Amazon Linux 2023
1:1.30.1-1.amzn2023.0.1
fixed
nginx-mod-http-perl-debuginfo
Amazon Linux 2023
1:1.30.1-1.amzn2023.0.1
fixed
nginx-mod-http-xslt-filter
Amazon Linux 2023
1:1.30.1-1.amzn2023.0.1
fixed
nginx-mod-http-xslt-filter-debuginfo
Amazon Linux 2023
1:1.30.1-1.amzn2023.0.1
fixed
nginx-mod-mail
Amazon Linux 2023
1:1.30.1-1.amzn2023.0.1
fixed
nginx-mod-mail-debuginfo
Amazon Linux 2023
1:1.30.1-1.amzn2023.0.1
fixed
nginx-mod-stream
Amazon Linux 2023
1:1.30.1-1.amzn2023.0.1
fixed
nginx-mod-stream-debuginfo
Amazon Linux 2023
1:1.30.1-1.amzn2023.0.1
fixed
Azure Linux logo
Azure Linux Releases
Azure Package
Release
nginx
Azure Linux 3.0
0:1.28.3-2.azl3
fixed
References