CVE-2026-42945: f5 dos Heap-based Buffer Overflow
Vulnerability summary
CVE-2026-42945 is a critical (CVSS 9.2) Heap-based Buffer Overflow vulnerability in f5 dos. EPSS estimates a 3.40% chance of exploitation in the next 30 days, higher than 88.6% of scored vulnerabilities. 1 public exploit is recorded.
Advisory lineage
Upstream 0 · Downstream 3 · Related 5Timeline
- 13-05-2026PublishedVulnerability first disclosed.
- 10-09-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
11 scores · 8 sources · 2 versions- OSV · AlpineEcosystem advisory · calculated9.2CriticalCVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- OSV · UbuntuEcosystem advisory · calculated9.2CriticalCVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
- OSV · DebianEcosystem advisory · calculated9.2CriticalCVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- OSV · WolfiEcosystem advisory · calculated9.2CriticalCVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- OSV · ChainguardEcosystem advisory · calculated9.2CriticalCVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- NVDNIST9.2CriticalCVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- OSV · Red hatEcosystem advisory · calculated8.1HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · UbuntuEcosystem advisory · calculated8.1HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- NVDNIST8.1HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
3.40%
Chance of exploitation in the next 30 days
Percentile
89%
Versus all other CVEs
30-day change
-64.65 pp
From 68.05% on 18-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundNginx Rift
Maturity: poc
Weaknesses
CWE · root cause- CWE-122Heap-based Buffer OverflowA heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc().
- CWE-131Incorrect Calculation of Buffer SizeThe product does not correctly calculate the size to be used when allocating a buffer, which could lead to a buffer overflow.
Affected systems
Chainguard43 products
- ingress-nginx-controller-1.13< 1.13.9-r9
- ingress-nginx-controller-1.14< 1.14.5-r12
- ingress-nginx-controller-1.15< 1.15.5-r1
- ingress-nginx-controller-compat-1.13< 1.13.9-r9
- ingress-nginx-controller-compat-1.14< 1.14.5-r12
Redhat20 products
- nginx< 0:1.30.1-1.hum1 | < 1:1.20.1-14.el9_2.6 | < 1:1.24.0-4.module+el9.6.0+24297+b3b39a7f.3 | < 2:1.26.3-1.module+el9.6.0+24296+87cb744c.3 | < 2:1.26.3-1.el10_0.9 | < 1:1.20.1-10.el9_0.4 | < 1:1.20.1-16.el9_4.6 | < 1:1.24.0-1.module+el9.4.0+24298+389e3815.5 | < 2:1.20.1-22.el9_6.6 | < 2:1.20.1-24.el9_7.3 | < 1:1.24.0-3.module+el8.10.0+24290+dc7f88b5.1 | < 2:1.26.3-2.el10_1.2 | < 2:1.26.3-6.el10_2.3 | < 1:1.24.0-7.module+el9.8.0+24289+833e4c02.1 | < 2:1.26.3-9.module+el9.8.0+24288+e2e6d896 | < 2:1.20.1-28.el9_8.2
- nginx-all-modules< 0:1.30.1-1.hum1 | < 1:1.20.1-14.el9_2.6 | < 1:1.24.0-4.module+el9.6.0+24297+b3b39a7f.3 | < 2:1.26.3-1.module+el9.6.0+24296+87cb744c.3 | < 2:1.26.3-1.el10_0.9 | < 1:1.20.1-10.el9_0.4 | < 1:1.20.1-16.el9_4.6 | < 1:1.24.0-1.module+el9.4.0+24298+389e3815.5 | < 2:1.20.1-22.el9_6.6 | < 2:1.20.1-24.el9_7.3 | < 1:1.24.0-3.module+el8.10.0+24290+dc7f88b5.1 | < 2:1.26.3-2.el10_1.2 | < 2:1.26.3-6.el10_2.3 | < 1:1.24.0-7.module+el9.8.0+24289+833e4c02.1 | < 2:1.26.3-9.module+el9.8.0+24288+e2e6d896 | < 2:1.20.1-28.el9_8.2
- nginx-core< 0:1.30.1-1.hum1 | < 1:1.20.1-14.el9_2.6 | < 1:1.24.0-4.module+el9.6.0+24297+b3b39a7f.3 | < 2:1.26.3-1.module+el9.6.0+24296+87cb744c.3 | < 2:1.26.3-1.el10_0.9 | < 1:1.20.1-16.el9_4.6 | < 1:1.24.0-1.module+el9.4.0+24298+389e3815.5 | < 2:1.20.1-22.el9_6.6 | < 2:1.20.1-24.el9_7.3 | < 2:1.26.3-2.el10_1.2 | < 2:1.26.3-6.el10_2.3 | < 1:1.24.0-7.module+el9.8.0+24289+833e4c02.1 | < 2:1.26.3-9.module+el9.8.0+24288+e2e6d896 | < 2:1.20.1-28.el9_8.2
- nginx-core-debuginfo< 1:1.20.1-14.el9_2.6 | < 1:1.24.0-4.module+el9.6.0+24297+b3b39a7f.3 | < 2:1.26.3-1.module+el9.6.0+24296+87cb744c.3 | < 1:1.24.0-1.module+el9.4.0+24298+389e3815.5 | < 2:1.20.1-24.el9_7.3 | < 2:1.26.3-2.el10_1.2 | < 2:1.26.3-6.el10_2.3 | < 1:1.24.0-7.module+el9.8.0+24289+833e4c02.1 | < 2:1.26.3-9.module+el9.8.0+24288+e2e6d896 | < 2:1.20.1-28.el9_8.2
- nginx-debuginfo< 1:1.20.1-14.el9_2.6 | < 1:1.24.0-4.module+el9.6.0+24297+b3b39a7f.3 | < 2:1.26.3-1.module+el9.6.0+24296+87cb744c.3 | < 1:1.24.0-1.module+el9.4.0+24298+389e3815.5 | < 2:1.20.1-24.el9_7.3 | < 1:1.24.0-3.module+el8.10.0+24290+dc7f88b5.1 | < 2:1.26.3-2.el10_1.2 | < 2:1.26.3-6.el10_2.3 | < 1:1.24.0-7.module+el9.8.0+24289+833e4c02.1 | < 2:1.26.3-9.module+el9.8.0+24288+e2e6d896 | < 2:1.20.1-28.el9_8.2
Wolfi16 products
- ingress-nginx-controller-1.14< 1.14.5-r12
- ingress-nginx-controller-1.15< 1.15.5-r1
- ingress-nginx-controller-compat-1.14< 1.14.5-r12
- ingress-nginx-controller-compat-1.15< 1.15.5-r1
- ingress-nginx-controller-iamguarded-compat-1.14< 1.14.5-r12
F57 products
- dos≥ 4.3.0, ≤ 4.7.0 | 4.8.0
- nginx gateway fabric≥ 1.3.0, ≤ 1.6.2 | ≥ 2.0.0, ≤ 2.5.1
- nginx ingress controller≥ 3.5.0, ≤ 3.7.2 | ≥ 4.0.0, ≤ 4.0.1 | ≥ 5.0.0, ≤ 5.4.1
- nginx_instance_manager≥ 2.16.0, ≤ 2.21.1
- nginx open source≥ 0.6.27, < 1.30.1 | ≥ 0.6.27, ≤ 1.30.0
Alpine1 product
- nginx< 1.26.3-r1 | < 1.28.3-r1 | < 1.30.1-r0
Debian1 product
- nginx< 1.22.1-9+deb12u7 | < 1.26.3-3+deb13u5 | < 1.30.0-3
Ubuntu1 product
- nginx< 1.4.6-1ubuntu3.9+esm6 | < 1.10.3-0ubuntu0.16.04.5+esm7 | < 1.14.0-0ubuntu1.11+esm2 | < 1.18.0-0ubuntu1.7+esm1 | < 1.18.0-6ubuntu14.11 | < 1.24.0-2ubuntu7.8 | < 1.28.0-6ubuntu1.3 | < 1.28.3-2ubuntu1.1
7 vendors · 89 products
References
63 linksShow all 63 references
- images.redhat.comARTICLE