Skip to content

CVE-2026-42533 NGINX Map directive and Regex matching vulnerability

CriticalCVSS 9.2 EPSS 6.3%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: total
Technology
PHPNginxUbuntuDebian

Description

A vulnerability exists in NGINX Plus and NGINX Open Source when a map directive uses regex matching and a string expression references the map's regex capture variables before referencing the map output variable. Alternatively, the same result could be achieved by using a non-cacheable variable in a string expression under certain conditions. 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.

Impact:
This vulnerability may allow remote attackers to cause a denial-of-service (DoS) on the NGINX system or to possibly trigger a code execution. There is no control plane exposure; this is a data plane issue only.

 Note: Software versions which have reached End of Technical Support (EoTS) are not evaluated.

Upgrade path

27 packages: 21 fixed, 1 partially fixed, 5 with no fix yet.

PackageAffectedFixed inStatus
redhat/costmanagement/costmanagement-ui-rhel10:1791460851(Red Hat cost_management_on_premise 1 el10) All versions No fix listed No fix yet
redhat/insights-proxy/insights-proxy-container-rhel9(Red Hat insights_proxy 1) All versions No fix listed No fix yet
redhat/nginx:1.24-8100020260908154808.489197e6(Red Hat enterprise_linux 8) All versions No fix listed No fix yet
redhat/nginx:1.24-9080020260908110425.9(Red Hat enterprise_linux 9) All versions No fix listed No fix yet
redhat/nginx:1.26-9080020260908105507.9(Red Hat enterprise_linux 9) All versions No fix listed No fix yet
f5 NGINX Plus = r36; = r36-p1; = r36-p2; = r36-p3 +7 more 37.0.3.1, r36, R36 P7 Partially fixed
alpine/nginx(Alpine v3.21) < 1.26.3-r2 1.26.3-r2 Fixed
alpine/nginx(Alpine v3.22) < 1.28.3-r6 1.28.3-r6 Fixed
alpine/nginx(Alpine v3.23) < 1.28.3-r6 1.28.3-r6 Fixed
alpine/nginx(Alpine v3.24) < 1.30.4-r0 1.30.4-r0 Fixed
debian/nginx(Debian 12) < 1.22.1-9+deb12u10; = 1.22.1-9; = 1.22.1-9+deb12u1; = 1.22.1-9+deb12u2 +7 more 1.22.1-9+deb12u10 Fixed
debian/nginx(Debian 13) < 1.26.3-3+deb13u8; = 1.26.3-3; = 1.26.3-3+deb13u1; = 1.26.3-3+deb13u2 +5 more 1.26.3-3+deb13u8 Fixed
debian/nginx(Debian 14) < 1.30.4-3; = 1.26.3-3; = 1.28.0-1; = 1.28.0-2 +26 more 1.30.4-3 Fixed
f5 nginx(Azure Linux 3.0) < 1.28.3-8 1.28.3-8 Fixed
f5 NGINX Gateway Fabric >= 1.3.0, <= 1.6.2; >= 2.0.0, < 2.6.7 2.6.7 Fixed
f5 NGINX Ingress Controller = 4.0.0; = 4.0.1; >= 3.5.0, <= 3.7.2; >= 5.0.0, < 5.5.3 +1 more 5.5.3, 2026-lts-r4 Fixed
f5 NGINX Open Source >= 0.9.6, < 1.30.4; >= 1.31.0, < 1.31.3; >= 1.31.2, < 1.31.3 1.30.4, 1.31.3 Fixed
f5 waf >= 4.11.0, <= 4.16.0; >= 5.2.0, <= 5.8.0; >= 5.9.0, < 5.13.4 5.13.4 Fixed
redhat/nginx(Red Hat enterprise_linux 10.2) < 2:1.26.3-6.el10_2.7 2:1.26.3-6.el10_2.7 Fixed
redhat/nginx(Red Hat enterprise_linux 9) < 2:1.20.1-28.el9_8.6 2:1.20.1-28.el9_8.6 Fixed
redhat/nginx(Red Hat rhel_e4s 9.2) < 1:1.20.1-14.el9_2.7 1:1.20.1-14.el9_2.7 Fixed
redhat/nginx(Red Hat rhel_e4s 9.4) < 1:1.20.1-16.el9_4.7 1:1.20.1-16.el9_4.7 Fixed
redhat/nginx(Red Hat rhel_eus 9.6) < 2:1.20.1-22.el9_6.7 2:1.20.1-22.el9_6.7 Fixed
redhat/nginx-main(Red Hat hummingbird 1) < 1.30.4-2.hum1 1.30.4-2.hum1 Fixed
ubuntu/nginx(Ubuntu 22.04) < 1.18.0-6ubuntu14.21 1.18.0-6ubuntu14.21 Fixed
ubuntu/nginx(Ubuntu 24.04) < 1.24.0-2ubuntu7.18 1.24.0-2ubuntu7.18 Fixed
ubuntu/nginx(Ubuntu 26.04) < 1.28.3-2ubuntu1.11 1.28.3-2ubuntu1.11 Fixed

