CVE-2026-9256
NGINX ngx_http_rewrite_module vulnerability
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.
Severity (CVSS)
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- high: an attack depends on conditions outside the control of the attacker, such as a race
- Attack requirements
- present: an attack works only when the target is in a certain state or configuration
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Impact on the vulnerable system
- confidentiality high, integrity high, availability high: what an attacker can read, change or stop in the vulnerable component
- Impact on other systems
- confidentiality none, integrity none, availability none: what an attacker can read, change or stop beyond it
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- high: an attack depends on conditions outside the control of the attacker, such as a race
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- high: an attack depends on conditions outside the control of the attacker, such as a race
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 8.28%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 95.6% of all scored CVEs. Scores of 28 Nov 2026.
The assessment of CISA (SSVC, 22 May 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- total: full control of the component or of its data
Weakness
- CWE-122 Heap-based Buffer Overflow
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| NGINX Plus |
affected from 37.0, before 37.0.1.1 affected from R36, before R36 P5 affected from R32, before R32 P7
Other versions: unknown
|
| NGINX Open Source |
affected from 1.31.0, before 1.31.1 affected from 1.30.0, before 1.30.2 affected from 0.1.17 up to and including 0.9.7
Other versions: unaffected
|
Is my server affected?
This CVE is in NGINX Plus of F5, which Linux distributions and language package managers do not ship. The advisory of the vendor is in the references below.
Vulnpocalypse matches the package lists of Linux servers and containers against the Trivy vulnerability database, which does not list this product.
References
Advisories
- https://my.f5.com/manage/s/article/K000161377 my.f5.com · vendor advisory
- https://access.redhat.com/security/cve/CVE-2026-9256 access.redhat.com · vdb entry
- RHBZ#2480746 bugzilla.redhat.com · issue tracking
- https://access.redhat.com/errata/RHSA-2026:29874 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:28921 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:28212 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:28973 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:29151 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:33313 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:20351 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:44481 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:58981 access.redhat.com · vendor advisory
Other references
- http://www.openwall.com/lists/oss-security/2026/05/22/14 openwall.com
- https://lists.debian.org/debian-lts-announce/2026/06/msg00023.html lists.debian.org
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-9256.json security.access.redhat.com
Source: the record CVE-2026-9256 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse