All vulnerabilities

Servers and applications

CVE-2026-42533

NGINX Map directive and Regex matching vulnerability

Severity
Critical 9.2
Published
15 Jul 2026
Last changed
19 Nov 2026
Added to UpHeron
3 Nov 2026
Fixed in
1.30.4, 1.31.3
Exploit chance
6.3% in the next 30 daysHigher than 93% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
Heap-based buffer overflow (CWE-122)
Attack
Over the network · Only under certain conditions · No login needed · No user action needed
Attacker can
Read data · Change data · Take it down
CVSS 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Sources
NVD, CVE Program

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.

From the CVE Program. Shortened; the full text is there.

Affected software

SoftwareAffected versions
nginxServers and applications · cna:f5|nginx open source
  • From 0.9.6 before 1.30.4
  • From 1.31.2 before 1.31.3
nginxServers and applications · cpe:a:f5:nginx_open_source
  • From 0.9.6 before 1.30.4
  • From 1.31.0 before 1.31.3

About nginx

open source web server and a reverse proxy server

From Wikidata, CC0 1.0.
Share of websites with a known web server
29.8%W3Techs, Nov 2026
Docker Hub pulls
13,594,095,138Docker Hub, 15 Nov 2026
GitHub stars
32,122GitHub, 15 Nov 2026
Forks
8,396GitHub, 15 Nov 2026
Latest release
release-1.31.8GitHub, 15 Nov 2026
Released
21 Oct 2026GitHub
Developer
Maxim DouninWikidata
License
2-clause BSD LicenseWikidata
Written in
CWikidata
First released
4 Oct 2004Wikidata
First published on GitHub
23 Jun 2015GitHub

Release lines

ReleaseLatestSecurity fixes
1.311.31.8Yes
1.301.30.6Yes
1.291.29.8Ended 13 May 2026
1.281.28.3Ended 14 Apr 2026
1.271.27.5Ended 24 Jun 2025
1.261.26.3Ended 23 Apr 2025

From endoflife.date.

Vulnerabilities in nginx

In our list
84
Published in the last 12 months
35
Critical, last 12 months
12
High, last 12 months
11
Known exploited
1
Search the list for nginx

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2026-42533
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-42533