Affected products

ProductAffected versionsFixed in
f5 NGINX Plus >= 37.0.0.1, < 37.0.3.1 37.0.3.1
f5 NGINX Plus >= R36, < R36 P7 R36 P7
f5 NGINX Plus >= R33 No fix listed
f5 NGINX Open Source >= 1.31.2, < 1.31.3 1.31.3
f5 NGINX Open Source >= 0.9.6, < 1.30.4 1.30.4
redhat/nginx(Red Hat:enterprise_linux:10.2) < 2:1.26.3-6.el10_2.7 2:1.26.3-6.el10_2.7
redhat/nginx:1.24-8100020260908154808.489197e6(Red Hat:enterprise_linux:8) All versions No fix listed
redhat/nginx(Red Hat:enterprise_linux:9) < 2:1.20.1-28.el9_8.6 2:1.20.1-28.el9_8.6
redhat/nginx:1.26-9080020260908105507.9(Red Hat:enterprise_linux:9) All versions No fix listed
redhat/nginx:1.24-9080020260908110425.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
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/costmanagement/costmanagement-ui-rhel10:1791460851(Red Hat:cost_management_on_premise:1::el10) All versions No fix listed
redhat/nginx-main(Red Hat:hummingbird:1) < 1.30.4-2.hum1 1.30.4-2.hum1
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.21 1.18.0-6ubuntu14.21
alpine/nginx(Alpine:v3.21) < 1.26.3-r2 1.26.3-r2
alpine/nginx(Alpine:v3.22) < 1.28.3-r6 1.28.3-r6
alpine/nginx(Alpine:v3.23) < 1.28.3-r6 1.28.3-r6
alpine/nginx(Alpine:v3.24) < 1.30.4-r0 1.30.4-r0
ubuntu/nginx(Ubuntu:24.04) < 1.24.0-2ubuntu7.18 1.24.0-2ubuntu7.18
ubuntu/nginx(Ubuntu:26.04) < 1.28.3-2ubuntu1.11 1.28.3-2ubuntu1.11
f5 NGINX Gateway Fabric >= 1.3.0, <= 1.6.2 No fix listed
f5 NGINX Gateway Fabric >= 2.0.0, < 2.6.7 2.6.7
Show 68 more
ProductAffected versionsFixed in
f5 NGINX Ingress Controller >= 3.5.0, <= 3.7.2 No fix listed
f5 NGINX Ingress Controller >= 5.0.0, < 5.5.3 5.5.3
f5 NGINX Ingress Controller >= 2026-lts-r1, < 2026-lts-r4 2026-lts-r4
f5 NGINX Ingress Controller = 4.0.0 No fix listed
f5 NGINX Ingress Controller = 4.0.1 No fix listed
f5 NGINX Open Source >= 1.31.0, < 1.31.3 1.31.3
f5 NGINX Plus >= r33, < r36 r36
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 NGINX Plus = r36-p5 No fix listed
f5 NGINX Plus = r36-p6 No fix listed
f5 waf >= 4.11.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.4 5.13.4
debian/nginx(Debian:12) < 1.22.1-9+deb12u10 1.22.1-9+deb12u10
debian/nginx(Debian:14) < 1.30.4-3 1.30.4-3
debian/nginx(Debian:13) < 1.26.3-3+deb13u8 1.26.3-3+deb13u8
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:12) = 1.22.1-9+deb12u8 No fix listed
debian/nginx(Debian:12) = 1.22.1-9+deb12u9 No fix listed
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:13) = 1.26.3-3+deb13u6 No fix listed
debian/nginx(Debian:13) = 1.26.3-3+deb13u7 No fix listed
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
debian/nginx(Debian:14) = 1.30.1-3 No fix listed
debian/nginx(Debian:14) = 1.30.1-4 No fix listed
debian/nginx(Debian:14) = 1.30.1-5 No fix listed
debian/nginx(Debian:14) = 1.30.1-6 No fix listed
debian/nginx(Debian:14) = 1.30.1-7 No fix listed
debian/nginx(Debian:14) = 1.30.4-1 No fix listed
debian/nginx(Debian:14) = 1.30.4-2 No fix listed
f5 nginx(Azure Linux:3.0) < 1.28.3-8 1.28.3-8

References