CVE & CISA-KEV Catalog

CVE-2026-42945

CRITICALEPSS 99th pctl
8.1
CVSS v3
NVD

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.

How to fix

Remediation Available
nginxAmazon
Fixed in:1:1.30.1-1.amzn2023.0.1
Fixed in:1:1.30.1-1.amzn2023.0.1
nginx-all-modulesAmazon
Fixed in:1:1.30.1-1.amzn2023.0.1
nginx-coreAmazon
Fixed in:1:1.30.1-1.amzn2023.0.1
Fixed in:1:1.30.1-1.amzn2023.0.1
nginx-core-debuginfoAmazon
Fixed in:1:1.30.1-1.amzn2023.0.1
Fixed in:1:1.30.1-1.amzn2023.0.1
nginx-debuginfoAmazon
Fixed in:1:1.30.1-1.amzn2023.0.1
Fixed in:1:1.30.1-1.amzn2023.0.1
nginx-debugsourceAmazon
Fixed in:1:1.30.1-1.amzn2023.0.1
Fixed in:1:1.30.1-1.amzn2023.0.1
nginx-filesystemAmazon
Fixed in:1:1.30.1-1.amzn2023.0.1
nginx-mod-develAmazon
Fixed in:1:1.30.1-1.amzn2023.0.1
Fixed in:1:1.30.1-1.amzn2023.0.1
nginx-mod-http-image-filterAmazon
Fixed in:1:1.30.1-1.amzn2023.0.1
Fixed in:1:1.30.1-1.amzn2023.0.1
nginx-mod-http-image-filter-debuginfoAmazon
Fixed in:1:1.30.1-1.amzn2023.0.1
Fixed in:1:1.30.1-1.amzn2023.0.1
nginx-mod-http-perlAmazon
Fixed in:1:1.30.1-1.amzn2023.0.1
Fixed in:1:1.30.1-1.amzn2023.0.1
nginx-mod-http-perl-debuginfoAmazon
Fixed in:1:1.30.1-1.amzn2023.0.1
Fixed in:1:1.30.1-1.amzn2023.0.1
nginx-mod-http-xslt-filterAmazon
Fixed in:1:1.30.1-1.amzn2023.0.1
Fixed in:1:1.30.1-1.amzn2023.0.1
nginx-mod-http-xslt-filter-debuginfoAmazon
Fixed in:1:1.30.1-1.amzn2023.0.1
Fixed in:1:1.30.1-1.amzn2023.0.1
nginx-mod-mailAmazon
Fixed in:1:1.30.1-1.amzn2023.0.1
Fixed in:1:1.30.1-1.amzn2023.0.1
nginx-mod-mail-debuginfoAmazon
Fixed in:1:1.30.1-1.amzn2023.0.1
Fixed in:1:1.30.1-1.amzn2023.0.1
nginx-mod-streamAmazon
Fixed in:1:1.30.1-1.amzn2023.0.1
Fixed in:1:1.30.1-1.amzn2023.0.1
nginx-mod-stream-debuginfoAmazon
Fixed in:1:1.30.1-1.amzn2023.0.1
Fixed in:1:1.30.1-1.amzn2023.0.1
nginxDebian
Fixed in:1.22.1-9+deb12u7CVE-2026-42945
Fixed in:1.26.3-3+deb13u5CVE-2026-42945
Fixed in:1.30.0-3CVE-2026-42945
nginxRed Hat / RHEL
Fixed in:2:1.26.3-2.el10_1.2RHSA-2026:18063
Fixed in:2:1.26.3-6.el10_2.3RHSA-2026:19159
Fixed in:2:1.26.3-6.el10_2.3RHSA-2026:19159
Fixed in:2:1.26.3-2.el10_1.2RHSA-2026:18063
Fixed in:2:1.26.3-1.el10_0.9RHSA-2026:17790
Fixed in:2:1.26.3-6.el10_2.3RHSA-2026:19159
Fixed in:2:1.26.3-6.el10_2.3RHSA-2026:19159
Fixed in:2:1.26.3-1.el10_0.9RHSA-2026:17790
nginxRocky
Fixed in:2:1.26.3-1.el10_0.9RHSA-2026:17790
Fixed in:2:1.26.3-1.el10_0.9RHSA-2026:17790
Fixed in:2:1.26.3-6.el10_2.3RHSA-2026:19159
Fixed in:2:1.26.3-6.el10_2.3RHSA-2026:19159
Fixed in:2:1.26.3-6.el10_2.3RHSA-2026:19159
Fixed in:2:1.26.3-2.el10_1.2RHSA-2026:18063
Fixed in:2:1.26.3-6.el10_2.3RHSA-2026:19159
Fixed in:2:1.26.3-6.el10_2.3RHSA-2026:19159
nginx-all-modulesRed Hat / RHEL
Fixed in:2:1.26.3-6.el10_2.3RHSA-2026:19159
Fixed in:2:1.26.3-2.el10_1.2RHSA-2026:18063
Fixed in:2:1.26.3-1.el10_0.9RHSA-2026:17790
Fixed in:1:1.24.0-1.module+el9.4.0+24298+389e3815.5.noarch::nginx:1.24RHSA-2026:17793
Fixed in:1:1.24.0-7.module+el9.8.0+24289+833e4c02.1.noarch::nginx:1.24RHSA-2026:19371
Fixed in:1:1.24.0-3.module+el8.10.0+24290+dc7f88b5.1.noarch::nginx:1.24RHSA-2026:18041
Fixed in:2:1.26.3-9.module+el9.8.0+24288+e2e6d896.noarch::nginx:1.26RHSA-2026:19372
Fixed in:1:1.24.0-4.module+el9.6.0+24297+b3b39a7f.3.noarch::nginx:1.24RHSA-2026:17752
nginx-all-modulesRocky
Fixed in:2:1.26.3-6.el10_2.3RHSA-2026:19159
Fixed in:2:1.26.3-1.el10_0.9RHSA-2026:17790
Fixed in:2:1.26.3-2.el10_1.2RHSA-2026:18063
Fixed in:2:1.26.3-1.module+el9.6.0+24296+87cb744c.3.noarch::nginx:1.26RHSA-2026:17753
Fixed in:1:1.24.0-1.module+el9.4.0+24298+389e3815.5.noarch::nginx:1.24RHSA-2026:17793
Fixed in:2:1.26.3-9.module+el9.8.0+24288+e2e6d896.noarch::nginx:1.26RHSA-2026:19372
Fixed in:1:1.24.0-4.module+el9.6.0+24297+b3b39a7f.3.noarch::nginx:1.24RHSA-2026:17752
Fixed in:1:1.24.0-3.module+el8.10.0+24290+dc7f88b5.1.noarch::nginx:1.24RHSA-2026:18041
nginx-coreRocky
Fixed in:2:1.26.3-6.el10_2.3RHSA-2026:19159
Fixed in:2:1.26.3-2.el10_1.2RHSA-2026:18063
Fixed in:2:1.26.3-6.el10_2.3RHSA-2026:19159
Fixed in:2:1.26.3-2.el10_1.2RHSA-2026:18063
Fixed in:2:1.26.3-2.el10_1.2RHSA-2026:18063
Fixed in:2:1.26.3-1.el10_0.9RHSA-2026:17790
Fixed in:2:1.26.3-1.el10_0.9RHSA-2026:17790
Fixed in:2:1.26.3-6.el10_2.3RHSA-2026:19159
nginx-coreRed Hat / RHEL
Fixed in:2:1.26.3-6.el10_2.3RHSA-2026:19159
Fixed in:2:1.26.3-2.el10_1.2RHSA-2026:18063
Fixed in:2:1.26.3-6.el10_2.3RHSA-2026:19159
Fixed in:2:1.26.3-2.el10_1.2RHSA-2026:18063
Fixed in:2:1.26.3-1.el10_0.9RHSA-2026:17790
Fixed in:2:1.26.3-1.el10_0.9RHSA-2026:17790
Fixed in:2:1.26.3-2.el10_1.2RHSA-2026:18063
Fixed in:2:1.26.3-1.el10_0.9RHSA-2026:17790
nginx-core-debuginfoRed Hat / RHEL
Fixed in:2:1.26.3-6.el10_2.3RHSA-2026:19159
Fixed in:2:1.26.3-2.el10_1.2RHSA-2026:18063
Fixed in:2:1.26.3-1.el10_0.9RHSA-2026:17790
Fixed in:2:1.26.3-1.el10_0.9RHSA-2026:17790
Fixed in:2:1.26.3-2.el10_1.2RHSA-2026:18063
Fixed in:2:1.26.3-6.el10_2.3RHSA-2026:19159
Fixed in:2:1.26.3-6.el10_2.3RHSA-2026:19159
Fixed in:2:1.26.3-1.el10_0.9RHSA-2026:17790
nginx-core-debuginfoRocky
Fixed in:2:1.26.3-1.el10_0.9RHSA-2026:17790
Fixed in:2:1.26.3-2.el10_1.2RHSA-2026:18063
Fixed in:2:1.26.3-6.el10_2.3RHSA-2026:19159
Fixed in:2:1.26.3-1.el10_0.9RHSA-2026:17790
Fixed in:2:1.26.3-6.el10_2.3RHSA-2026:19159
Fixed in:2:1.26.3-6.el10_2.3RHSA-2026:19159
Fixed in:2:1.26.3-1.el10_0.9RHSA-2026:17790
Fixed in:2:1.26.3-1.el10_0.9RHSA-2026:17790
nginx-debuginfoRocky
Fixed in:2:1.26.3-6.el10_2.3RHSA-2026:19159
Fixed in:2:1.26.3-1.el10_0.9RHSA-2026:17790
Fixed in:2:1.26.3-2.el10_1.2RHSA-2026:18063
Fixed in:2:1.26.3-6.el10_2.3RHSA-2026:19159
Fixed in:2:1.26.3-2.el10_1.2RHSA-2026:18063
Fixed in:2:1.26.3-2.el10_1.2RHSA-2026:18063
Fixed in:2:1.26.3-2.el10_1.2RHSA-2026:18063
Fixed in:2:1.26.3-6.el10_2.3RHSA-2026:19159
nginx-debuginfoRed Hat / RHEL
Fixed in:2:1.26.3-6.el10_2.3RHSA-2026:19159
Fixed in:2:1.26.3-2.el10_1.2RHSA-2026:18063
Fixed in:2:1.26.3-1.el10_0.9RHSA-2026:17790
Fixed in:2:1.26.3-1.el10_0.9RHSA-2026:17790
Fixed in:2:1.26.3-1.el10_0.9RHSA-2026:17790
Fixed in:2:1.26.3-6.el10_2.3RHSA-2026:19159
Fixed in:2:1.26.3-6.el10_2.3RHSA-2026:19159
Fixed in:2:1.26.3-2.el10_1.2RHSA-2026:18063
nginx-debugsourceRed Hat / RHEL
Fixed in:2:1.26.3-1.el10_0.9RHSA-2026:17790
Fixed in:2:1.26.3-6.el10_2.3RHSA-2026:19159
Fixed in:2:1.26.3-1.el10_0.9RHSA-2026:17790
Fixed in:2:1.26.3-6.el10_2.3RHSA-2026:19159
Fixed in:2:1.26.3-2.el10_1.2RHSA-2026:18063
Fixed in:2:1.26.3-6.el10_2.3RHSA-2026:19159
Fixed in:2:1.26.3-2.el10_1.2RHSA-2026:18063
Fixed in:2:1.26.3-1.el10_0.9RHSA-2026:17790

