Breaking News: Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2026-9256

nginx: ngx_http_rewrite_module: code execution and denial of service

Overview

Published
22 May 2026
Modified
25 Aug 2026
Critical CVE
2 Registry packages
24 OS packages
18 Linux distributions
Yes Fix available

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.

Source: OX vulnerability database

Severity

8.1 · CRITICAL

CVSS 3.1 base score, scored by NVD.

Attack vector
Network
Attack complexity
High
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

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

Weakness: CWE-122

Affected packages · 2

Packages affected by CVE-2026-9256
EcosystemPackageVulnerableFixed in
Bitnami nginx >=0.1.17, <1.24.0>=1.30.0, <1.30.2>=1.31.0, <1.31.1 1.24.01.30.21.31.1
Bitnami nginx-gateway >=0.1.17, <2.2.1 2.2.1

Open a package to see all its vulnerabilities.

Operating systems · 52 fixes

Azure Linux 1 release · 1 package

fixed 1
nginx
Azure Linux fixes for CVE-2026-9256
ReleasePackageFixed in
3.0 nginx 0:1.28.3-4.azl3

Oracle Linux 2 releases · 1 package

fixed 2
nginx
Oracle Linux fixes for CVE-2026-9256
ReleasePackageFixed in
8 nginx +8 1:1.24.0-3.0.1.module+el8.10.0+90930+6a64aa8a.2
9 nginx +9 2:1.26.3-9.0.1.module+el9.8.0+90931+68e8e4c5.1

Photon OS 1 release · 1 package

fixed 1
nginx
Photon OS fixes for CVE-2026-9256
ReleasePackageFixed in
4.0 nginx 1.26.3-3.ph4

Red Hat 4 releases · 1 package

fixed 7
nginx
Red Hat fixes for CVE-2026-9256
ReleasePackageFixed inAdvisory
8 (nginx:1.24) nginx +8 1:1.24.0-3.module+el8.10.0+24380+8b0811ed.2 RHSA-2026:28921
9 nginx +8 1:1.20.1-14.el9_2.7 RHSA-2026:93472
9 nginx +8 1:1.20.1-16.el9_4.7 RHSA-2026:93468
9 nginx +9 2:1.20.1-22.el9_6.7 RHSA-2026:93467
9 nginx +9 2:1.20.1-28.el9_8.3 RHSA-2026:28973
9 (nginx:1.24) nginx +9 1:1.24.0-7.module+el9.8.0+24379+0344c460.2 RHSA-2026:28212

1 more row

SUSE Linux Enterprise 5 releases · 1 package

fixed 5
nginx
SUSE Linux Enterprise fixes for CVE-2026-9256
ReleasePackageFixed inAdvisory
15.4 nginx +1 1.21.5-150400.3.20.1 SUSE-SU-2026:2370-1
15.5 nginx +1 1.21.5-150400.3.20.1 SUSE-SU-2026:2370-1
15.6 nginx +1 1.21.5-150600.10.21.1 SUSE-SU-2026:2307-1
15.7 nginx +1 1.21.5-150600.10.21.1 SUSE-SU-2026:2307-1
16.0 nginx +1 1.27.2-160000.5.1 SUSE-SU-2026:22178-1

alma 5 releases · 2 packages

fixed 5
nginx-all-modules nginx
alma fixes for CVE-2026-9256
ReleasePackageFixed in
10 nginx-all-modules +1 2:1.26.3-6.el10_2.4
8 (nginx:1.24) nginx +8 1:1.24.0-3.module_el8.10.0+4200+fea3b4c7.2.alma.1
9 nginx +9 2:1.20.1-28.el9_8.3.alma.1
9 (nginx:1.24) nginx +9 1:1.24.0-7.module_el9.8.0+259+a3b861bb.2.alma.1
9 (nginx:1.26) nginx +9 2:1.26.3-9.module_el9.8.0+260+95b8e5ed.1

alpine 4 releases · 1 package

fixed 4
nginx
alpine fixes for CVE-2026-9256
ReleasePackageFixed in
3.22 nginx 1.28.3-r2
3.23 nginx 1.28.3-r2
3.24 nginx 1.30.2-r0
edge nginx 1.30.2-r0

amazon linux 1 release · 1 package

fixed 1
nginx
amazon linux fixes for CVE-2026-9256
ReleasePackageFixed in
2023 nginx +17 1:1.30.2-1.amzn2023.0.1

chainguard 1 release · 2 packages

fixed 2
nginx-stable nginx-mainline
chainguard fixes for CVE-2026-9256
ReleasePackageFixed in
nginx-stable 1.30.2-r0
nginx-mainline 1.31.1-r0

debian 4 releases · 1 package

fixed 4
nginx
debian fixes for CVE-2026-9256
ReleasePackageFixed in
11 nginx 1.18.0-6.1+deb11u7
12 nginx 1.22.1-9+deb12u8
13 nginx 1.26.3-3+deb13u6
14 nginx 1.30.1-3

echo 1 release · 1 package

fixed 1
nginx
echo fixes for CVE-2026-9256
ReleasePackageFixed in
nginx 1.22.1-9+deb12u8

minimos 1 release · 2 packages

fixed 2
nginx-1-30 nginx-1-31
minimos fixes for CVE-2026-9256
ReleasePackageFixed in
nginx-1-30 1.30.2-r0
nginx-1-31 1.31.1-r0

openSUSE 1 release · 1 package

fixed 1
nginx
openSUSE fixes for CVE-2026-9256
ReleasePackageFixed inAdvisory
Tumbleweed nginx +1 1.31.1-1.1 openSUSE-SU-2026:10852-1

openSUSE Leap 1 release · 1 package

fixed 1
nginx
openSUSE Leap fixes for CVE-2026-9256
ReleasePackageFixed inAdvisory
16.0 nginx +1 1.27.2-160000.5.1 openSUSE-SU-2026:21107-1

rocky 4 releases · 1 package

fixed 7
nginx
rocky fixes for CVE-2026-9256
ReleasePackageFixed in
10 nginx +8 2:1.26.3-6.el10_2.4
8 (nginx:1.24) nginx +8 1:1.24.0-3.module+el8.10.0+40144+38158758
8 (nginx:1.24) nginx +8 1:1.24.0-3.module+el8.10.0+40187+52bedf24.1
8 (nginx:1.24) nginx +8 1:1.24.0-3.module+el8.10.0+40220+e6a4bcb0.2
9 (nginx:1.24) nginx +9 1:1.24.0-7.module+el9.8.0+40193+7b2d11e4.1.rocky.0.1
9 (nginx:1.24) nginx +9 1:1.24.0-7.module+el9.8.0+40218+76099d32.2.rocky.0.1

1 more row

root.io debian 1 release · 1 package

affected 1
rootio-nginx
root.io debian fixes for CVE-2026-9256
ReleasePackageFixed in
12 rootio-nginx affected

ubuntu 5 releases · 1 package

fixed 5
nginx
ubuntu fixes for CVE-2026-9256
ReleasePackageFixed in
18.04-ESM nginx 1.14.0-0ubuntu1.11+esm2
20.04-ESM nginx 1.18.0-0ubuntu1.7+esm1
22.04 nginx 1.18.0-6ubuntu14.12
24.04 nginx 1.24.0-2ubuntu7.9
26.04 nginx 1.28.3-2ubuntu1.2

wolfi 1 release · 2 packages

fixed 2
nginx-stable nginx-mainline
wolfi fixes for CVE-2026-9256
ReleasePackageFixed in
nginx-stable 1.30.2-r0
nginx-mainline 1.31.1-r0

References

Show all 26 references

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.