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.
CVE-2026-42945
Score elevated to 8.7 because EPSS predicts 68% probability of exploitation within the next 30 days (top 0.7% of all CVEs). a secondary CVSS source baseline 8.1 retained for reference (NVD's own analysis pending). Confidence: see factors.
- High severity, but no confirmed exploitation yet
A fix is available — apply it.
- CVSS v3
- 8.1
- EG Score
- 8.7HIGHhigh confidence
- EG Risk
- 66EG Risk 66/100
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity87% × 45%Exploitation68% × 40%Automatability0% × 15% - EPSS PROB
- 3.4%
- EPSS %ILE
- 88th
- KEV
- Not listed
Published
May 13, 2026
Last Modified
September 10, 2026
Advisory Details (1)
Auto-updated May 13, 2026Vendor Advisories for CVE-2026-42945(20)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
- RHSA-2026:58981Red Hat Product SecurityCritical
Red Hat Security Advisory: Red Hat Update Infrastructure 5.3 Technology Preview security update
- RHSA-2026:22396Red Hat Product SecurityCritical
Red Hat Security Advisory: Red Hat OpenShift Data Foundation 4.14.33 security, enhancement & bug fix update
- RHSA-2026:22394Red Hat Product SecurityCritical
Red Hat Security Advisory: Red Hat OpenShift Data Foundation 4.16.29 security, enhancement & bug fix update
- RHSA-2026:22393Red Hat Product SecurityCritical
Red Hat Security Advisory: Red Hat OpenShift Data Foundation 4.15.29 security, enhancement & bug fix update
- RHSA-2026:22390Red Hat Product SecurityCritical
Red Hat Security Advisory: Red Hat OpenShift Data Foundation 4.17.27 security, enhancement & bug fix update
- RHSA-2026:22389Red Hat Product SecurityCritical
Red Hat Security Advisory: Red Hat OpenShift Data Foundation 4.19.18 security, enhancement & bug fix update
- RHSA-2026:22388Red Hat Product SecurityCritical
Red Hat Security Advisory: Red Hat OpenShift Data Foundation 4.18.23 security, enhancement & bug fix update
- RHSA-2026:22383Red Hat Product SecurityCritical
Red Hat Security Advisory: Red Hat OpenShift Data Foundation 4.20.13 security, enhancement & bug fix update
- +12 more
Patch Availability(30)
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Affected Packages
(8 across 8 ecosystems)
Alpine:v3.21(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| nginx | — |
| — |
Alpine:v3.22(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| nginx | — |
| — |
Alpine:v3.23(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| nginx | — |
| — |
Alpine:v3.24(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| nginx | — |
| — |
Debian:11(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| nginx | 1.18.0-6.1 ... 1.18.0-6.1+deb11u5 (6 versions) |
| — |
Debian:12(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| nginx | 1.22.1-9 ... 1.22.1-9+deb12u6 (7 versions) |
| — |
Debian:13(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| nginx | 1.26.3-3, 1.26.3-3+deb13u1, 1.26.3-3+deb13u2, 1.26.3-3+deb13u3, 1.26.3-3+deb13u4 |
| — |
Debian:14(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| nginx | 1.26.3-3 ... 1.30.0-2 (18 versions) |
| — |
Weakness Classification(2)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Additional Vendor Advisories
(9)
Vendors that published advisories for this CVE beyond the curated set above. Broader coverage but minimal per-row detail — click through for the original advisory.
- Red HatRHSA-2026:17417CRITICAL2026-05-13
RHSA-2026:17417 — Critical
- Red HatRHSA-2026:17751CRITICAL2026-05-13
RHSA-2026:17751 — Critical
- Red HatRHSA-2026:17752CRITICAL2026-05-13
RHSA-2026:17752 — Critical
- Red HatRHSA-2026:17753CRITICAL2026-05-13
RHSA-2026:17753 — Critical
- Red HatRHSA-2026:17790CRITICAL2026-05-13
RHSA-2026:17790 — Critical
- Red HatRHSA-2026:17791CRITICAL2026-05-13
RHSA-2026:17791 — Critical
- Red HatRHSA-2026:17792CRITICAL2026-05-13
RHSA-2026:17792 — Critical
- Red HatRHSA-2026:17793CRITICAL2026-05-13
RHSA-2026:17793 — Critical
- Red HatRHSA-2026:17794CRITICAL2026-05-13
RHSA-2026:17794 — Critical
Data Freshness Timeline
(refreshed 6× in last 7d / 19× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
Showing the most recent 100 of 301 total refreshes for this CVE.
- 2026-10-10 20:00 UTCEPSS rescore
- 2026-10-09 20:07 UTCEPSS rescore
- 2026-10-08 17:12 UTCEPSS rescore
- 2026-10-07 23:48 UTCEPSS rescore
- 2026-10-06 15:17 UTCEPSS rescore
- 2026-10-05 17:43 UTCEPSS rescore
- 2026-10-03 14:25 UTCEPSS rescore
- 2026-10-01 19:50 UTCEPSS rescore
- 2026-09-30 15:03 UTCEPSS rescore
- 2026-09-29 20:02 UTCOSV refresh
- 2026-09-27 13:48 UTCEPSS rescore
- 2026-09-26 15:58 UTCEPSS rescore
- 2026-09-18 19:28 UTCEPSS rescore
- 2026-09-17 19:31 UTCEPSS rescore
- 2026-09-16 14:08 UTCEPSS rescore
- 2026-09-16 05:15 UTCEPSS rescore
- 2026-09-13 16:47 UTCEPSS rescore
- 2026-09-12 15:01 UTCEPSS rescore
- 2026-09-11 14:53 UTCEPSS rescore
- 2026-09-10 13:40 UTCEG score recompute
- 2026-09-10 13:40 UTCVendor advisory
- 2026-09-10 13:39 UTCGHSA enrichment
- 2026-09-10 12:27 UTCEG score recompute
- 2026-09-10 12:27 UTCVendor advisory
- 2026-09-10 12:27 UTCGHSA enrichment
Show 75 moreShow fewer
- 2026-09-10 09:34 UTCEPSS rescore
- 2026-09-09 13:41 UTCEG score recompute
- 2026-09-09 13:41 UTCVendor advisory
- 2026-09-09 13:41 UTCGHSA enrichment
- 2026-09-09 12:39 UTCEG score recompute
- 2026-09-09 12:39 UTCVendor advisory
- 2026-09-09 12:39 UTCGHSA enrichment
- 2026-09-08 22:00 UTCEPSS rescore
- 2026-09-07 16:01 UTCEPSS rescore
- 2026-09-07 13:57 UTCEG score recompute
- 2026-09-07 13:57 UTCVendor advisory
- 2026-09-07 13:56 UTCGHSA enrichment
- 2026-09-07 12:45 UTCEG score recompute
- 2026-09-07 12:45 UTCVendor advisory
- 2026-09-07 12:45 UTCGHSA enrichment
- 2026-09-06 13:47 UTCEPSS rescore
- 2026-09-04 05:06 UTCEPSS rescore
- 2026-09-02 14:12 UTCEPSS rescore
- 2026-08-30 19:17 UTCEPSS rescore
- 2026-08-30 01:22 UTCEPSS rescore
- 2026-08-28 21:41 UTCEPSS rescore
- 2026-08-26 14:46 UTCEPSS rescore
- 2026-08-25 13:24 UTCEG score recompute
- 2026-08-25 13:24 UTCVendor advisory
- 2026-08-25 13:24 UTCGHSA enrichment
- 2026-08-25 12:21 UTCEG score recompute
- 2026-08-25 12:21 UTCVendor advisory
- 2026-08-25 12:21 UTCGHSA enrichment
- 2026-08-24 12:26 UTCEG score recompute
- 2026-08-24 12:26 UTCVendor advisory
- 2026-08-24 12:25 UTCGHSA enrichment
- 2026-08-23 17:54 UTCEG score recompute
- 2026-08-23 17:54 UTCVendor advisory
- 2026-08-23 17:54 UTCGHSA enrichment
- 2026-08-21 23:49 UTCEPSS rescore
- 2026-08-20 22:55 UTCEPSS rescore
- 2026-08-20 21:29 UTCEG score recompute
- 2026-08-20 21:29 UTCVendor advisory
- 2026-08-20 21:29 UTCGHSA enrichment
- 2026-08-19 17:03 UTCEPSS rescore
- 2026-08-18 13:48 UTCEPSS rescore
- 2026-08-17 13:47 UTCEPSS rescore
- 2026-08-17 12:26 UTCEG score recompute
- 2026-08-17 12:26 UTCVendor advisory
- 2026-08-17 12:26 UTCGHSA enrichment
- 2026-08-17 12:12 UTCEG score recompute
- 2026-08-17 12:12 UTCVendor advisory
- 2026-08-17 12:12 UTCGHSA enrichment
- 2026-08-17 10:41 UTCVendor advisory
- 2026-08-17 10:41 UTCGHSA enrichment
- 2026-08-16 04:05 UTCEG score recompute
- 2026-08-16 04:05 UTCVendor advisory
- 2026-08-16 04:05 UTCGHSA enrichment
- 2026-08-16 02:14 UTCEPSS rescore
- 2026-08-15 01:39 UTCEG score recompute
- 2026-08-15 01:39 UTCVendor advisory
- 2026-08-15 01:39 UTCGHSA enrichment
- 2026-08-15 01:30 UTCEPSS rescore
- 2026-08-14 14:06 UTCVendor advisory
- 2026-08-14 14:06 UTCGHSA enrichment
- 2026-08-14 02:34 UTCEG score recompute
- 2026-08-14 02:34 UTCVendor advisory
- 2026-08-14 02:33 UTCGHSA enrichment
- 2026-08-13 22:00 UTCEPSS rescore
- 2026-08-13 03:24 UTCVendor advisory
- 2026-08-13 03:24 UTCGHSA enrichment
- 2026-08-12 15:52 UTCEG score recompute
- 2026-08-12 15:52 UTCVendor advisory
- 2026-08-12 15:52 UTCGHSA enrichment
- 2026-08-12 13:51 UTCEPSS rescore
- 2026-08-12 00:56 UTCEG score recompute
- 2026-08-12 00:56 UTCVendor advisory
- 2026-08-12 00:56 UTCGHSA enrichment
- 2026-08-11 13:43 UTCEPSS rescore
- 2026-08-11 13:23 UTCEG score recompute
Publicly available exploits
(14 references, 10 shown)Public exploit code is referenced for this CVE (14 GitHub PoCs). Defenders should treat patch urgency accordingly.
- GitHub PoCbamov970/CVE-2026-42945-Nginx-RCE-bypass-ASLRPublished May 25, 2026
CVE-2026-42945 turns a 17-year-old NGINX rewrite bug into remote code execution — even with ASLR on, by chaining the heap overflow with live worker memory read through a common file-read flaw.
Open source ↗ - GitHub PoCnu0l/NGINX-RiftPublished May 25, 2026
CVE-2026-42945 NGINX 堆溢出漏洞扫描与验证工具
Open source ↗ - GitHub PoCgagaltotal/CVE-2026-42945-NGINX-Rift-ToolkitPublished May 20, 2026
CVE-2026-42945 - NGINX Rift Toolkit
Open source ↗ - GitHub PoCtal7aouy/nginx-cve-2026-42945Published May 17, 2026
🛡️ Script to test for NGINX CVE-2026-42945
Open source ↗ - GitHub PoCMateusVerass/nGixshellPublished May 16, 2026
nginx CVE scanner + RCE exploit framework (CVE-2026-42945 + 16 others)
Open source ↗ - GitHub PoCiammerrida-source/nginx-rift-detectPublished May 15, 2026
Behavioral detection script for CVE-2026-42945 (NGINX Rift) — heap overflow in ngx_http_rewrite_module. No RCE, crash-based detection only.
Open source ↗ - Open source ↗GitHub PoCjelasin/CVE-2026-42945Published May 15, 2026
- GitHub PoCoseasfr/Scanner_CVE_2026-42945Published May 15, 2026
Script Python para detecção de instâncias Nginx vulneráveis ao CVE-2026-42945 em IPs, CIDRs e ASNs.
Open source ↗ - GitHub PoCcipherspy/CVE-2026-42945-POCPublished May 14, 2026
exploit for CVE-2026-42945
Open source ↗ - GitHub PoCfriparia/NGINX_RIFT_SCAN_CVE_2026_42945Published May 14, 2026
Nginx Rewrite CVE Scan(CVE-2026-42945 nginx-rift CVE-2026-9256)
Open source ↗
Related CVEs(same product + same vendor + same CWE)
Same product
10 shownAlpine:v3.21:nginx
- CVE-2021-23017NVD 7.7EG 9.4EPSS p99CRITICAL
- CVE-2023-44487NVD 7.5EG 9.0 KEVEPSS p100CRITICAL
- CVE-2019-9513NVD 7.5EG 8.9EPSS p100HIGH
- CVE-2017-7529NVD 7.5EG 8.4EPSS p99HIGH
- CVE-2019-9511NVD 7.5EG 8.3EPSS p99HIGH
- CVE-2026-60005EG 8.2HIGH
- CVE-2026-42533EG 8.1HIGH
- CVE-2026-42055EG 8.1EPSS p94HIGH
- CVE-2026-9256EG 8.1HIGH
- CVE-2018-16843NVD 7.5EG 8.0EPSS p99HIGH
Same vendor
10 shownredhat:RHSA-2026:21275 · redhat:RHSA-2026:58981
Frequently asked(5)
What is CVE-2026-42945?
When was CVE-2026-42945 disclosed?
Is CVE-2026-42945 actively exploited?
What is the CVSS score of CVE-2026-42945?
How do I remediate CVE-2026-42945?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-42945
Is Your Infrastructure Affected by CVE-2026-42945?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.