CVE-2026-42945
Awaiting Analysis
Awaiting Analysis - Queue
BaseFortify
Vulnerability report for CVE-2026-42945, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.
Publication date: 2026-05-13
Last updated on: 2026-06-27
Assigner: F5 Networks
Description
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.
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| f5 | nginx_ingress_controller | From 4.0.0 (inc) to 4.0.1 (inc) |
| f5 | nginx_gateway_fabric | From 1.3.0 (inc) to 1.6.2 (inc) |
| f5 | nginx_ingress_controller | From 3.5.0 (inc) to 3.7.2 (inc) |
| f5 | nginx_plus | From r32 (inc) to r36 (inc) |
| f5 | nginx_gateway_fabric | From 2.0.0 (inc) to 2.5.1 (inc) |
| f5 | nginx_ingress_controller | From 5.0.0 (inc) to 5.4.1 (inc) |
| f5 | nginx_instance_manager | From 2.16.0 (inc) to 2.21.1 (inc) |
| f5 | nginx_open_source | From 0.6.27 (inc) to 1.30.0 (inc) |
| f5 | dos | 4.8.0 |
| f5 | waf | From 5.9.0 (inc) to 5.12.1 (inc) |
| f5 | dos | From 4.3.0 (inc) to 4.7.0 (inc) |
| f5 | waf | From 5.1.0 (inc) to 5.8.0 (inc) |
| f5 | waf | From 4.9.0 (inc) to 4.16.0 (inc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-131 | The product does not correctly calculate the size to be used when allocating a buffer, which could lead to a buffer overflow. |
| CWE-122 | A heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc(). |