Vulnerability · Published May 22, 2026 · Assigned by f5

CVE-2026-9256NGINX ngx_http_rewrite_module vulnerability

High 8.1

In plain English

A high-severity heap buffer overflow in NGINX Open Source from F5. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 10.9% (higher than 96% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)8.1High
Exploit odds (30 days)10.9%top 4.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack tooling1Public PoC

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:10nginx2:1.26.3-6.el10_2.4ALSA-2026:29874
AlmaLinux:8nginx1:1.24.0-3.module_el8.10.0+4200+fea3b4c7.2.alma.1ALSA-2026:28921
AlmaLinux:9nginx2:1.20.1-28.el9_8.3.alma.1ALSA-2026:28973
AlmaLinux:9nginx2:1.26.3-9.module_el9.8.0+260+95b8e5ed.1ALSA-2026:29151
AlmaLinux:9nginx1:1.24.0-7.module_el9.8.0+259+a3b861bb.2.alma.1ALSA-2026:28212
AlmaLinux:10nginx-all-modules2:1.26.3-6.el10_2.4ALSA-2026:29874
AlmaLinux:8nginx-all-modules1:1.24.0-3.module_el8.10.0+4200+fea3b4c7.2.alma.1ALSA-2026:28921
AlmaLinux:9nginx-all-modules1:1.24.0-7.module_el9.8.0+259+a3b861bb.2.alma.1ALSA-2026:28212
AlmaLinux:9nginx-all-modules2:1.26.3-9.module_el9.8.0+260+95b8e5ed.1ALSA-2026:29151
AlmaLinux:9nginx-all-modules2:1.20.1-28.el9_8.3.alma.1ALSA-2026:28973
AlmaLinux:10nginx-core2:1.26.3-6.el10_2.4ALSA-2026:29874
AlmaLinux:9nginx-core1:1.24.0-7.module_el9.8.0+259+a3b861bb.2.alma.1ALSA-2026:28212
AlmaLinux:9nginx-core2:1.20.1-28.el9_8.3.alma.1ALSA-2026:28973
AlmaLinux:9nginx-core2:1.26.3-9.module_el9.8.0+260+95b8e5ed.1ALSA-2026:29151
AlmaLinux:10nginx-filesystem2:1.26.3-6.el10_2.4ALSA-2026:29874
AlmaLinux:8nginx-filesystem1:1.24.0-3.module_el8.10.0+4200+fea3b4c7.2.alma.1ALSA-2026:28921
AlmaLinux:9nginx-filesystem1:1.24.0-7.module_el9.8.0+259+a3b861bb.2.alma.1ALSA-2026:28212
AlmaLinux:9nginx-filesystem2:1.26.3-9.module_el9.8.0+260+95b8e5ed.1ALSA-2026:29151
AlmaLinux:9nginx-filesystem2:1.20.1-28.el9_8.3.alma.1ALSA-2026:28973
AlmaLinux:10nginx-mod-devel2:1.26.3-6.el10_2.4ALSA-2026:29874
AlmaLinux:8nginx-mod-devel1:1.24.0-3.module_el8.10.0+4200+fea3b4c7.2.alma.1ALSA-2026:28921
AlmaLinux:9nginx-mod-devel1:1.24.0-7.module_el9.8.0+259+a3b861bb.2.alma.1ALSA-2026:28212
AlmaLinux:9nginx-mod-devel2:1.26.3-9.module_el9.8.0+260+95b8e5ed.1ALSA-2026:29151
AlmaLinux:9nginx-mod-devel2:1.20.1-28.el9_8.3.alma.1ALSA-2026:28973
AlmaLinux:10nginx-mod-http-image-filter2:1.26.3-6.el10_2.4ALSA-2026:29874
AlmaLinux:8nginx-mod-http-image-filter1:1.24.0-3.module_el8.10.0+4200+fea3b4c7.2.alma.1ALSA-2026:28921
AlmaLinux:9nginx-mod-http-image-filter2:1.26.3-9.module_el9.8.0+260+95b8e5ed.1ALSA-2026:29151
AlmaLinux:9nginx-mod-http-image-filter1:1.24.0-7.module_el9.8.0+259+a3b861bb.2.alma.1ALSA-2026:28212
AlmaLinux:9nginx-mod-http-image-filter2:1.20.1-28.el9_8.3.alma.1ALSA-2026:28973
AlmaLinux:10nginx-mod-http-perl2:1.26.3-6.el10_2.4ALSA-2026:29874
AlmaLinux:8nginx-mod-http-perl1:1.24.0-3.module_el8.10.0+4200+fea3b4c7.2.alma.1ALSA-2026:28921
AlmaLinux:9nginx-mod-http-perl2:1.20.1-28.el9_8.3.alma.1ALSA-2026:28973
AlmaLinux:9nginx-mod-http-perl1:1.24.0-7.module_el9.8.0+259+a3b861bb.2.alma.1ALSA-2026:28212
AlmaLinux:9nginx-mod-http-perl2:1.26.3-9.module_el9.8.0+260+95b8e5ed.1ALSA-2026:29151
AlmaLinux:10nginx-mod-http-xslt-filter2:1.26.3-6.el10_2.4ALSA-2026:29874
AlmaLinux:8nginx-mod-http-xslt-filter1:1.24.0-3.module_el8.10.0+4200+fea3b4c7.2.alma.1ALSA-2026:28921
AlmaLinux:9nginx-mod-http-xslt-filter2:1.20.1-28.el9_8.3.alma.1ALSA-2026:28973
AlmaLinux:9nginx-mod-http-xslt-filter1:1.24.0-7.module_el9.8.0+259+a3b861bb.2.alma.1ALSA-2026:28212
AlmaLinux:9nginx-mod-http-xslt-filter2:1.26.3-9.module_el9.8.0+260+95b8e5ed.1ALSA-2026:29151
AlmaLinux:10nginx-mod-mail2:1.26.3-6.el10_2.4ALSA-2026:29874
AlmaLinux:8nginx-mod-mail1:1.24.0-3.module_el8.10.0+4200+fea3b4c7.2.alma.1ALSA-2026:28921
AlmaLinux:9nginx-mod-mail2:1.20.1-28.el9_8.3.alma.1ALSA-2026:28973
AlmaLinux:9nginx-mod-mail2:1.26.3-9.module_el9.8.0+260+95b8e5ed.1ALSA-2026:29151
AlmaLinux:9nginx-mod-mail1:1.24.0-7.module_el9.8.0+259+a3b861bb.2.alma.1ALSA-2026:28212
AlmaLinux:10nginx-mod-stream2:1.26.3-6.el10_2.4ALSA-2026:29874
AlmaLinux:8nginx-mod-stream1:1.24.0-3.module_el8.10.0+4200+fea3b4c7.2.alma.1ALSA-2026:28921
AlmaLinux:9nginx-mod-stream1:1.24.0-7.module_el9.8.0+259+a3b861bb.2.alma.1ALSA-2026:28212
AlmaLinux:9nginx-mod-stream2:1.20.1-28.el9_8.3.alma.1ALSA-2026:28973
AlmaLinux:9nginx-mod-stream2:1.26.3-9.module_el9.8.0+260+95b8e5ed.1ALSA-2026:29151
Alpine:v3.21nginx1.26.3-r1ALPINE-CVE-2026-9256
Alpine:v3.22nginx1.28.3-r2ALPINE-CVE-2026-9256
Alpine:v3.23nginx1.28.3-r2ALPINE-CVE-2026-9256
Alpine:v3.24nginx1.30.2-r0ALPINE-CVE-2026-9256
Debian:12nginx1.22.1-9+deb12u8DEBIAN-CVE-2026-9256
Debian:13nginx1.26.3-3+deb13u6DEBIAN-CVE-2026-9256
Debian:14nginx1.30.1-3DEBIAN-CVE-2026-9256
Rocky Linux:10nginx2:1.26.3-6.el10_2.4RLSA-2026:29874
Rocky Linux:8nginx1:1.24.0-3.module+el8.10.0+40187+52bedf24.1RLSA-2026:28921
Rocky Linux:8nginx1:1.24.0-3.module+el8.10.0+40144+38158758RLSA-2026:28921
Rocky Linux:9nginx1:1.24.0-7.module+el9.8.0+40193+7b2d11e4.1.rocky.0.1RLSA-2026:28212
Rocky Linux:9nginx2:1.26.3-9.module+el9.8.0+40194+40adfc1bRLSA-2026:29151
Ubuntu:22.04:LTSnginx1.18.0-6ubuntu14.12UBUNTU-CVE-2026-9256
Ubuntu:24.04:LTSnginx1.24.0-2ubuntu7.9UBUNTU-CVE-2026-9256
Ubuntu:25.10nginx1.28.0-6ubuntu1.4UBUNTU-CVE-2026-9256
Ubuntu:26.04:LTSnginx1.28.3-2ubuntu1.2UBUNTU-CVE-2026-9256

Affected products (as reported)

VendorProductVersions
F5 NGINX Plus 37.0 – before 37.0.1.1R36 – before R36 P5R32 – before R32 P7
F5 NGINX Open Source 1.31.0 – before 1.31.11.30.0 – before 1.30.20.1.17 – through 0.9.7

Weakness: CWE-122 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

References