Skip to main content
Public proof of conceptFix available

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?

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
  1. 2026-07-1514:33CVE publishedCNA
  2. 2026-07-1515:16CVE publishedNVD

Versions per branch

NVD
F5 nginx ingress controller
BranchAffectedFixed in
2026.x≥ 2026-lts-r1, < 2026-lts-r42026-lts-r4
5.x≥ 5.0.0, < 5.5.35.5.3
3.x≥ 3.5.0, ≤ 3.7.2no fix published
4.0= 4.0.1no fix published
4.0= 4.0.0no fix published
F5 nginx plus
BranchAffectedFixed in
—≥ r33, < r36r36
37.0≥ 37.0.0.1, < 37.0.3.137.0.3.1
—= r36no fix published
F5 waf
BranchAffectedFixed in
5.x≥ 5.9.0, < 5.13.45.13.4
5.x≥ 5.2.0, ≤ 5.8.0no fix published
4.x≥ 4.11.0, ≤ 4.16.0no fix published

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: unknown
    Affected
    • ≥ 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: unknown
    Affected
    • ≥ 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

  • CVE-2026-42533 Red Hat Product Security940 products fixed · 1 known affected

    nginx: NGINX: Arbitrary code execution via crafted HTTP requests

    insights-proxy/insights-proxy-container-rhel9 as a component of Red Hat Lightspeed proxy 1

  • RHSA-2026:100756 Red Hat Product Security67 products fixed

    Red Hat Security Advisory: nginx:1.24 security update

  • RHSA-2026:100755 Red Hat Product Security67 products fixed

    Red Hat Security Advisory: nginx:1.24 security update

  • RHSA-2026:100768 Red Hat Product Security97 products fixed

    Red Hat Security Advisory: nginx security update

  • RHSA-2026:100757 Red Hat Product Security67 products fixed

    Red Hat Security Advisory: nginx:1.26 security update

  • RHSA-2026:93467 Red Hat Product Security99 products fixed

    Red Hat Security Advisory: nginx security update

9 more advisories

Full record on NVD

Fix

  1. Update F5 nginx ingress controller to 2026-lts-r4 · 5.5.3
  2. 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
  3. 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.
  4. 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/
  5. 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

Detection

read 2026-12-03 04:56 UTC
Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

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?

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.

Is CVE-2026-42533 actively exploited?

A proof-of-concept exploit exists for CVE-2026-42533, but active exploitation has not been confirmed at this time.

What is the CVSS score for CVE-2026-42533?

CVE-2026-42533 has a CVSS v3 base score of 8.1 (High severity), with vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H.

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

Sources for this record