NGINX Map directive and Regex matching vulnerability
CVE-2026-42533Published 15 Jul 2026, 14:33 UTC
Real-world risk
4.3/ 10Medium
Schedule in the normal cycle
PreliminaryFrom the CVSS vector only · confidence low
CVSS
9.2
scored by the vendor (CNA), CVSS 4.0
In plain words
No plain-language summary yet. The original description is below.
Original description (from f5)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| NGINX Open SourceCommon | >= 1.31.2, < 1.31.3; >= 0.9.6, < 1.30.4 | 1.31.3, 1.30.4 |
| NGINX PlusCommon | >= 37.0.0.1, < 37.0.3.1; >= R36, < R36 P7; >= R33, < * | 37.0.3.1 |
What to do
Update to a fixed version: 1.31.3, 1.30.4, 37.0.3.1.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Full compromiseCode execution or full control of the system or application | From the CVSS vector | 1.00 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | NoneNo account | From the CVSS vector | 1.00 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | HardNarrow race, needs an extra info leak, needs a man-in-the-middle position, or must be chained with another bug | From the CVSS vector | 0.45 |
Threat level T3: Public proof of concept (× 0.95)
A qualifying GitHub proof of concept, an unverified Exploit-DB entry, CISA's SSVC says PoC, or a reference tagged as an exploit
- Public proof of concept on GitHub
- Public proof of concept on GitHub
- CISA SSVC: proof of concept
EPSS 6.5% chance of exploitation in 30 days (percentile 94), as of 2026-12-03.
The arithmetic
- Prerequisites multiplied together0.450
- Threat T3: Public proof of concept0.950
- 10 × impact 1 × prerequisites 0.45 × threat 0.954.275
- Rounded to one decimal between 0.1 and 104.3
Exploitation and evidence timeline
- 15 Jul 2026 Published
- 3 Dec 2026 Public proof of concept on GitHub first seen
- 3 Dec 2026 Public proof of concept on GitHub first seen
- 3 Dec 2026 CISA SSVC: proof of concept first seen
- 3 Dec 2026 Risk 4.3 (cvss fallback)
Weakness
CWE-122
References
- https://my.f5.com/manage/s/article/K000162097patch, vendor-advisory
- CVE-2026-42533 on CVE.org