CVE-2026-42533NGINX Map directive and Regex matching vulnerability
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.
What to do
Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | nginx | Fixed | 1.28.3-2ubuntu1.11 | UBUNTU-CVE-2026-42533 |
| Ubuntu 24.04 | nginx | Fixed | 1.24.0-2ubuntu7.18 | UBUNTU-CVE-2026-42533 |
| Ubuntu 22.04 | nginx | Fixed | 1.18.0-6ubuntu14.21 | UBUNTU-CVE-2026-42533 |
| Ubuntu 20.04 | nginx | Fix pending | 1.18.0-0ubuntu1.7+esm4 (Ubuntu Pro) | UBUNTU-CVE-2026-42533 |
| Ubuntu 18.04 | nginx | Fix pending | 1.14.0-0ubuntu1.11+esm5 (Ubuntu Pro) | UBUNTU-CVE-2026-42533 |
| Ubuntu 16.04 | nginx | Fix pending | 1.10.3-0ubuntu0.16.04.5+esm10 (Ubuntu Pro) | UBUNTU-CVE-2026-42533 |
| Ubuntu 14.04 | nginx | Fix pending | 1.4.6-1ubuntu3.9+esm9 (Ubuntu Pro) | UBUNTU-CVE-2026-42533 |
| Debian 14 | nginx | Fixed | 1.30.4-3 | DEBIAN-CVE-2026-42533 |
| Debian 13 | nginx | Fixed | 1.26.3-3+deb13u8 | DEBIAN-CVE-2026-42533 |
| Debian 12 | nginx | Fixed | 1.22.1-9+deb12u10 | DEBIAN-CVE-2026-42533 |
| Red Hat Enterprise Linux 10 | nginx | Fixed | 2:1.26.3-6.el10_2.7 | RHSA-2026:67314 |
| Red Hat Enterprise Linux 10 | nginx-all-modules | Fixed | 2:1.26.3-6.el10_2.7 | RHSA-2026:67314 |
| Red Hat Enterprise Linux 10 | nginx-core | Fixed | 2:1.26.3-6.el10_2.7 | RHSA-2026:67314 |
| Red Hat Enterprise Linux 10 | nginx-filesystem | Fixed | 2:1.26.3-6.el10_2.7 | RHSA-2026:67314 |
| Red Hat Enterprise Linux 10 | nginx-mod-devel | Fixed | 2:1.26.3-6.el10_2.7 | RHSA-2026:67314 |
| Red Hat Enterprise Linux 10 | nginx-mod-http-image-filter | Fixed | 2:1.26.3-6.el10_2.7 | RHSA-2026:67314 |
| Red Hat Enterprise Linux 10 | nginx-mod-http-perl | Fixed | 2:1.26.3-6.el10_2.7 | RHSA-2026:67314 |
| Red Hat Enterprise Linux 10 | nginx-mod-http-xslt-filter | Fixed | 2:1.26.3-6.el10_2.7 | RHSA-2026:67314 |
| Red Hat Enterprise Linux 10 | nginx-mod-mail | Fixed | 2:1.26.3-6.el10_2.7 | RHSA-2026:67314 |
| Red Hat Enterprise Linux 10 | nginx-mod-stream | Fixed | 2:1.26.3-6.el10_2.7 | RHSA-2026:67314 |
| Red Hat Enterprise Linux 9 | nginx | Fixed | 2:1.20.1-28.el9_8.6 | RHSA-2026:67308 |
| Red Hat Enterprise Linux 9 | nginx-all-modules | Fixed | 2:1.20.1-28.el9_8.6 | RHSA-2026:67308 |
| Red Hat Enterprise Linux 9 | nginx-core | Fixed | 1:1.24.0-7.module+el9.8.0+24846+e7eec568.5 | RHSA-2026:67283 |
| Red Hat Enterprise Linux 9 | nginx-filesystem | Fixed | 1:1.24.0-7.module+el9.8.0+24846+e7eec568.5 | RHSA-2026:66542 |
| Red Hat Enterprise Linux 9 | nginx-mod-devel | Fixed | 1:1.24.0-7.module+el9.8.0+24846+e7eec568.5 | RHSA-2026:66542 |
| Red Hat Enterprise Linux 9 | nginx-mod-http-image-filter | Fixed | 2:1.26.3-9.module+el9.8.0+24845+a897661e.4 | RHSA-2026:67308 |
| Red Hat Enterprise Linux 9 | nginx-mod-http-perl | Fixed | 2:1.20.1-28.el9_8.6 | RHSA-2026:67283 |
| Red Hat Enterprise Linux 9 | nginx-mod-http-xslt-filter | Fixed | 1:1.24.0-7.module+el9.8.0+24846+e7eec568.5 | RHSA-2026:66542 |
| Red Hat Enterprise Linux 9 | nginx-mod-mail | Fixed | 2:1.26.3-9.module+el9.8.0+24845+a897661e.4 | RHSA-2026:67308 |
| Red Hat Enterprise Linux 9 | nginx-mod-stream | Fixed | 2:1.20.1-28.el9_8.6 | RHSA-2026:67283 |
| Red Hat Enterprise Linux 8 | nginx | Fixed | 1:1.24.0-3.module+el8.10.0+24848+0300f002.5 | RHSA-2026:67315 |
| Red Hat Enterprise Linux 8 | nginx-all-modules | Fixed | 1:1.24.0-3.module+el8.10.0+24848+0300f002.5 | RHSA-2026:67315 |
| Red Hat Enterprise Linux 8 | nginx-filesystem | Fixed | 1:1.24.0-3.module+el8.10.0+24848+0300f002.5 | RHSA-2026:67315 |
| Red Hat Enterprise Linux 8 | nginx-mod-devel | Fixed | 1:1.24.0-3.module+el8.10.0+24848+0300f002.5 | RHSA-2026:67315 |
| Red Hat Enterprise Linux 8 | nginx-mod-http-image-filter | Fixed | 1:1.24.0-3.module+el8.10.0+24848+0300f002.5 | RHSA-2026:67315 |
| Red Hat Enterprise Linux 8 | nginx-mod-http-perl | Fixed | 1:1.24.0-3.module+el8.10.0+24848+0300f002.5 | RHSA-2026:67315 |
| Red Hat Enterprise Linux 8 | nginx-mod-http-xslt-filter | Fixed | 1:1.24.0-3.module+el8.10.0+24848+0300f002.5 | RHSA-2026:67315 |
| Red Hat Enterprise Linux 8 | nginx-mod-mail | Fixed | 1:1.24.0-3.module+el8.10.0+24848+0300f002.5 | RHSA-2026:67315 |
| Red Hat Enterprise Linux 8 | nginx-mod-stream | Fixed | 1:1.24.0-3.module+el8.10.0+24848+0300f002.5 | RHSA-2026:67315 |
| AlmaLinux 10 | nginx-all-modules | Fixed | 2:1.26.3-6.el10_2.7 | ALSA-2026:67314 |
| AlmaLinux 10 | nginx-filesystem | Fixed | 2:1.26.3-6.el10_2.7 | ALSA-2026:67314 |
| AlmaLinux 9 | nginx | Fixed | 2:1.20.1-28.el9_8.6.alma.1 | ALSA-2026:67308 |
| AlmaLinux 9 | nginx-all-modules | Fixed | 2:1.26.3-9.module_el9.8.0+309+b8a3c30d.4 | ALSA-2026:66542 |
| AlmaLinux 9 | nginx-core | Fixed | 2:1.26.3-9.module_el9.8.0+309+b8a3c30d.4 | ALSA-2026:66542 |
| AlmaLinux 9 | nginx-filesystem | Fixed | 2:1.26.3-9.module_el9.8.0+309+b8a3c30d.4 | ALSA-2026:67308 |
| AlmaLinux 9 | nginx-mod-devel | Fixed | 1:1.24.0-7.module_el9.8.0+307+7a7a3a71.5.alma.1 | ALSA-2026:66542 |
| AlmaLinux 9 | nginx-mod-http-image-filter | Fixed | 2:1.20.1-28.el9_8.6.alma.1 | ALSA-2026:67308 |
| AlmaLinux 9 | nginx-mod-http-perl | Fixed | 2:1.26.3-9.module_el9.8.0+309+b8a3c30d.4 | ALSA-2026:66542 |
| AlmaLinux 9 | nginx-mod-http-xslt-filter | Fixed | 2:1.26.3-9.module_el9.8.0+309+b8a3c30d.4 | ALSA-2026:67308 |
| AlmaLinux 9 | nginx-mod-mail | Fixed | 2:1.20.1-28.el9_8.6.alma.1 | ALSA-2026:67283 |
| AlmaLinux 9 | nginx-mod-stream | Fixed | 1:1.24.0-7.module_el9.8.0+307+7a7a3a71.5.alma.1 | ALSA-2026:67283 |
| AlmaLinux 8 | nginx | Fixed | 1:1.24.0-3.module_el8.10.0+4275+5756017d.5.alma.1 | ALSA-2026:67315 |
| AlmaLinux 8 | nginx-all-modules | Fixed | 1:1.24.0-3.module_el8.10.0+4275+5756017d.5.alma.1 | ALSA-2026:67315 |
| AlmaLinux 8 | nginx-filesystem | Fixed | 1:1.24.0-3.module_el8.10.0+4275+5756017d.5.alma.1 | ALSA-2026:67315 |
| AlmaLinux 8 | nginx-mod-devel | Fixed | 1:1.24.0-3.module_el8.10.0+4275+5756017d.5.alma.1 | ALSA-2026:67315 |
| AlmaLinux 8 | nginx-mod-http-image-filter | Fixed | 1:1.24.0-3.module_el8.10.0+4275+5756017d.5.alma.1 | ALSA-2026:67315 |
| AlmaLinux 8 | nginx-mod-http-perl | Fixed | 1:1.24.0-3.module_el8.10.0+4275+5756017d.5.alma.1 | ALSA-2026:67315 |
| AlmaLinux 8 | nginx-mod-http-xslt-filter | Fixed | 1:1.24.0-3.module_el8.10.0+4275+5756017d.5.alma.1 | ALSA-2026:67315 |
| AlmaLinux 8 | nginx-mod-mail | Fixed | 1:1.24.0-3.module_el8.10.0+4275+5756017d.5.alma.1 | ALSA-2026:67315 |
| AlmaLinux 8 | nginx-mod-stream | Fixed | 1:1.24.0-3.module_el8.10.0+4275+5756017d.5.alma.1 | ALSA-2026:67315 |
| Rocky Linux 10 | nginx | Fixed | 2:1.26.3-6.el10_2.7 | RLSA-2026:67314 |
| Rocky Linux 9 | nginx | Fixed | 1:1.24.0-7.module+el9.8.0+40234+d28db9b8.3.rocky.0.1 | RLSA-2026:67308 |
| Rocky Linux 8 | nginx | Fixed | 1:1.24.0-3.module+el8.10.0+40187+52bedf24.1 | RLSA-2026:67315 |
| Alpine Linux 3.24 | nginx | Fixed | 1.30.4-r0 | ALPINE-CVE-2026-42533 |
| Alpine Linux 3.23 | nginx | Fixed | 1.28.3-r6 | ALPINE-CVE-2026-42533 |
| Alpine Linux 3.22 | nginx | Fixed | 1.28.3-r6 | ALPINE-CVE-2026-42533 |
| Alpine Linux 3.21 | nginx | Fixed | 1.26.3-r2 | ALPINE-CVE-2026-42533 |
What the vendor says
As published in the CVE record by f5, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- F5 NGINX Plus: affected: 37.0.0.1 to before 37.0.3.1, R36 to before R36 P7, R33 and later; fixed in
37.0.3.1 - F5 NGINX Open Source: affected: 1.31.2 to before 1.31.3, 0.9.6 to before 1.30.4; fixed in
1.31.3,1.30.4
Vendor advisories:
- https://my.f5.com/manage/s/article/K000162097 (patch, vendor-advisory)
References
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.