CVE-2026-42533: NGINX 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.
Security readout for executives and security teams
Plain-English summary
A critical NGINX memory-safety flaw can let an unauthenticated attacker crash worker processes with crafted HTTP requests when a specific configuration is present. Code execution may be possible if ASLR is disabled or bypassed. The issue affects data-plane traffic handling, not the control plane. The provided sources do not establish active exploitation.
Executive priority
Treat this as an urgent validation and remediation item for internet-facing NGINX systems. Configuration prerequisites reduce broad exposure, but reachable vulnerable instances face service disruption and potentially code execution. Require owners to confirm configuration exposure and follow F5’s patch guidance promptly.
Technical view
A heap buffer overflow can occur when an NGINX map uses regex matching and an expression references regex capture variables before the map output variable. Certain uses of non-cacheable variables may also trigger it. Successful exploitation can restart a worker, causing denial of service, and may enable code execution where ASLR is absent or bypassed.
Likely exposure
Exposure is configuration-dependent. Prioritize NGINX Plus and NGINX Open Source systems receiving untrusted HTTP traffic that use regex-based map directives or relevant non-cacheable variables. The bundle lists Plus 37.0.0.1, R36, and R33, and Open Source 1.31.2 and 0.9.6, but marks default affected status unknown.
Exploitation context
An unauthenticated remote attacker can send crafted HTTP requests, but exploitation requires configuration and runtime conditions partly beyond the attacker’s control. The CVSS 4.0 score is 9.2 with high attack complexity. The bundle reports KEV as false and provides no other evidence of active exploitation.
Researcher notes
The weakness is classified as CWE-122 and scored 9.2 under CVSS 4.0. Scope assessment is limited because the bundle does not include explicit fixed versions, exact affected ranges, or the alternate non-cacheable-variable conditions. End-of-Technical-Support releases were not evaluated, so absence from the listed versions does not establish safety.
Mitigation direction
Review F5 advisory K000162097 and apply vendor-specified patched releases for each supported NGINX deployment.
Prioritize internet-facing data-plane instances using affected map and regex configurations.
If patching is delayed, seek vendor-approved workarounds; none are specified in the provided bundle.
Preserve ASLR protections; disabling ASLR increases potential impact according to the source.
Validation and detection
Inventory NGINX Plus and Open Source versions, including unsupported deployments not evaluated by F5.
Inspect configurations for map directives referencing regex capture variables before the map output variable.
Identify string expressions containing non-cacheable variables that may meet the alternate vulnerable condition.
Confirm deployed versions and remediation status against F5 advisory K000162097.
Monitor worker crashes or restarts associated with crafted or unusual HTTP requests.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · low confidence lookup
CWE-122: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
The CVE wording references code or command execution, so execution technique review may help defensive triage. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
2CVSS vectors
3Timeline events
1ADP providers
2Source links
SSVC decision data
CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: pocAutomatable: noTechnical Impact: total
CVSS vector scores
2 official scores
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-122 · source CWE mapping
Heap-based Buffer Overflow
Heap-based Buffer Overflow represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.