← Back to CVE List
Vulnerability Intelligence Report
NGINX ngx_http_rewrite_module vulnerability

CVE-2026-42945

NGINX Plus and NGINX Open Source have a vulnerability in the ngx_http_rewrite_module module. This vulnerability exists when the rewrite directive is followed by a rewrite, if, or set directive and an unnamed Perl-Compatible Regular Expression (PCRE) capture (for example, $1, $2) with a replacement string that includes a question mark (?). An unauthenticated attacker along with conditions beyond its 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.  Note: Software versions which have reached End of Technical Support (EoTS) are not evaluated.

No Active Exploit Signals
CVSS Base Score
8.1
HIGH
Exploitability:2.3
Impact Score:5.9
EPSS Probability:68.05%
Executive Threat Verdict
Evaluating...
Evaluating Threat Landscape...
Assessing known weaponization, exploitation telemetry, and federal advisories.
Attack Surface
Authentication
Weaponization
SSVC Action

Weaknesses (CWE)

CWE-122 ↗CWE-122 Heap-based Buffer Overflow.

Affected Products & Versions

Vendor Product Affected Versions
F5 NGINX Plus R37 < * (unaffected), R36 < R36 P4 (affected), R32 < R32 P6 (affected)
F5 NGINX Open Source 1.31.0 < * (unaffected), 0.6.27 < 1.30.1 (affected)

References & Technical Advisories

No reference links found.

Threat Intelligence Signals

EPSS Score
68.047%

Identity & Timeline

StatusPUBLISHED
Assigning AuthorityF5, Inc. · Vendor · USA
Reserved2026-04-30T23:04:27
Published2026-05-13T14:12:43
Patch Date2026-05-13
Last Updated2026-09-10T12:04:53

LINK COPIED TO CLIPBOARD