CVE-2026-42945
CVE-2026-42945 is a high-severity vulnerability in F5 Dos with a CVSS 3.x base score of 8.1. Its EPSS exploit-prediction score of 61% places it in the 99th percentile, indicating an elevated likelihood of exploitation. The underlying weakness is classified as CWE-122.
Key facts
- Severity: High (CVSS 3.x base score 8.1)
- CVSS v4: 9.2
- EPSS exploit prediction: 61% (99th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2026-30010
- Weakness: CWE-122
- Affected product: F5 Dos
- Published:
- Last modified:
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.
Frequently asked questions
- What is 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.
- How severe is CVE-2026-42945?
- CVE-2026-42945 has a CVSS 3.x base score of 8.1, rated high severity. It is exploitable over network with high attack complexity, requires no privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2026-42945 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 61% (99th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2026-42945?
- CVE-2026-42945 primarily affects F5 Dos. In total, 8 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2026-42945?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- Does CVE-2026-42945 have an EU (EUVD) identifier?
- Yes. CVE-2026-42945 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2026-30010.
- When was CVE-2026-42945 published?
- CVE-2026-42945 was published on 2026-05-13 and last updated on 2026-06-27.
References
- https://my.f5.com/manage/s/article/K000161019
- https://depthfirst.com/nginx-rift
- https://github.com/DepthFirstDisclosures/Nginx-Rift
- https://access.redhat.com/errata/RHSA-2026:17417
- https://access.redhat.com/errata/RHSA-2026:17751
- https://access.redhat.com/errata/RHSA-2026:17752
- https://access.redhat.com/errata/RHSA-2026:17753
- https://access.redhat.com/errata/RHSA-2026:17790
- https://access.redhat.com/errata/RHSA-2026:17791
- https://access.redhat.com/errata/RHSA-2026:17792
- https://access.redhat.com/errata/RHSA-2026:17793
- https://access.redhat.com/errata/RHSA-2026:17794
- https://access.redhat.com/errata/RHSA-2026:18029
- https://access.redhat.com/errata/RHSA-2026:18041
- https://access.redhat.com/errata/RHSA-2026:18063
- https://access.redhat.com/errata/RHSA-2026:19159
- https://access.redhat.com/errata/RHSA-2026:19371
- https://access.redhat.com/errata/RHSA-2026:19372
- https://access.redhat.com/errata/RHSA-2026:19374
- https://access.redhat.com/errata/RHSA-2026:20442
- https://access.redhat.com/errata/RHSA-2026:20444
- https://access.redhat.com/errata/RHSA-2026:21275
- https://access.redhat.com/errata/RHSA-2026:22382
- https://access.redhat.com/errata/RHSA-2026:22383
- https://access.redhat.com/errata/RHSA-2026:22388
- https://access.redhat.com/errata/RHSA-2026:22389
- https://access.redhat.com/errata/RHSA-2026:22390
- https://access.redhat.com/errata/RHSA-2026:22393
- https://access.redhat.com/errata/RHSA-2026:22394
- https://access.redhat.com/errata/RHSA-2026:22396
Affected products (8)
- cpe:2.3:a:f5:dos:*:*:*:*:*:nginx:*:*
- cpe:2.3:a:f5:dos:4.8.0:*:*:*:*:nginx:*:*
- cpe:2.3:a:f5:nginx_gateway_fabric:*:*:*:*:*:*:*:*
- cpe:2.3:a:f5:nginx_ingress_controller:*:*:*:*:*:*:*:*
- cpe:2.3:a:f5:nginx_instance_manager:*:*:*:*:*:*:*:*
- cpe:2.3:a:f5:nginx_open_source:*:*:*:*:*:*:*:*
- cpe:2.3:a:f5:nginx_plus:*:*:*:*:*:*:*:*
- cpe:2.3:a:f5:waf:*:*:*:*:*:nginx:*:*
More vulnerabilities in F5 Dos
- CVE-2026-42055 — High (CVSS 8.1): NGINX Plus and NGINX Open Source have a vulnerability in the ngx_http_proxy_v2_module and…
- CVE-2026-42946 — Medium (CVSS 6.5): A vulnerability exists in the ngx_http_scgi_module and ngx_http_uwsgi_module modules that may result in excessive…
- CVE-2026-40460 — Medium (CVSS 6.5): When NGINX Plus or NGINX Open Source are configured to use the HTTP/3 QUIC module, an attacker may be able to spoof…
- CVE-2026-48142 — Medium (CVSS 4.8): NGINX Plus and NGINX Open Source have a vulnerability in the ngx_http_charset_module module. When content is served or…
- CVE-2026-42934 — Medium (CVSS 4.8): NGINX Plus and NGINX Open Source have a vulnerability in the ngx_http_charset_module module. When charset,…
- CVE-2026-40701 — Medium (CVSS 4.8): NGINX Plus and NGINX Open Source have a vulnerability in the ngx_http_ssl_module module when the…
Other CWE-122 (Heap-based Buffer Overflow) vulnerabilities
- CVE-2026-46752 — Critical (CVSS 10.0): Redis Lua HEAP overflow in cjson library vulnerability in Apache Kvrocks. This issue affects Apache Kvrocks: from…
- CVE-2026-24822 — Critical (CVSS 10.0): Out-of-bounds Write, Heap-based Buffer Overflow vulnerability in ttttupup wxhelper (src modules). This vulnerability is…
- CVE-2025-23123 — Critical (CVSS 10.0): A malicious actor with access to the management network could execute a remote code execution (RCE) by exploiting a…
- CVE-2022-34819 — Critical (CVSS 10.0): A vulnerability has been identified in SIMATIC CP 1242-7 V2 (All versions < V3.3.46), SIMATIC CP 1243-1 (All versions <…
- CVE-2026-44050 — Critical (CVSS 9.9): A heap-based buffer overflow in the CNID daemon comm_rcv() function in Netatalk 2.0.0 through 4.4.2 allows a remote…
- CVE-2026-49841 — Critical (CVSS 9.8): FreeSWITCH is a Software Defined Telecom Stack enabling the digital transformation from proprietary telecom switches to…
Browse all CWE-122 (Heap-based Buffer Overflow) vulnerabilities →