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.
Published: 2026-07-15
Score: 9.2 Critical
EPSS: 3.6% Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability arises when a map directive uses regex matching and the resulting capture variables are referenced before the map output variable is retrieved, causing a heap buffer overflow in the NGINX worker process. This corrupts memory, leads to an immediate restart, and thereby produces a denial‑of‑service. If Address Space Layout Randomization is disabled or can be bypassed, the same flaw allows an attacker to inject code and achieve arbitrary execution. The issue exists only in the data plane; no control‑plane interfaces are exposed.

Affected Systems

Both F5 NGINX Open Source and NGINX Plus are affected. No specific version information is listed in the advisory; the vulnerability applies to all unpatched releases of these products that implement the described map directive behavior.

Risk and Exploitability

With a CVSS score of 9.2 the flaw is considered critical. The EPSS score of 3% indicates that, while exploitation is theoretically possible, the probability of real‑world attacks remains low at this time. The vulnerability is not included in the CISA KEV catalog. Attackers would need only to send a crafted HTTP request, do not require authentication, and would benefit from ASLR being disabled to achieve code execution. The failure causes a service restart, which may temporarily interrupt traffic but does not expose configuration or database secrets.

Generated by OpenCVE AI on August 3, 2026 at 03:04 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the latest NGINX patch or upgrade to a version that fixes the heap buffer overflow when using regex map directives.
  • Enable Address Space Layout Randomization on the host to make code execution infeasible when the vulnerability is exploited.
  • Restrict external access to the NGINX instance to trusted networks, apply request filtering or a Web Application Firewall to block malformed map directive usage, and monitor logs for abnormal restarts or error patterns.

Generated by OpenCVE AI on August 3, 2026 at 03:04 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Ubuntu USN Ubuntu USN USN-8563-1 nginx vulnerabilities
History

Sun, 19 Jul 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-131
References
Metrics threat_severity

None

threat_severity

Important


Wed, 15 Jul 2026 23:30:00 +0000

Type Values Removed Values Added
First Time appeared F5
F5 nginx Open Source
F5 nginx Plus
Vendors & Products F5
F5 nginx Open Source
F5 nginx Plus

Wed, 15 Jul 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Wed, 15 Jul 2026 15:00:00 +0000

Type Values Removed Values Added
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.
Title NGINX Map directive and Regex matching vulnerability
Weaknesses CWE-122
References
Metrics cvssV3_1

{'score': 8.1, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 9.2, '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'}


Subscriptions

F5 Nginx Open Source Nginx Plus
cve-icon MITRE

Status: PUBLISHED

Assigner: f5

Published:

Updated: 2026-07-29T03:55:24.843Z

Reserved: 2026-05-05T21:19:09.517Z

Link: CVE-2026-42533

cve-icon Vulnrichment

Updated: 2026-07-15T15:37:52.337Z

cve-icon NVD

No data.

cve-icon Redhat

Severity : Important

Publid Date: 2026-07-15T14:33:45Z

Links: CVE-2026-42533 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-03T03:15:05Z

Weaknesses
  • CWE-122

    Heap-based Buffer Overflow

  • CWE-131

    Incorrect Calculation of Buffer Size