CVE-2026-9256
Description
NGINX Plus and NGINX Open Source have a vulnerability in the ngx_http_rewrite_module module. This vulnerability exists when a rewrite directive uses a regex pattern with distinct, overlapping Perl-Compatible Regular Expression (PCRE) captures (for example, ^/((.*))$) and a replacement string that references multiple such captures (for example, $1$2) in a redirect or arguments context. An unauthenticated attacker along with conditions beyond their 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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
40- cpe:2.3:a:redhat:hardened_images:-:*:*:*:*:*:*:*
- cpe:2.3:a:redhat:update_infrastructure:*:*:*:*:*:*:*:*Range: >=5.0,<5.2
cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*+ 2 more
- cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*
- cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*
- cpe:2.3:o:redhat:enterprise_linux:10.0:*:*:*:*:*:*:*
- osv-coords31 versionspkg:rpm/suse/nginx&distro=SUSE%20Linux%20Enterprise%20Server%2016.0pkg:rpm/suse/nginx&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20applications%2016.0pkg:apk/chainguard/nginx-mainlinepkg:apk/chainguard/nginx-stablepkg:apk/wolfi/nginx-mainlinepkg:apk/wolfi/nginx-stablepkg:bitnami/nginxpkg:bitnami/nginx-gatewaypkg:rpm/suse/nginx&distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP6-LTSSpkg:rpm/suse/nginx&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP6pkg:rpm/suse/nginx&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Server%20Applications%2015%20SP7pkg:rpm/suse/nginx&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP4-ESPOSpkg:rpm/suse/nginx&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP4-LTSSpkg:rpm/suse/nginx&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP5-ESPOSpkg:rpm/suse/nginx&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP5-LTSSpkg:rpm/suse/nginx&distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP4-LTSSpkg:rpm/suse/nginx&distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP5-LTSSpkg:rpm/suse/nginx&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP4pkg:rpm/suse/nginx&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP5pkg:rpm/opensuse/nginx&distro=openSUSE%20Tumbleweedpkg:rpm/almalinux/nginx-mod-http-image-filterpkg:rpm/almalinux/nginx-mod-http-xslt-filterpkg:rpm/almalinux/nginx-mod-mailpkg:rpm/almalinux/nginxpkg:rpm/almalinux/nginx-all-modulespkg:rpm/almalinux/nginx-corepkg:rpm/almalinux/nginx-filesystempkg:rpm/almalinux/nginx-mod-develpkg:rpm/almalinux/nginx-mod-http-perlpkg:rpm/almalinux/nginx-mod-streampkg:rpm/opensuse/nginx&distro=openSUSE%20Leap%2016.0
< 1.27.2-160000.5.1+ 30 more
- (no CPE)range: < 1.27.2-160000.5.1
- (no CPE)range: < 1.27.2-160000.5.1
- (no CPE)range: < 1.31.1-r0
- (no CPE)range: < 1.30.2-r0
- (no CPE)range: < 1.31.1-r0
- (no CPE)range: < 1.30.2-r0
- (no CPE)range: >= 0.1.17, < 1.24.0
- (no CPE)range: >= 0.1.17, < 2.2.1
- (no CPE)range: < 1.21.5-150600.10.21.1
- (no CPE)range: < 1.21.5-150600.10.21.1
- (no CPE)range: < 1.21.5-150600.10.21.1
- (no CPE)range: < 1.21.5-150400.3.20.1
- (no CPE)range: < 1.21.5-150400.3.20.1
- (no CPE)range: < 1.21.5-150400.3.20.1
- (no CPE)range: < 1.21.5-150400.3.20.1
- (no CPE)range: < 1.21.5-150400.3.20.1
- (no CPE)range: < 1.21.5-150400.3.20.1
- (no CPE)range: < 1.21.5-150400.3.20.1
- (no CPE)range: < 1.21.5-150400.3.20.1
- (no CPE)range: < 1.31.1-1.1
- (no CPE)range: < 1:1.24.0-7.module_el9.8.0+259+a3b861bb.2.alma.1
- (no CPE)range: < 1:1.24.0-7.module_el9.8.0+259+a3b861bb.2.alma.1
- (no CPE)range: < 1:1.24.0-7.module_el9.8.0+259+a3b861bb.2.alma.1
- (no CPE)range: < 1:1.24.0-7.module_el9.8.0+259+a3b861bb.2.alma.1
- (no CPE)range: < 1:1.24.0-7.module_el9.8.0+259+a3b861bb.2.alma.1
- (no CPE)range: < 1:1.24.0-7.module_el9.8.0+259+a3b861bb.2.alma.1
- (no CPE)range: < 1:1.24.0-7.module_el9.8.0+259+a3b861bb.2.alma.1
- (no CPE)range: < 1:1.24.0-7.module_el9.8.0+259+a3b861bb.2.alma.1
- (no CPE)range: < 1:1.24.0-7.module_el9.8.0+259+a3b861bb.2.alma.1
- (no CPE)range: < 1:1.24.0-7.module_el9.8.0+259+a3b861bb.2.alma.1
- (no CPE)range: < 1.27.2-160000.5.1
Patches
Vulnerability mechanics
References
14- access.redhat.com/errata/RHSA-2026:20351nvdThird Party Advisory
- access.redhat.com/errata/RHSA-2026:28212nvdThird Party Advisory
- access.redhat.com/errata/RHSA-2026:28921nvdThird Party Advisory
- access.redhat.com/errata/RHSA-2026:28973nvdThird Party Advisory
- access.redhat.com/errata/RHSA-2026:29151nvdThird Party Advisory
- access.redhat.com/errata/RHSA-2026:29874nvdThird Party Advisory
- access.redhat.com/errata/RHSA-2026:33313nvdThird Party Advisory
- access.redhat.com/errata/RHSA-2026:44481nvdThird Party Advisory
- access.redhat.com/security/cve/CVE-2026-9256nvdThird Party Advisory
- bugzilla.redhat.com/show_bug.cginvdIssue TrackingThird Party Advisory
- lists.debian.org/debian-lts-announce/2026/06/msg00023.htmlnvdMailing ListThird Party Advisory
- my.f5.com/manage/s/article/K000161377nvdMitigationVendor Advisory
- security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-9256.jsonnvdThird Party Advisory
- www.openwall.com/lists/oss-security/2026/05/22/14nvdMailing List
News mentions
4- 15-Year-Old NGINX Vulnerability Lets Attackers Crash Workers and Achieve Remote Code ExecutionCyber Security News · Jul 20, 2026
- Critical NGINX Vulnerability Can Crash Workers and May Allow Remote Code ExecutionThe Hacker News · Jul 19, 2026
- ⚡ Weekly Recap: Linux Flaws, Defender 0-Days, Router Botnets, and Supply Chain ChaosThe Hacker News · May 25, 2026
- Nginx-poolslip Vulnerability Enables DoS and Code Execution Attacks — Patch Now!Cyber Security News · May 23, 2026