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
Published · last modified .
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.
EPSS exploit prediction
EPSS: 0.034 (88.7th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 89th percentile — 88.7% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.680 · newest: 0.034 · change: -0.647
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
- my.f5.com/manage/s/article/K000161019 (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?
- 57 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.