Skip to main content
CVE Radar
HIGHpublic exploit

CVE-2026-42945

CVE-2026-42945 — NGINX ngx_http_rewrite_module vulnerability

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.

Published Updated Sources: cvelistV5, f5

Triage

Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.

Exploitation

Public exploit

exploit code published, no use observed

EPSS

69%

chance of exploitation in 30 days

Affects

F5

24 products listed

CVSS base

8.1

HIGH

CISA SSVC assessment

Three decision points CISA publishes for the CVEs it assesses · SSVC 2.0.3. A stakeholder decision, not a severity score.

CISA

Exploitation

None

none · proof-of-concept · active

Automatable

No

can an attacker script all four kill-chain steps

Technical impact

Total

partial · total control of the vulnerable component

Affected scope

The catalog records vendors and products as separate lists, not pairs, so which product belongs to which vendor is not something this page can say.

Vendors (2)

Products (24)

nginx plusnginx open sourcered hat enterprise linux 10red hat enterprise linux 10 0 extended update supportred hat enterprise linux 8red hat enterprise linux 9red hat enterprise linux 9 0 update services for sap solutionsred hat enterprise linux 9 2 update services for sap solutionsred hat enterprise linux 9 4 extended update supportred hat enterprise linux 9 6 extended update supportred hat hardened imagesred hat openshift data foundation 4 14red hat openshift data foundation 4 15red hat openshift data foundation 4 16red hat openshift data foundation 4 17red hat openshift data foundation 4 18red hat openshift data foundation 4 19red hat openshift data foundation 4 20red hat openshift data foundation 4 21red hat satellite 6 18red hat satellite 6 19red hat update infrastructure 5red hat 3scale api management platform 2red hat lightspeed proxy 1

Every base score collected

Sources score independently and disagree; each row says who scored it and under which version.

Every CVSS base score collected, by source and version
ScoreVersionSeverityExpl.ImpactSource
8.1CVSS 3.1HIGHn/an/acvelistV5

Weakness & attack patterns

  • CWE-122
  • CWE-131

Public exploit

Capability, not use: code existing is a different claim from anyone running it.

Indexed by

poc in github

References

25 on the record

Related CVEs

Same product first, then the same weakness or threat actor.

Elsewhere on this site

  • F5every CVE for this vendor
  • Red Hatevery CVE for this vendor
  • CWE-122other pages naming this weakness

Not in any source we poll

Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.

  • No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
  • No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
  • No exploit packet captures, log samples, or incident case IDs supplied.