CVE-2026-42945

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.

Severity
HIGH
CVSS v3
8.1
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H · source cna
CVSS v4
9.2
CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N · source cna
Exploit chance (EPSS)
68.047%
chance of exploitation in the next 30 days
higher than 99.3% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 1
Metasploit modules: 0
Nuclei templates: 0

Weakness

CISA SSVC decision points

Exploitationnone
Automatableno
Technical impacttotal
Scored2026-05-13

Timeline

  1. 2026-05-13Published by the CNA14:12 UTC
  2. 2026-05-13CISA SSVC decision recordedsame day

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Affected products

Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.

ProductVulnerable versionsFixed in
f5 nginx_open_sourcefrom 0.6.27 through 1.30.0no fix listednot listed
f5 nginx_plus
f5 dosfrom 4.3.0 through 4.7.0no fix listed4.8.0no fix listednot listednot listed
f5 nginx_gateway_fabricfrom 1.3.0 through 1.6.2no fix listedfrom 2.0.0 through 2.5.1no fix listednot listednot listed
f5 nginx_ingress_controllerfrom 3.5.0 through 3.7.2no fix listedfrom 4.0.0 through 4.0.1no fix listedfrom 5.0.0 through 5.4.1no fix listednot listednot listednot listed
f5 nginx_instance_managerfrom 2.16.0 through 2.21.1no fix listednot listed
f5 waffrom 4.9.0 through 4.16.0no fix listedfrom 5.9.0 through 5.12.1no fix listedfrom 5.1.0 through 5.8.0no fix listednot listednot listednot listed

Products and versions as NVD and the vendor that published the CVE list them.

References

34 references in total; the first 20 are shown.

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources