
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-42533 is a heap-based buffer overflow vulnerability in NGINX Plus and NGINX Open Source triggered when a map directive uses regex matching and a string expression references the map's regex capture variables before the map output variable, or when a non-cacheable variable is used in a string expression under certain conditions. Disclosed on July 15, 2026, it affects NGINX Open Source versions 0.9.6 through 1.30.3 and 1.31.2, and NGINX Plus R33 through R36 (before R36 P7) and 37.0.0.1 through 37.0.3.0. The vulnerability has a CVSS v3.1 base score of 8.1 (High) and a CVSS v4.0 base score of 9.2 (Critical) (GitHub Advisory, F5 Advisory).
The root cause is an incorrect calculation of buffer size (CWE-131) leading to a heap-based buffer overflow (CWE-122) in the NGINX worker process. The flaw resides in the complex_value evaluation logic: when a map directive with regex matching is configured and a string expression references the map's regex capture variables (e.g., $1, $2) before referencing the map output variable, a two-pass evaluation causes capture variable clobbering that corrupts heap memory. The same condition can be triggered using non-cacheable variables in string expressions under specific configuration patterns. An unauthenticated remote attacker can send crafted HTTP requests to trigger the overflow, but exploitation requires conditions partially beyond the attacker's control (High Attack Complexity). A static configuration scanner to identify vulnerable NGINX config patterns has been published publicly (GitHub Advisory, PoC Scanner).
Successful exploitation causes a heap buffer overflow in the NGINX worker process, resulting in a worker process restart (denial of service). On systems where Address Space Layout Randomization (ASLR) is disabled or can be bypassed by the attacker, the vulnerability may escalate to remote code execution with full confidentiality, integrity, and availability impact on the affected system. The vulnerability is a data plane issue only — there is no control plane exposure — but given NGINX's widespread use as a reverse proxy and load balancer, exploitation could affect all traffic flowing through the server (GitHub Advisory, F5 Advisory).
map directive patterns.map directive with regex matching where a downstream string expression references the map's regex capture variables (e.g., $1) before the map output variable, or uses non-cacheable variables in string expressions.map directive and its regex capture variables, causing the two-pass complex_value evaluation to clobber heap memory with attacker-influenced data./var/log/nginx/error.log or journalctl); entries such as worker process XXXX exited on signal 11 (SIGSEGV) or worker process XXXX exited on signal 6 (SIGABRT) indicating memory corruption.map directives with regex patterns; high-volume requests from a single source attempting to trigger worker crashes; unexpected outbound connections from the NGINX server process.F5 released patched versions on July 15, 2026: NGINX Open Source 1.30.4 (stable branch) and 1.31.3 (mainline branch); NGINX Plus R36 P7 and 37.0.3.1. Upgrading to a patched version is the primary recommended remediation (F5 Advisory, NGINX 1.31.3 Release). If immediate patching is not possible, audit NGINX configuration files for map directives using regex matching where downstream string expressions reference capture variables before the map output variable, and refactor or disable such patterns. Additionally, ensure ASLR is enabled on all systems running NGINX to reduce the risk of RCE escalation beyond DoS. Restrict network access to NGINX services where feasible as a defense-in-depth measure.
F5 published an official advisory (K000162097) classifying the issue as a data plane vulnerability with no control plane exposure, and urged immediate patching (F5 Advisory). The Hacker News, SecurityWeek, Security Affairs, and numerous security blogs covered the vulnerability extensively, with several outlets noting the flaw spans approximately 15 years of NGINX versions (The Hacker News, SecurityWeek). Community discussion on Reddit (r/nginx, r/SecOpsDaily, r/security) was active, with threads analyzing the heap overflow mechanics and configuration risk patterns. TechTimes reported that the researcher responsible for discovery planned to release a full PoC exploit around August 5, 2026, approximately 21 days post-patch, generating significant urgency in the security community to patch before that date (TechTimes). Heise (German tech outlet) and NHS Digital also issued alerts, reflecting broad international awareness of the vulnerability.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."