PT-2026-60178 · F5+2 · Nginx Open Source+3

CVE-2026-42533

·

Published

2026-07-15

·

Updated

2026-09-10

CVSS v4.0

9.2

Critical

VectorAV: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
Name of the Vulnerable Software and Affected Versions NGINX Open Source versions 0.9.6 through 1.30.3 NGINX Open Source version 1.31.2 NGINX Plus R33 through R36 NGINX Plus versions 37.0.0.1 through 37.0.2.1
Description A heap buffer overflow exists in the NGINX worker process due to a flaw in the two-pass evaluation engine where the PCRE capture state is not saved and restored. This occurs 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. An unauthenticated remote attacker can exploit this by sending crafted HTTP requests, potentially leading to a denial-of-service (DoS) via worker process restarts or remote code execution (RCE) on systems where Address Space Layout Randomization (ASLR) is disabled or bypassed. The issue affects both HTTP and stream modules and is triggered by specific configuration patterns involving directives such as proxy set header, proxy pass, rewrite, add header, root, and set.
Recommendations Update NGINX Open Source to version 1.30.4. Update NGINX Open Source to version 1.31.3. Update NGINX Plus to R36 P7. Update NGINX Plus to version 37.0.3.1. As a temporary mitigation, audit configurations to identify and remove patterns that combine regex captures with regex map variables in the same evaluation path.

Exploit

Fix

RCE

DoS

Heap Based Buffer Overflow

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALSA-2026:66542
AZL-92493
BDU:2026-09927
BIT-NGINX-2026-42533
BIT-NGINX-GATEWAY-2026-42533
CVE-2026-42533
ECHO-FF61-CEC3-1D6D
OESA-2026-3216
OPENSUSE-SU-2026:11295-1
OPENSUSE-SU-2026:21524-1
RHSA-2026:46012
SUSE-SU-2026:23118-1
SUSE-SU-2026:23140-1
SUSE-SU-2026:3448-1
SUSE-SU-2026:3469-1
USN-8563-1
USN-8563-2
USN-8563-3
USN-8563-4

Affected Products

Nginx Open Source
Nginx Plus
Nginx
Red Os