{"id":"DHI-jsmk-7iix-wf7m-f4nh","summary":"NGINX Plus and NGINX Open Source have a vulnerability in the ngx_http_rewrite_module module. This vulnerability exists…","details":"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.","modified":"2026-11-20T00:00:10.481594695Z","published":"2026-11-11T16:35:44Z","upstream":["CVE-2026-42945"],"references":[{"type":"ADVISORY","url":"https://scout.docker.com/v/DHI-jsmk-7iix-wf7m-f4nh"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42945"},{"type":"ADVISORY","url":"https://my.f5.com/manage/s/article/K000161019"},{"type":"ADVISORY","url":"https://github.com/DepthFirstDisclosures/Nginx-Rift"},{"type":"ADVISORY","url":"https://depthfirst.com/nginx-rift"},{"type":"ADVISORY","url":"https://errata.almalinux.org/9/ALSA-2026-18029.html"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:18029"},{"type":"ADVISORY","url":"https://errata.almalinux.org/8/ALSA-2026-18041.html"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:18041"},{"type":"ADVISORY","url":"https://errata.almalinux.org/9/ALSA-2026-19371.html"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:19371"},{"type":"ADVISORY","url":"https://errata.almalinux.org/9/ALSA-2026-19372.html"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:19372"},{"type":"ADVISORY","url":"https://errata.almalinux.org/9/ALSA-2026-19374.html"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:19374"},{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2026-42945"},{"type":"ADVISORY","url":"https://alas.aws.amazon.com/AL2023/ALAS-2026-1714.html"},{"type":"ADVISORY","url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-42946"},{"type":"ADVISORY","url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-42945"},{"type":"ADVISORY","url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-42934"},{"type":"ADVISORY","url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-42926"},{"type":"ADVISORY","url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-40701"},{"type":"ADVISORY","url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-40460"},{"type":"ADVISORY","url":"https://access.redhat.com/security/cve/CVE-2026-42945"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:58981"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:22396"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:22394"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:22393"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:22390"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:22389"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:22388"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:22383"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:22382"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:21275"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:20444"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:20442"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:19159"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:18063"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:17794"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:17793"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:17792"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:17791"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:17790"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:17753"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:17752"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:17751"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:17417"},{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2026-42945"},{"type":"ADVISORY","url":"https://linux.oracle.com/cve/ELSA-2026-18029.html"},{"type":"ADVISORY","url":"https://linux.oracle.com/errata/ELSA-2026-18029.html"},{"type":"ADVISORY","url":"https://linux.oracle.com/cve/ELSA-2026-18041.html"},{"type":"ADVISORY","url":"https://linux.oracle.com/errata/ELSA-2026-18041.html"},{"type":"ADVISORY","url":"https://linux.oracle.com/cve/ELSA-2026-18063.html"},{"type":"ADVISORY","url":"https://linux.oracle.com/errata/ELSA-2026-18063.html"},{"type":"ADVISORY","url":"https://linux.oracle.com/cve/ELSA-2026-19159.html"},{"type":"ADVISORY","url":"https://linux.oracle.com/errata/ELSA-2026-19159.html"},{"type":"ADVISORY","url":"https://linux.oracle.com/cve/ELSA-2026-19371.html"},{"type":"ADVISORY","url":"https://linux.oracle.com/errata/ELSA-2026-19371.html"},{"type":"ADVISORY","url":"https://linux.oracle.com/cve/ELSA-2026-19372.html"},{"type":"ADVISORY","url":"https://linux.oracle.com/errata/ELSA-2026-19372.html"},{"type":"ADVISORY","url":"https://linux.oracle.com/cve/ELSA-2026-19374.html"},{"type":"ADVISORY","url":"https://linux.oracle.com/errata/ELSA-2026-19374.html"},{"type":"ADVISORY","url":"https://errata.rockylinux.org/RLSA-2026:18029"},{"type":"ADVISORY","url":"https://errata.rockylinux.org/RLSA-2026:18041"},{"type":"ADVISORY","url":"https://errata.rockylinux.org/RLSA-2026:18063"},{"type":"ADVISORY","url":"https://errata.rockylinux.org/RLSA-2026:19159"},{"type":"ADVISORY","url":"https://errata.rockylinux.org/RLSA-2026:19371"},{"type":"ADVISORY","url":"https://errata.rockylinux.org/RLSA-2026:19372"},{"type":"ADVISORY","url":"https://errata.rockylinux.org/RLSA-2026:19374"},{"type":"ADVISORY","url":"https://ubuntu.com/security/CVE-2026-42945"},{"type":"ADVISORY","url":"http://people.ubuntu.com/~ubuntu-security/cve/CVE-2026-42945"}],"affected":[{"package":{"name":"nginx-mainline","ecosystem":"Docker Hardened Images:Alpine:3.23","purl":"pkg:apk/dhi/nginx-mainline"},"versions":["1.28.2-r0","1.29.4-r0","1.29.5-r0","1.29.5-r1","1.29.6-r1","1.29.7-r0","1.29.7-r1","1.29.8-r0","1.29.8-r1","1.29.8-r2","1.29.8-r3","1.29.8-r4","1.29.8-r5","1.29.8-r6","1.29.8-r7"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-jsmk-7iix-wf7m-f4nh.json"}},{"package":{"name":"nginx-mainline","ecosystem":"Docker Hardened Images:Alpine:3.24","purl":"pkg:apk/dhi/nginx-mainline"},"versions":["1.29.8-r0","1.29.8-r1","1.31.2-r0","1.31.2-r1","1.31.2-r2","1.31.3-r2","1.31.3-r3","1.31.4-r4","1.31.5-r4","1.31.6-r4","1.31.7-r4","1.31.8-r4","1.31.8-r5","1.31.9-r5"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-jsmk-7iix-wf7m-f4nh.json"}},{"package":{"name":"nginx-stable","ecosystem":"Docker Hardened Images:Alpine:3.23","purl":"pkg:apk/dhi/nginx-stable"},"versions":["1.28.1-r0","1.28.2-r0","1.28.2-r1","1.28.3-r0","1.28.3-r1","1.28.3-r2","1.28.3-r3","1.28.3-r4","1.28.3-r5","1.28.3-r6","1.28.3-r7","1.28.3-r9"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-jsmk-7iix-wf7m-f4nh.json"}},{"package":{"name":"nginx-stable","ecosystem":"Docker Hardened Images:Alpine:3.24","purl":"pkg:apk/dhi/nginx-stable"},"versions":["1.28.3-r0","1.28.3-r1","1.30.3-r1","1.30.3-r2","1.30.3-r3","1.30.4-r2","1.30.4-r5","1.30.4-r6","1.30.5-r4","1.30.6-r4","1.30.6-r5","1.30.7-r5"],"database_specific":{"source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-jsmk-7iix-wf7m-f4nh.json","owner_kind":"HSP"}},{"package":{"name":"nginx","ecosystem":"Docker Hardened Images:Alpine:3.23","purl":"pkg:apk/dhi/nginx"},"versions":["1.28.0-r8","1.28.1-r0","1.28.2-r0","1.28.2-r1","1.28.3-r0","1.28.3-r1","1.28.3-r2","1.28.3-r3","1.28.3-r4","1.28.3-r5","1.28.3-r6","1.28.3-r7","1.28.3-r9","1.29.4-r0","1.29.5-r0","1.29.5-r1","1.29.6-r1","1.29.7-r0","1.29.7-r1","1.29.8-r0","1.29.8-r1","1.29.8-r2","1.29.8-r3","1.29.8-r4","1.29.8-r5","1.29.8-r6","1.29.8-r7"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-jsmk-7iix-wf7m-f4nh.json"}},{"package":{"name":"nginx","ecosystem":"Docker Hardened Images:Alpine:3.24","purl":"pkg:apk/dhi/nginx"},"versions":["1.28.3-r0","1.28.3-r1","1.29.8-r0","1.29.8-r1","1.30.3-r1","1.30.3-r2","1.30.4-r2","1.30.4-r5","1.30.4-r6","1.30.5-r4","1.31.2-r0","1.31.2-r1","1.31.3-r2","1.31.3-r3","1.31.4-r4","1.31.5-r4","1.31.6-r4"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-jsmk-7iix-wf7m-f4nh.json"}},{"package":{"name":"nginx","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/nginx"},"versions":["1.26.3-3+deb13u10+dhi0","1.26.3-3+deb13u2dhi0","1.26.3-3+deb13u5+dhi0","1.26.3-3+deb13u5+dhi1","1.26.3-3+deb13u5+dhi2","1.26.3-3+deb13u6","1.26.3-3+deb13u7+dhi0","1.26.3-3+deb13u7+dhi1","1.26.3-3+deb13u7+dhi2","1.26.3-3+deb13u9+dhi0","1.26.3-3+deb13u9+dhi1"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-jsmk-7iix-wf7m-f4nh.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"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/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"}]}