CVE-2026-42533
NGINX Map directive and Regex matching vulnerability
A public proof of concept exists; no exploitation attested.
- Published2026-07-15
- Fixed in2026-lts-r4 · 5.5.3
- WeaknessCWE-122
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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.
Timeline
dates in UTC- 2026-07-1514:33CVE publishedCNA
- 2026-07-1515:16CVE publishedNVD
Versions per branch
NVD| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 2026.x | ≥ 2026-lts-r1, < 2026-lts-r4 | 2026-lts-r4 | NVD |
| 5.x | ≥ 5.0.0, < 5.5.3 | 5.5.3 | NVD |
| 3.x | ≥ 3.5.0, ≤ 3.7.2 | no fix published | NVD |
| 4.0 | = 4.0.1 | no fix published | NVD |
| 4.0 | = 4.0.0 | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| — | ≥ r33, < r36 | r36 | NVD |
| 37.0 | ≥ 37.0.0.1, < 37.0.3.1 | 37.0.3.1 | NVD |
| — | = r36 | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 5.x | ≥ 5.9.0, < 5.13.4 | 5.13.4 | NVD |
| 5.x | ≥ 5.2.0, ≤ 5.8.0 | no fix published | NVD |
| 4.x | ≥ 4.11.0, ≤ 4.16.0 | no fix published | NVD |
3 more products in the sources.
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA2 products
As f5, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- F5 NGINX Plusother versions: unknownAffected
- ≥ 37.0.0.1, < 37.0.3.1fixed in 37.0.3.1custom
- ≥ R36, < R36 P7fixed in R36 P7custom
- ≥ R33no fix statedcustom
- F5 NGINX Open Sourceother versions: unknownAffected
- ≥ 1.31.2, < 1.31.3fixed in 1.31.3custom
- ≥ 0.9.6, < 1.30.4fixed in 1.30.4custom
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2026-07-15
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- commercial-nginx-plusChainguardall versions · fixed in 37.0.3.1-r0
- ingress-nginx-controller-1.15Wolfiall versions · fixed in 1.15.10-r0
- ingress-nginx-controller-1.15Chainguardall versions · fixed in 1.15.10-r0and 1 other package
- nginxUbuntu:Pro:20.04:LTSall versions · fixed in 1.18.0-0ubuntu1.7+esm4
- nginxUbuntu:Pro:18.04:LTSall versions · fixed in 1.14.0-0ubuntu1.11+esm5
- nginxUbuntu:Pro:16.04:LTSall versions · fixed in 1.10.3-0ubuntu0.16.04.5+esm10
- nginxUbuntu:Pro:14.04:LTSall versions · fixed in 1.4.6-1ubuntu3.9+esm9
- nginxUbuntu:26.04:LTSall versions · fixed in 1.28.3-2ubuntu1.11
134 more package ranges on OSV.dev
Vendor advisories
nginx: NGINX: Arbitrary code execution via crafted HTTP requests
insights-proxy/insights-proxy-container-rhel9 as a component of Red Hat Lightspeed proxy 1
Red Hat Security Advisory: nginx:1.24 security update
Red Hat Security Advisory: nginx:1.24 security update
Red Hat Security Advisory: nginx security update
Red Hat Security Advisory: nginx:1.26 security update
Red Hat Security Advisory: nginx security update
9 more advisories
Fix
- Update F5 nginx ingress controller to 2026-lts-r4 · 5.5.3
- Vendor fix Red Hat Product Security RHSA-2026:100756 · 67 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
- Vendor fix Red Hat Product Security RHSA-2026:79357 · 1 productThe container image provided by this update can be downloaded from the Red Hat container registry at registry.redhat.io using the "podman pull" command.
- Vendor fix Red Hat Product Security RHSA-2026:46012 · 25 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://images.redhat.com/
- Workaround from the vendor Red Hat Product Security RHSA-2026:100756 · 67 productsTo mitigate this vulnerability, do not use unnamed captures. Use named captures instead and only use them in the same block with the regex match. Red Hat recommends updating nginx to the latest version when a fix is available.
Advisories and patches
- my.f5.comVendor Advisory
Detection
read 2026-12-03 04:56 UTC- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- CISA-ADP (SSVC)PoC stated2026-07-29
- PoC-in-GitHub13 repositories, unverifiedknown since 2026-12-030xCyberstan/CVE-2026-42533-Config-Scannersrkyn/nginx-map-risk-auditDaniyal48/ghostlock-vagrant-boxsuominen/CVE-2026-42533seguridadentrerios/CVE-2026-42533
- Metasploit modules
- none listed Metasploit Framework
Sources
- NVDCVE recordread 2026-12-04
- CISA-ADPSSVC decisionpoc2026-07-29
- CNACVSS 4.09.22026-07-15
- CNACVSS 3.18.12026-07-15
- CNAweakness (CWE)CWE-1222026-07-15
- FIRST EPSSEPSS score6.5 %2026-12-03
- PoC-in-GitHubproof of concept13known since 2026-12-03
- OSVaffected packages—
- GitHub Advisoriesadvisory—
Identifiers
- AZL-92493same flawAzure Linux · MIT
- BIT-nginx-2026-42533same flawBitnami · Apache-2.0
- BIT-nginx-gateway-2026-42533same flawBitnami · Apache-2.0
- CGA-3cc9-j23w-933vsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-4pq6-qr8x-8c2msame flawChainguard · CC-BY-NC-ND-4.0
- CGA-4x87-v4rf-45hfsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-665m-v76j-j44hsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-9fqg-3q8g-4grqsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-f5vr-pvf4-qxc8same flawChainguard · CC-BY-NC-ND-4.0
- CGA-fcvx-3jpp-875csame flawChainguard · CC-BY-NC-ND-4.0
- CGA-phfp-q2q6-hmxmsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-rjpr-972x-vr28same flawChainguard · CC-BY-NC-ND-4.0
- CGA-wr7c-qpm6-m78psame flawChainguard · CC-BY-NC-ND-4.0
- CGA-x99p-pq5w-pxj6same flawChainguard · CC-BY-NC-ND-4.0
- EUVD-2026-44683same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-fxfg-v4rj-hp95same flawGitHub Advisory Database · CC-BY-4.0
- MINI-86hq-v587-g4crsame flawMinimOS · LicenseRef-unstated
- MINI-88rq-692p-p4wfsame flawMinimOS · LicenseRef-unstated
- MINI-8j5h-v4f5-xh4qsame flawMinimOS · LicenseRef-unstated
- MINI-mm3m-37jq-234psame flawMinimOS · LicenseRef-unstated
- MINI-v5xw-v6h4-v63qsame flawMinimOS · LicenseRef-unstated
- MINI-wcfm-75hx-36qrsame flawMinimOS · LicenseRef-unstated
- ALSA-2026:66542advisory covering several CVEsAlmaLinux · MIT
- ALSA-2026:67283advisory covering several CVEsAlmaLinux · MIT
- ALSA-2026:67308advisory covering several CVEsAlmaLinux · MIT
- ALSA-2026:67314advisory covering several CVEsAlmaLinux · MIT
- ALSA-2026:67315advisory covering several CVEsAlmaLinux · MIT
- DLA-4784-1advisory covering several CVEsDebian · LicenseRef-unstated
- DSA-6496-1advisory covering several CVEsDebian · LicenseRef-unstated
- MGASA-2026-0301advisory covering several CVEsMageia · LicenseRef-unstated
- OESA-2026-3216advisory covering several CVEsopenEuler · LicenseRef-unstated
- openSUSE-SU-2026:11295-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2026:21524-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- RHSA-2026:100755advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2026:100756advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2026:100757advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2026:100768advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2026:46012advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2026:66542advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2026:67283advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2026:67308advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2026:67314advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2026:67315advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2026:93467advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2026:93468advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2026:93472advisory covering several CVEsRed Hat · CC-BY-4.0
- RLSA-2026:66542advisory covering several CVEsRocky Linux · CC-BY-4.0
- RLSA-2026:67283advisory covering several CVEsRocky Linux · CC-BY-4.0
- RLSA-2026:67308advisory covering several CVEsRocky Linux · CC-BY-4.0
- RLSA-2026:67314advisory covering several CVEsRocky Linux · CC-BY-4.0
Technical details
- CVSS v3 vector
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS 4.0 vector
- CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- Published
- 2026-07-15
- Last modified
- 2026-12-04
- NVD status
- Analyzed
- GitHub advisory
- GHSA-fxfg-v4rj-hp95
Frequently asked questions
What is CVE-2026-42533?
Is CVE-2026-42533 actively exploited?
What is the CVSS score for CVE-2026-42533?
Running nginx? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website checks · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
- CVE-2023-44487KEVsame product
- CVE-2026-42945same product
- CVE-2021-23017same product
- CVE-2026-123007same productNGINX ngx_http_v2_module vulnerability
- CVE-2026-49975same productApache HTTP Server: mod_http2 denial of service
- CVE-2026-27654same product
- CVE-2026-123633same productNGINX ngx_http_v2_module vulnerability
- CVE-2026-123634same productNGINX resolver vulnerability
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-fxfg-v4rj-hp95
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OpenCVE · OpenCVE terms of service · terms restrict redistribution
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- PoC-in-GitHub · CC0-1.0
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- CISA Vulnrichment · CC0-1.0