CVE-2026-42533: NGINX Map directive and Regex matching vulnerability

CVE-2026-42533 affects 234 listed versions of nginx, nginx Plus in the Dawnsentry catalogue.

8.1CVSS high
Proof of concept publicexploitation
7%EPSS (next 30 days)
15 July 2026published

Affected products and versions

The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.

nginx

214 of 250 listed versions are affected. Fixed in 1.31.3, 1.30.4. The newest release, 1.31.10, is not affected.

1.31.2 1.31.1 1.31.0 1.30.3 1.30.2 1.30.1 1.30.0 1.29.8 1.29.7 1.29.6 1.29.5 1.29.4 1.29.3 1.29.2 1.29.1 1.29.0 1.28.3 1.28.2 1.28.1 1.28.0 1.27.5 1.27.4 1.27.3 1.27.2 1.27.1 1.27.0 1.26.3 1.26.2 1.26.1 1.26.0 1.25.5 1.25.4 1.25.3 1.25.2 1.25.1 1.25.0 1.24.0 1.23.4 1.23.3 1.23.2 1.23.1 1.23.0 1.22.1 1.22.0 1.21.6 1.21.5 1.21.4 1.21.3 1.21.2 1.21.1 1.21.0 1.20.2 1.20.1 1.20.0 1.19.10 1.19.9 1.19.8 1.19.7 1.19.6 1.19.5 and 154 more

nginx Plus

20 of 109 listed versions are affected. Fixed in 37.0.3.1, R36 P7, R36. The newest release, 37.3.1.1, is not affected.

37.0.2.1 37.0.1.1 37.0.0.1 R36 P6 R36 P5 R36 P4 R36 P3 R36 P2 R36 P1 R36 R35 P2 R35 P1 R35 R34 P2 R34 P1 R34 R33 P3 R33 P2 R33 P1 R33

What it is

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.

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H (F5)

Published by F5 on 15 July 2026. Last changed 19 November 2026.

Sources

Check one version you run: look CVE-2026-42533 up, or pick a product and version in the quick lookup.

Updated 2 December 2026.