Vendors › F5

K000162097

Critical (9.2) EPSS 6.5% F5 · NGINX

NGINX map directive and regex matching vulnerability CVE-2026-42533

A heap buffer overflow in the NGINX map directive with regex matching lets an unauthenticated attacker crash the NGINX worker process (denial of service) and possibly execute code where ASLR is absent; NGINX Plus, NGINX Open Source, Instance Manager, F5 WAF for NGINX, App Protect WAF, Gateway Fabric, and Ingress Controller are affected.

Published2026-07-15
Updated2026-07-21
AffectedNGINX Plus 37.x: 37.0.0.1 - 37.0.2.1 - The map directive with regex matching | NGINX Plus Rx: R33 - R36 - The map directive with regex matching | NGINX Open Source 1.x: 1.31.2, 1.30.0 - 1.30.3, 1.30.4 - The map directive with regex matching | NGINX Instance Manager 2.x: 2.17.0 - 2.22.1 - Base NGINX Open Source software components | F5 WAF for NGINX 5.x: 5.9.0 - 5.13.3 - Base NGINX Plus software components | NGINX App Protect WAF 5.x: 5.2.0 - 5.8.0 - Base NGINX Plus software components | NGINX App Protect WAF 4.x: 4.11.0 - 4.16.0 - Base NGINX Plus software components | NGINX Gateway Fabric 2.x: 2.0.0 - 2.6.6 - Base NGINX Plus or NGINX Open Source software components | NGINX Gateway Fabric 1.x: 1.3.0 - 1.6.2 - Base NGINX Plus or NGINX Open Source software components | NGINX Ingress Controller 5.x: 2026-lts-r1 - 2026-lts-r3, 5.0.0 - 5.5.2, 5.5.3 - Base NGINX Plus or NGINX Open Source software components | NGINX Ingress Controller 4.x: 4.0.0 - 4.0.1 - Base NGINX Plus or NGINX Open Source software components | NGINX Ingress Controller 3.x: 3.5.0 - 3.7.2 - Base NGINX Plus or NGINX Open Source software components
FixNGINX Plus 37.x: fixed in 37.0.3.1 | NGINX Plus Rx: fixed in R36 P7 | NGINX Open Source 1.x: fixed in 1.31.3 | NGINX Instance Manager 2.x: fixed in 2.22.2 | F5 WAF for NGINX 5.x: fixed in 5.13.4 | NGINX App Protect WAF 5.x/4.x: No fix yet - do not use unnamed captures; use unique named captures only in the same block as the regex match | NGINX Gateway Fabric 2.x: fixed in 2.6.7 | NGINX Gateway Fabric 1.x: No fix yet - do not use unnamed captures; use unique named captures only in the same block as the regex match | NGINX Ingress Controller 5.x: fixed in 2026-lts-r4 | NGINX Ingress Controller 4.x/3.x: No fix yet - do not use unnamed captures; use unique named captures only in the same block as the regex match
Vendor advisoryhttps://my.f5.com/manage/s/article/K000162097

CVEs (1)

CVECWETypeImpactLinks
CVE-2026-42533CWE-122OverflowCode ExecutionNVD · CVE.org · EUVD

CWE, type and impact come from the NVD enrichment pass; unfilled rows are pending enrichment.

Same CVE in other advisories

Open in the CVEMesh app Create a free account

Track this advisory against your own stack — add your assets and CVEMesh shows which advisories actually apply to the versions you run.

CVEMesh aggregates public vendor advisories as guidance; always verify against the vendor's official advisory before patching or upgrading.