Vendors › F5
K000161019
Critical (9.2) EPSS 69.4% F5 · NGINX
NGINX ngx_http_rewrite_module vulnerability CVE-2026-42945
A heap buffer overflow in NGINX's rewrite module can be triggered by crafted requests when a rewrite directive with a query string is followed by an if or set directive with an unnamed PCRE capture, letting a remote unauthenticated attacker crash the worker process or potentially execute code.
| Published | 2026-05-13 |
| Updated | 2026-06-23 |
| Affected | NGINX Plus Rx: R32 - R36 - ngx_http_rewrite_module; NGINX Open Source 1.x: 1.0.0 - 1.30.0 - ngx_http_rewrite_module; NGINX Open Source 0.x: 0.6.27 - 0.9.7 - ngx_http_rewrite_module; NGINX Instance Manager 2.x: 2.16.0 - 2.22.0 - Base NGINX Open Source software components; F5 WAF for NGINX 5.x: 5.9.0 - 5.12.1 - Base NGINX Plus software components; NGINX App Protect WAF 5.x: 5.1.0 - 5.8.0 - Base NGINX Plus software components; NGINX App Protect WAF 4.x: 4.9.0 - 4.16.0 - Base NGINX Plus software components; F5 DoS for NGINX 4.x: 4.8.0 - Base NGINX Plus software components; NGINX App Protect DoS 4.x: 4.3.0 - 4.7.0 - Base NGINX Plus software components; NGINX Gateway Fabric 2.x: 2.0.0 - 2.6.0 - Base NGINX Plus or NGINX Open Source software components; NGINX Gateway Fabric 1.x: 1.3.0 - 1.6.2 - Base NGINX Plus or NGINX Open Source software components; NGINX Ingress Controller 5.x: 5.0.0 - 5.4.2 - Base NGINX Plus or NGINX Open Source software components; NGINX Ingress Controller 4.x: 4.0.0 - 4.0.1 - Base NGINX Plus or NGINX Open Source software components; NGINX Ingress Controller 3.x: 3.5.0 - 3.7.2 - Base NGINX Plus or NGINX Open Source software components |
| Fix | NGINX Plus Rx fixed in R36 P4, R32 P6; NGINX Open Source 1.x fixed in 1.31.0, 1.30.1; NGINX Instance Manager 2.x fixed in 2.22.1; F5 WAF for NGINX 5.x fixed in 5.13.0; F5 DoS for NGINX 4.x fixed in 4.9.0; NGINX Open Source 0.x, NGINX App Protect WAF/DoS, NGINX Gateway Fabric, NGINX Ingress Controller: No fix yet (mitigate by using named captures instead of unnamed captures in rewrite definitions) |
| Vendor advisory | https://my.f5.com/manage/s/article/K000161019 |
CVEs (1)
| CVE | CWE | Type | Impact | Links |
|---|---|---|---|---|
| CVE-2026-42945 | CWE-122;CWE-131 | Overflow | Code Execution | NVD · CVE.org · EUVD |
CWE, type and impact come from the NVD enrichment pass; unfilled rows are pending enrichment.
Same CVE in other advisories
- IBM-7297452 — IBM · Critical (9.9) · 2026-11-19
Multiple Vulnerabilities in watsonx.data - IBM-7297396 — IBM · Critical (10.0) · 2026-11-18
Multiple Vulnerabilities in IBM API Connect - DSA-2026-453 — Dell · Critical (no CVSS published) · 2026-10-22
Dell VxRail Multiple Third-Party Component Vulnerabilities - DSA-2026-457 — Dell · Critical (no CVSS published) · 2026-10-06
Dell Networking SmartFabric Storage Software Vulnerabilities - RHSA-2026:58981 — Red Hat · Critical (9.1) · 2026-08-24
Red Hat Security Advisory: Red Hat Update Infrastructure security update - IBM-7284359 — IBM · Critical (10.0) · 2026-08-20
Vulnerabilities exists in IBM Netezza Software - SVD-2026-0805 — Splunk · Critical (no CVSS published) · 2026-08-19
Third-Party Package Updates in Splunk SOAR - August 2026 - DSA-2026-335 — Dell · N/A (no CVSS published) · 2026-08-06
Dell Virtual Storage Integrator for VMware vSphere Client Multiple Vulnerabilities - 3773203 — SAP · High (8.1) · 2026-08-01
SAP Security Note 3773203: [CVE-2026-42945] Potential buffer overflow vulnerability affects SAP Commerce Cloud in public‑cloud deployments with NGINX CEC-SCC-CLA-ENV-EMG - HPESBNW05064 — Aruba (HPE) · High (8.1) · 2026-06-09
Status of NGINX ngx_http_rewrite_module Vulnerability (CVE-2026-42945) in HPE Aruba Networking Products - DSA-2026-245 — Dell · Critical (no CVSS published) · 2026-06-05
Dell VxRail for Multiple Third-Party Component Vulnerabilities - AC-PN-0589 — AudioCodes · High (8.1) · 2026-06-04
SBC - NGINX vulnerability exposure (Product Notice #0589) - RHSA-2026:22396 — Red Hat · Critical (8.1) · 2026-06-02
Red Hat Security Advisory: Red Hat OpenShift Data Foundation security update - RHSA-2026:22394 — Red Hat · Critical (8.1) · 2026-06-02
Red Hat Security Advisory: Red Hat OpenShift Data Foundation security update - RHSA-2026:22393 — Red Hat · Critical (8.1) · 2026-06-02
Red Hat Security Advisory: Red Hat OpenShift Data Foundation security update - RHSA-2026:22390 — Red Hat · Critical (8.1) · 2026-06-02
Red Hat Security Advisory: Red Hat OpenShift Data Foundation security update - RHSA-2026:22389 — Red Hat · Critical (8.1) · 2026-06-02
Red Hat Security Advisory: Red Hat OpenShift Data Foundation security update - RHSA-2026:22388 — Red Hat · Critical (8.1) · 2026-06-02
Red Hat Security Advisory: Red Hat OpenShift Data Foundation security update - RHSA-2026:22383 — Red Hat · Critical (8.1) · 2026-06-02
Red Hat Security Advisory: Red Hat OpenShift Data Foundation security update - RHSA-2026:22382 — Red Hat · Critical (8.1) · 2026-06-02
Red Hat Security Advisory: Red Hat OpenShift Data Foundation security update - RHSA-2026:21275 — Red Hat · Critical (8.2) · 2026-05-27
Red Hat Security Advisory: Red Hat Update Infrastructure security update - RHSA-2026:20444 — Red Hat · Critical (8.1) · 2026-05-25
Red Hat Security Advisory: Red Hat Satellite security update - RHSA-2026:20442 — Red Hat · Critical (8.1) · 2026-05-25
Red Hat Security Advisory: Red Hat Satellite security update - NTAP-20260522-0011 — NetApp · Critical (9.2) · 2026-05-22
CVE-2026-42945 NGINX Vulnerability in NetApp Products - RHSA-2026:19374 — Red Hat · Critical (8.1) · 2026-05-19
Red Hat Security Advisory: nginx security update
Open in the CVEMesh app Create a free account
Track this advisory against your own stack — add your assets and CVEMesh shows which advisories actually apply to the versions you run.
CVEMesh aggregates public vendor advisories as guidance; always verify against the vendor's official advisory before patching or upgrading.