CVE-2026-42945
CVE-2026-42945 is a critical-severity vulnerability in F5 NGINX Plus and 1 other product (CVSS 4.0 CVSS-B score 9.2), classified as CWE-122 (Heap-based Buffer Overflow). It is not in the CISA Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment rates its exploitation as none. As of 2026-11-16, EPSS estimates a 68.0% probability of exploitation in the next 30 days, in the 99th percentile of scored CVEs.
Updated
- CVSS 4.0
- 9.2 CRITICAL
- EPSS
- 68.0% (99th pct)
- CISA KEV
- Not listed
- Published
- 2026-05-13
- Weakness
- CWE-122
Description
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.
Key Findings
as of 2026-11-16- Its current EPSS score (68.0%) is higher than that of 56% of CISA KEV entries.
Severity
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NOpen in CVSS calculator Affected Products
| Vendor | Product | Affected versions |
|---|---|---|
| F5 | F5 NGINX Plus | R37 to <* (unaffected) R36 to <R36 P4 R32 to <R32 P6 |
| F5 | F5 NGINX Open Source | 1.31.0 to <* (unaffected) 0.6.27 to <1.30.1 |
References
3 linksVendor advisories
Other references
Record Details
- Published
- 2026-05-13
- Last updated
- 2026-09-10
- Assigner (CNA)
- f5
- Credited to
- F5 acknowledges Zhenpeng (Leo) Lin of depthfirst for bringing this issue to our attention and following the highest standards of coordinated disclosure.
More from F5
NGINX ngx_http_rewrite_module vulnerability
NGINX Map directive and Regex matching vulnerability
F5 BIG-IP Missing Authentication Vulnerability
BIG-IP Configuration utility unauthenticated remote code execution vulnerability
CVE record data © The MITRE Corporation, used under the CVE Terms of Use. Exploited-in-the-wild data from the CISA Known Exploited Vulnerabilities catalog (CC0). Exploit prediction scores by FIRST EPSS (first.org/epss). Alert titles and links from CISA cybersecurity alerts. This site is not affiliated with or endorsed by MITRE, NVD, CISA, or FIRST.