This vulnerability affects an unusually large number of packages. The highest-confidence fixes are shown above; the full list is longer. Check the referenced advisories for complete coverage.

TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityHigh
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Exploit Intelligence

68.05%probability of exploitation in 30 days
99thpercentile

Very high risk: more likely to be exploited than 99% of all known CVEs.

References

Related Vulnerabilities

Other CWE-122 (Heap-based Buffer Overflow) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2015-3113Critical9.8100%KEVFix
CVE-2020-25687Medium5.987%-Fix
CVE-2009-3459High8.887%KEVFix
CVE-2021-21017High8.886%KEV-
CVE-2020-25683Medium5.986%-Fix
CVE-2023-27997Critical9.886%KEV + Ransom-

Common questions

How do I fix CVE-2026-42945?

Published advisories record a fix for 93 affected products. The "How to fix" section on this page lists the fixed version and source advisory for each one, so apply the entry matching what you actually run.

Is CVE-2026-42945 being actively exploited?

Not that we know of. CVE-2026-42945 is not in the CISA Known Exploited Vulnerabilities catalog. Its EPSS score of 68.0% is the estimated probability that it will be exploited in the next 30 days. That is higher than 99% of all scored CVEs.

How severe is CVE-2026-42945?

CVE-2026-42945 has a CVSS v3 base score of 8.1, rated critical. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.

What does CVE-2026-42945 affect?

Published advisories record a fix for nginx (Amazon), nginx-all-modules (Amazon), nginx-core (Amazon), nginx-core-debuginfo (Amazon), and 89 more. Only products with a sourced advisory are listed, so treat this as what we can cite rather than a complete inventory.

Embed a live status badge for CVE-2026-42945
CVE-2026-42945 severity badge

Markdown

[![CVE-2026-42945](https://tridentstack.com/cve/badge/CVE-2026-42945.svg)](https://tridentstack.com/cve/CVE-2026-42945)

HTML

<a href="https://tridentstack.com/cve/CVE-2026-42945"><img src="https://tridentstack.com/cve/badge/CVE-2026-42945.svg" alt="CVE-2026-42945"></a>

Check your Linux endpoints for this class of vulnerability

TridentStack Control continuously scans Linux endpoints for known vulnerabilities and deploys the fixes from the same console. 200 endpoints free forever, no credit card.

Patch your fleet freeStart freeThis CVE lookup is free and always will be.

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-09-10.