CVE-2026-42533
nginx: NGINX: Arbitrary code execution via crafted HTTP requests
Overview
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.
Source: OX vulnerability database
Severity
8.1 · CRITICAL
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- High
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness: CWE-122
Affected packages · 2
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Bitnami | nginx | >=0.9.6, <1.30.4>=1.31.0, <1.31.3 | 1.30.41.31.3 |
| Bitnami | nginx-gateway | >=0.9.6, <1.30.4>=1.31.0, <1.31.3 | 1.30.41.31.3 |
Open a package to see all its vulnerabilities.
Operating systems · 65 fixes
Azure Linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.0 | nginx | 0:1.28.3-8.azl3 |
Oracle Linux 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 8 | nginx +8 | 1:1.24.0-3.0.1.module+el8.10.0+91032+1387c9a2.5 |
| 9 | nginx +9 | 2:1.26.3-9.0.1.module+el9.8.0+91031+6e548d4b.4 |
Photon OS 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 5.0 | nginx +6 | 1.30.4-1.ph5 |
Red Hat 4 releases · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 8 (nginx:1.24) | nginx +8 | 1:1.24.0-3.module+el8.10.0+24848+0300f002.5 | RHSA-2026:67315 |
| 9 | nginx +8 | 1:1.20.1-14.el9_2.7 | RHSA-2026:93472 |
| 9 | nginx +8 | 1:1.20.1-16.el9_4.7 | RHSA-2026:93468 |
| 9 | nginx +9 | 2:1.20.1-22.el9_6.7 | RHSA-2026:93467 |
| 9 | nginx +9 | 2:1.20.1-28.el9_8.6 | RHSA-2026:66542 |
| 9 (nginx:1.24) | nginx +9 | 1:1.24.0-7.module+el9.8.0+24846+e7eec568.5 | RHSA-2026:67308 |
1 more row
SUSE Linux Enterprise 5 releases · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 15.4 | nginx +1 | 1.21.5-150400.3.25.1 | SUSE-SU-2026:3448-1 |
| 15.5 | nginx +1 | 1.21.5-150400.3.25.1 | SUSE-SU-2026:3448-1 |
| 15.6 | nginx +1 | 1.21.5-150600.10.27.1 | SUSE-SU-2026:3469-1 |
| 15.7 | nginx +1 | 1.21.5-150600.10.27.1 | SUSE-SU-2026:3469-1 |
| 16.0 | nginx +1 | 1.27.2-160000.7.1 | SUSE-SU-2026:23118-1 |
alma 5 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 10 | nginx-all-modules +1 | 2:1.26.3-6.el10_2.7 |
| 8 (nginx:1.24) | nginx +8 | 1:1.24.0-3.module_el8.10.0+4275+5756017d.5.alma.1 |
| 9 | nginx +9 | 2:1.20.1-28.el9_8.6.alma.1 |
| 9 (nginx:1.24) | nginx +9 | 1:1.24.0-7.module_el9.8.0+307+7a7a3a71.5.alma.1 |
| 9 (nginx:1.26) | nginx +9 | 2:1.26.3-9.module_el9.8.0+309+b8a3c30d.4 |
alpine 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.22 | nginx | 1.28.3-r6 |
| 3.23 | nginx | 1.28.3-r6 |
| 3.24 | nginx | 1.30.4-r0 |
| edge | nginx | 1.30.4-r0 |
amazon linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 2023 | nginx +17 | 1:1.30.4-1.amzn2023.0.1 |
chainguard 1 release · 4 packages
| Release | Package | Fixed in |
|---|---|---|
| ingress-nginx-controller-1-15 +1 | 1.15.10-r0 | |
| nginx-stable | 1.30.4-r5 | |
| nginx-mainline | 1.31.3-r0 | |
| commercial-nginx-plus | 37.0.3.1-r0 |
debian 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | nginx | affected |
| 12 | nginx | 1.22.1-9+deb12u10 |
| 13 | nginx | 1.26.3-3+deb13u8 |
| 14 | nginx | 1.30.4-3 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| nginx | 1.22.1-9+deb12u10 |
minimos 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| nginx-1-30 | 1.30.4-r0 | |
| nginx-1-31 | 1.31.3-r0 |
openSUSE 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | nginx +1 | 1.31.3-1.1 | openSUSE-SU-2026:11295-1 |
openSUSE Leap 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 16.0 | nginx +1 | 1.27.2-160000.7.1 | openSUSE-SU-2026:21524-1 |
rocky 5 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 10 | nginx +8 | 2:1.26.3-6.el10_2.7 |
| 8 (nginx:1.24) | nginx +8 | 1:1.24.0-3.module+el8.10.0+40144+38158758 |
| 8 (nginx:1.24) | nginx +8 | 1:1.24.0-3.module+el8.10.0+40187+52bedf24.1 |
| 8 (nginx:1.24) | nginx +8 | 1:1.24.0-3.module+el8.10.0+40220+e6a4bcb0.2 |
| 8 (nginx:1.24) | nginx +8 | 1:1.24.0-3.module+el8.10.0+40249+a5ea815d.3 |
| 8 (nginx:1.24) | nginx +8 | 1:1.24.0-3.module+el8.10.0+40298+8ed65491.4 |
12 more rows
ubuntu 5 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 18.04-ESM | nginx | 1.14.0-0ubuntu1.11+esm5 |
| 20.04-ESM | nginx | 1.18.0-0ubuntu1.7+esm4 |
| 22.04 | nginx | 1.18.0-6ubuntu14.21 |
| 24.04 | nginx | 1.24.0-2ubuntu7.18 |
| 26.04 | nginx | 1.28.3-2ubuntu1.11 |
wolfi 1 release · 3 packages
| Release | Package | Fixed in |
|---|---|---|
| ingress-nginx-controller-1-15 | 1.15.10-r0 | |
| nginx-stable | 1.30.4-r5 | |
| nginx-mainline | 1.31.3-r0 |
References
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:67308
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:67315
- access.redhat.com https://access.redhat.com/security/cve/CVE-2026-42533
- bugzilla.redhat.com https://bugzilla.redhat.com/2500967
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2500967
- creativecommons.org https://creativecommons.org/licenses/by/4.0/
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-42533
- cyberstan.co.uk https://cyberstan.co.uk/nginx-rce/
- errata.almalinux.org https://errata.almalinux.org/9/ALSA-2026-67308.html
- errata.rockylinux.org https://errata.rockylinux.org/RLSA-2026:67315
Show all 22 references
- github.com https://github.com/imbas007/cve-2026-42533
- linux.oracle.com https://linux.oracle.com/cve/CVE-2026-42533.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2026-67315-0.html
- my.f5.com https://my.f5.com/manage/s/article/K000162097
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2026-42533
- ubuntu.com https://ubuntu.com/security/notices/USN-8563-1
- ubuntu.com https://ubuntu.com/security/notices/USN-8563-2
- ubuntu.com https://ubuntu.com/security/notices/USN-8563-3
- ubuntu.com https://ubuntu.com/security/notices/USN-8563-4
- ubuntu.com https://ubuntu.com/security/notices/USN-8563-5
- ubuntu.com https://ubuntu.com/security/notices/USN-8955-2
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2026-42533
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.