Buffer overflow in F5 Dos
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.
Vulnerability class: Buffer Overflow
EPSS: 0.680 (99.3th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 8.1 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H.
Affected products
- F5 Dos — versions 4.8.0
- F5 Nginx_app_protect_dos
- F5 Nginx_app_protect_waf
- F5 Nginx_gateway_fabric
- F5 Nginx_ingress_controller
- F5 Nginx_instance_manager
- F5 Nginx Open Source — versions 1.31.0, 0.6.27
- F5 Nginx_open_source
- F5 Nginx Plus — versions R37, R36, R32
- F5 Nginx_plus
Weakness classification (CWE)
Public proof-of-concept exploits
- DepthFirstDisclosures/Nginx-Rift
- cipherspy/CVE-2026-42945-POC
- friparia/NGINX_RIFT_SCAN_CVE_2026_42945
- MateusVerass/nGixshell
- rheodev/CVE-2026-42945
- oseasfr/Scanner_CVE_2026-42945
- p3Nt3st3r-sTAr/CVE-2026-42945-POC
- nu0l/NGINX-Rift
- bamov970/CVE-2026-42945-Nginx-RCE-bypass-ASLR
- gagaltotal/CVE-2026-42945-NGINX-Rift-Toolkit
References
- f5sirt@f5.com (vendor-advisory, Mitigation, patch, Vendor Advisory)
- af854a3a-2127-422b-91ae-364da2661108 (Technical Description, Third Party Advisory, Mitigation)
- af854a3a-2127-422b-91ae-364da2661108 (Exploit, Third Party Advisory)
- 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
- 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
- 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
- 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
- 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
- 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
- 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
Frequently asked questions
- What is CVE-2026-42945?
- CVE-2026-42945 is a high-severity vulnerability in F5 Dos, classified under Heap-based Buffer Overflow. CVSS score: 8.1/10. Published 2026-05-13.
- How severe is CVE-2026-42945?
- High severity. CVSS v3 base score is 8.1 out of 10.
- Is CVE-2026-42945 known to be exploited?
- 55 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.