CVE Watchtower

CVE-2026-42945F5 NGINX Plus Heap-based Buffer Overflow

NVD

Vulnerability Summary

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 Level
HIGH(8.1)
Published Date
May 13, 2026
Last Modified
Sep 10, 2026
Exploitation Status
No confirmed exploitation yet
EPSS Score (30-Day)
3.40%Probability
Root Weakness (CWE)
The buffer being overwritten is allocated in the heap portion of memory.
CVSS v4.0 Base Metrics — Score 9.2 (CRITICAL)
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
Attack VectorNetwork
Attack ComplexityHigh
Attack RequirementsNone
Privileges RequiredNone
User InteractionNone
Confidentiality (Vulnerable System)High
Integrity (Vulnerable System)High
Availability (Vulnerable System)High
Confidentiality (Subsequent System)None
Integrity (Subsequent System)None
Availability (Subsequent System)None
Show CVSS v3.x metrics (score 8.1)
CVSS v3.1 Base Metrics — Score 8.1 (HIGH)
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack VectorNetwork
Attack ComplexityHigh
Privileges RequiredNone
User InteractionNone
ScopeUnchanged
ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

Affected & Patched Versions

Affected Versions
  • F5 NGINX Plus >= R36 and < R36 P4
  • F5 NGINX Plus >= R32 and < R32 P6
  • F5 NGINX Open Source >= 0.6.27 and < 1.30.1
Patched Versions
  • F5 NGINX Plus R36 P4
  • F5 NGINX Plus R32 P6
  • F5 NGINX Open Source 1.30.1

What to do

Plan remediation soon. No exploitation is confirmed yet, but the severity is high.

  1. Check whether you run F5 NGINX Plus and which version.
  2. Update to a patched version listed above, then confirm the new version.

Timeline

  • May 13, 2026Published
  • Sep 10, 2026Record last modified

Score, severity and exploitation changes are tracked from the day Watchtower started logging them.

Get notified about new F5 CVEsYou are reading CVE-2026-42945. Get an email when KEV listings, exploits or new CVEs match your stack.
Notify me about F5 CVEs

Data last checked: Nov 27, 2026 08:11 UTC